Hailo EVB User manual

Confidential and proprietary –unauthorized reproduction prohibited
Hailo™ Evaluation board
Getting started guide
Rev 1.0
Jan-2021

Hailo EVB™ | Getting started guide | User’s guide
Page 2 Rev. 1.0 Confidential and Proprietary | Copyright © 2021 –Hailo Technologies Ltd.

Hailo EVB™ | Getting started guide | User’s guide
Page 3 Rev. 1.0 Confidential and Proprietary | Copyright © 2021 –Hailo Technologies Ltd.
Disclaimer and proprietary information notice:
Copyright
© 2020 Hailo Technologies Ltd (“Hailo”). All Rights Reserved.
No part of this document may be reproduced or transmitted in any form without the expressed,
written permission of Hailo. Nothing contained in this document should be construed as granting
any license or right to use proprietary information for that matter, without the written permission of
Hailo.
This version of the document supersedes all previous versions.
General Notice
Hailo, to the fullest extent permitted by law, provides this document “as-is” and disclaims all
warranties, either express or implied, statutory or otherwise, including but not limited to the implied
warranties of merchantability, non-infringement of third parties’ rights, and fitness for particular
purpose.
Although Hailo used reasonable efforts to ensure the accuracy of the content of this document, it is
possible that this document may contain technical inaccuracies or other errors. Hailo assumes no
liability for any error in this document, and for damages, whether direct, indirect, incidental,
consequential or otherwise, that may result from such error, including, but not limited to loss of data
or profits.
The content in this document is subject to change without prior notice and Hailo reserves the right
to make changes to content of this document without providing a notification to its users.

Hailo EVB™ | Getting started guide | User’s guide
Page 4 Rev. 1.0 Confidential and Proprietary | Copyright © 2021 –Hailo Technologies Ltd.
Documentation Control
History Table
Version
Date
Description
1.0
Dec-2020
Initial version

Hailo EVB™ | Getting started guide | User’s guide
Page 5 Rev. 1.0 Confidential and Proprietary | Copyright © 2021 –Hailo Technologies Ltd.
Table of Contents
1. Introduction.....................................................................................................................................6
2. Mechanical properties.....................................................................................................................7
3. Board high level description ............................................................................................................8
3.1. SW1..........................................................................................................................................9
3.2. SW3..........................................................................................................................................9
3.3. GPIO header (J1) ......................................................................................................................9
3.4. UART connector (J3, J14) .......................................................................................................10
3.5. UART connector (J3, J14) .......................................................................................................10
3.6. Reset switch (J15) ..................................................................................................................10
3.7. USB Power connector (J22) ...................................................................................................10
3.8. SDIO headers (J24, J35)..........................................................................................................11
3.9. CSI-RX (MIPI) connectors (P1, P2, P3, P4)..............................................................................11
3.10. PCIE connector (P5) ...........................................................................................................12
4. Power measurement details..........................................................................................................13
4.1. EVB Top View.........................................................................................................................13
4.2. EVB Bottom View...................................................................................................................14
5. Thermal considerations - before you connect the module...........................................................15
6. Requirements.................................................................................................................................16
6.1. Full SDK installation requirements ........................................................................................16
6.2. Lean SDK installation requirements (inference only)............................................................16
7. Driver installation PCIE ..................................................................................................................17
8. Connecting the device ...................................................................................................................17
8.1. Dip switch configuration........................................................................................................17
8.2. PCIE connection.....................................................................................................................18
8.3. Ethernet connection..............................................................................................................19
9. Running inference..........................................................................................................................20
10. Next steps ..................................................................................................................................21

Hailo EVB™ | Getting started guide | User’s guide
Page 6 Rev. 1.0 Confidential and Proprietary | Copyright © 2021 –Hailo Technologies Ltd.
1. Introduction
This document will help you get started with your new Hailo Evaluation board.
It will guide you both on HW aspects such as thermal consideration through SW
aspects such as driver installation all the way to running inference using the
Evaluation board.

Hailo EVB™ | Getting started guide | User’s guide
Page 7 Rev. 1.0 Confidential and Proprietary | Copyright © 2021 –Hailo Technologies Ltd.
2. Mechanical properties
The module form factor is 167.6mm * 111.15mm.
Interfaces supported on the board:
•Ethernet –RJ45
•PCIE –Gen 3, 4-lanes
•CSI2-RX

Hailo EVB™ | Getting started guide | User’s guide
Page 8 Rev. 1.0 Confidential and Proprietary | Copyright © 2021 –Hailo Technologies Ltd.
3. Board high level description
SW1
FTDI Switch
J38
Ethernet RJ45 connector
SW2
Reset button
P1, P2,
P3, P4
CSI-RX (MIPI) connectors
SW3
Boot configuration
P5
PCIE connector
U56
Hailo8 chip
J1
GPIO header
J6
Flash programming header
J13, J14
UART connector
J15
Power Jack
J22
USB Power connector
J23
FTDI debug connector
J24, J35
SDIO headers

Hailo EVB™ | Getting started guide | User’s guide
Page 9 Rev. 1.0 Confidential and Proprietary | Copyright © 2021 –Hailo Technologies Ltd.
3.1. SW1
3.2. SW3
3.3. GPIO header (J1)

Hailo EVB™ | Getting started guide | User’s guide
Page 10 Rev. 1.0 Confidential and Proprietary | Copyright © 2021 –Hailo Technologies Ltd.
3.4. UART connector (J3, J14)
3.5. UART connector (J3, J14)
3.6. Reset switch (J15)
3.7. USB Power connector (J22)

Hailo EVB™ | Getting started guide | User’s guide
Page 11 Rev. 1.0 Confidential and Proprietary | Copyright © 2021 –Hailo Technologies Ltd.
3.8. SDIO headers (J24, J35)
3.9. CSI-RX (MIPI) connectors (P1, P2, P3, P4)

Hailo EVB™ | Getting started guide | User’s guide
Page 12 Rev. 1.0 Confidential and Proprietary | Copyright © 2021 –Hailo Technologies Ltd.
3.10. PCIE connector (P5)

Hailo EVB™ | Getting started guide | User’s guide
Page 13 Rev. 1.0 Confidential and Proprietary | Copyright © 2021 –Hailo Technologies Ltd.
4. Power measurement details
4.1. EVB Top View
1
MIPI_AVDD_H + VDDANA
J26
100mohm
2
VDDIO
J28
100mohm
3
PCIE_AVDD_H
J32
100mohm
4
MIPI_AVDD + PCIE_AVDD_D + PCIE_AVDD_C
J33
100mohm
5
PCIE_AVDD_D
TP103 , TP108
100mohm
6
PCIE_AVDD_C
TP114 , TP116
100mohm
7
VDD (VDD_CORE + VDD_TOP)
J37
1mohm
8
VDD_CORE Disable
J38
9
RX0_AVDD
TP102 , TP111
100mohm

Hailo EVB™ | Getting started guide | User’s guide
Page 14 Rev. 1.0 Confidential and Proprietary | Copyright © 2021 –Hailo Technologies Ltd.
4.2. EVB Bottom View
10
VDD_CORE
TP158 , TP161
1mohm
11
VDD_TOP
TP159 , TP160
1mohm
12
TX0_AVDD_CLK
TP152 , TP155
100mohm
13
TX0_AVDD
TP150 , TP154
100mohm
14
TX0_AVDDH
TP151 , TP153
100mohm
15
RX0_AVDDH
TP156 , TP157
100mohm

Hailo EVB™ | Getting started guide | User’s guide
Page 15 Rev. 1.0 Confidential and Proprietary | Copyright © 2021 –Hailo Technologies Ltd.
5. Thermal considerations - before
you connect the module
The Hailo Evaluation board is tested and validated for commercial temperature
grade (0℃−70℃).
The common cases of using it will be in a fan-cooled environment such as a PC
or connected via an Ethernet cable.

Hailo EVB™ | Getting started guide | User’s guide
Page 16 Rev. 1.0 Confidential and Proprietary | Copyright © 2021 –Hailo Technologies Ltd.
6. Requirements
You can choose between the Full SDK installation if you’d like to compile your
models and run inference on the Hailo M.2 accelerator or use the leaner
installation which can only run inference on your M.2 accelerator
6.1. Full SDK installation requirements
•Ubuntu 18.04, 64 bit
•16+ GB RAM (32+ GB recommended)
•PCIe interface
•Python 3.5 or 3.6, including pip and virtualenv
•python3.5-dev or python3.6-dev package, according to the used Python version
•python3-tk , graphviz , libgraphviz-dev and python3-numpy packages
•build-essential package (optional, needed to compile the PCIe driver)
•cmake (optional, needed to compile the HailoRT example)
•USB web camera (optional, used by several demos)
6.2. Lean SDK installation requirements
(inference only)
•Linux
•x86_64 or aarch64 architecture
•2+ GB RAM (4+ GB RAM recommended)
•PCIe interface
•Python 3.5 or 3.6 (optional)

Hailo EVB™ | Getting started guide | User’s guide
Page 17 Rev. 1.0 Confidential and Proprietary | Copyright © 2021 –Hailo Technologies Ltd.
7. Driver installation PCIE
After you have downloaded the SDK run the following command:
chmod u+x install.sh
./install.sh --install-pcie-driver --install-firmware
This command will compile the PCIe driver for the machine’s kernel version
and install the driver and the SDK. The command will ask for root permissions
during the installation in order to install the driver.
Reboot the machine after the installation is done.
8. Connecting the device
8.1. Dip switch configuration
There are two main dip switch controllers where you can choose the board boot
configuration.
When booting from PCIe, the device will download the firmware via the PCIe.
In that case make sure the dip switch is set to the PCIe option.
When the EVB is connected via Ethernet cable and not a PCIe slot make sure the dip
switch is set to the FLASH option

Hailo EVB™ | Getting started guide | User’s guide
Page 18 Rev. 1.0 Confidential and Proprietary | Copyright © 2021 –Hailo Technologies Ltd.
The EVB will come with the latest FW version already flashed on the device.
Make sure that the Hailo8 FLASH switch is set as follows:
8.2. PCIE connection
Connect the EVB to a PCIe slot.
Make sure when you run lspci command your system can detect the device
Now try to access the EVB running the following command sequence
source hailo_virtualenv/bin/activate
hailo fw-control scan
or
hailo broadcast
The scan command should find the device.

Hailo EVB™ | Getting started guide | User’s guide
Page 19 Rev. 1.0 Confidential and Proprietary | Copyright © 2021 –Hailo Technologies Ltd.
8.3. Ethernet connection
Connect the EVB to your computer using an Ethernet cable.
Make sure to set the interface’s IP address which you have connected the EVB to.
sudo ifconfig <interface IP> 10.0.0.50 netmask 255.255.255.0
Now try to ping the device and you should get a response
Ping 10.0.0.93
Now try to access the EVB running the following command sequence:
source hailo_virtualenv/bin/activate
hailo fw-control scan –target udp
or
hailo broadcast –target udp
The scan command should find the device and return the IP of the board’s
location.

Hailo EVB™ | Getting started guide | User’s guide
Page 20 Rev. 1.0 Confidential and Proprietary | Copyright © 2021 –Hailo Technologies Ltd.
9. Running inference
Now that the driver is up and running you can run inference using the device.
Run the following command from within the virtualenv
Hailo infer performance --hw-arch hailo8p --config-jlf-path <your compiled
model jlf files>
Table of contents