No part of this document may be reproduced or transmitted in any form or by any means without prior
written consent of Huawei Technologies Co., Ltd.
Trademarks and Permissions
and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd.
All other trademarks and trade names mentioned in this document are the property of their respective
holders.
Notice
The purchased products, services and features are stipulated by the contract made between Huawei and
the customer. All or part of the products, services and features described in this document may not be
within the purchase scope or the usage scope. Unless otherwise specied in the contract, all statements,
information, and recommendations in this document are provided "AS IS" without warranties, guarantees
or representations of any kind, either express or implied.
The information in this document is subject to change without notice. Every eort has been made in the
preparation of this document to ensure accuracy of the contents, but all statements, information, and
recommendations in this document do not constitute a warranty of any kind, express or implied.
3.1 Removing the Top Cover....................................................................................................................................................... 5
3.2 Installing a Camera (PCB IT21DMDA)............................................................................................................................. 7
3.3 Installing a Camera (PCB IT21VDMB)........................................................................................................................... 12
4 Setting up the Environments..............................................................................................17
5 Setting Up the Hardware Environment........................................................................... 18
5.1 Creating an SD Card............................................................................................................................................................ 18
5.1.2 Creating an SD Card with a Card Reader..................................................................................................................18
5.1.3 Creating an SD Card Without a Card Reader.......................................................................................................... 23
5.2 Connecting Atlas 200 DK to Ubuntu Server................................................................................................................ 28
5.3 Changing the Atlas 200 DK User Password................................................................................................................. 33
6.2.3 Installing the Development Kit..................................................................................................................................... 42
6.4 Deploying the Media Module........................................................................................................................................... 45
7 Hands-on Your First Application........................................................................................46
8 Common Operations............................................................................................................ 47
8.1 Powering on Atlas 200 DK................................................................................................................................................. 47
8.2 Powering o the Atlas 200 DK Developer Board...................................................................................................... 52
8.3 Connecting the Atlas 200 DK over a Serial Port........................................................................................................ 52
8.4 Checking the Software Versions of Atlas 200 DK......................................................................................................54
8.5 Checking the Version of the Motherboard of the Developer Board................................................................... 55
8.6 Checking the Version of the Atlas 200 AI Accelerator Module............................................................................. 58
8.7 Viewing the Channel to Which a Camera Belongs................................................................................................... 62
8.8 Installing the Windows USB Network Adapter Driver............................................................................................. 63
8.9 Changing the Atlas 200 DK IP Address......................................................................................................................... 66
8.10 Setting User Account Expiry Date.................................................................................................................................67
8.11 Conguring a System Network Proxy......................................................................................................................... 68
9.2 What Do I Do If the Trust Relationship Between the Ubuntu Server and the Developer Board Fails to
Be Established?............................................................................................................................................................................. 72
9.3 What Do I Do If Atlas 200 DK Cannot Connect to Ubuntu Server?....................................................................72
9.4 What Do I Do If "Could not nd a version that satises the requirement xxx" Is Displayed When
pip3.7.5 Install Is Run?............................................................................................................................................................... 76
Huawei Atlas 200 Developer Kit (Atlas 200 DK for short) is a developer board
product based on the Huawei Ascend 310 AI Processor. It enables one-stop
development of AI applications.
This document describes the preparations for using the Atlas 200 DK to develop
and run AI applications, including creating an SD card, connecting the Atlas 200
DK to the Ubuntu server, and installing the development tool.
The following shows the system block diagram of the Atlas 200 DK:
Figure 1-1 Connection between the Atlas 200 DK and MindStudio
In the preceding gure, 192.168.1.2/192.168.0.2 is the IP address of the Atlas 200 DK, which
can be selected during card making.
The Atlas 200 DK contains the Hi3559 camera module and Atlas 200 AI
accelerator module. The PC where MindStudio is located is connected to the Atlas
200 DK through the USB port or network cable.
MindStudio contains the development kit and tool modules (such as the model
management tool, compilation tool, and log tool). The development kit provides
the library
compilation.
For details about how to prepare
an SD card using a jumper cap/
wire, see 5.1.3 Creating an SD
Card Without a Card Reader.
Jumper cap, with 2.54 mm
spacing
Jumper wire, female to
female, with 2.54 mm
spacing
Atlas 200 DK
Environment Deployment Guide2 Preparing Accessories and a Development Server
NameDescriptionSuggestions
Type-C cableConnects to the Ubuntu server.
For details, see 5.2 Connecting
Atlas 200 DK to Ubuntu Server.
Network cableConnects to the Ubuntu server.
For details, see 5.2 Connecting
Atlas 200 DK to Ubuntu Server.
CameraProvides video streams for the
Atlas 200 DK. For details, see 3.2
Installing a Camera (PCB
IT21DMDA) and 3.3 Installing a
Camera (PCB IT21VDMB).
(Optional)
Camera
support
Fixes the camera. For details, see
3.2 Installing a Camera (PCB
IT21DMDA) and 3.3 Installing a
Camera (PCB IT21VDMB).
USB 3.0 Type-C cable
Common network cable
with RJ45 connectors
Raspberry Pi cameras are
recommended.
Model: Raspberry Pi v2.1
For a Raspberry Pi
camera, if the Atlas 200
DK uses the IT21DMDA
mainboard, you also need
to prepare a 15-pin yellow
Raspberry Pi camera
cable.
Raspberry Pi transparent
camera support
(Optional)
Serial cable
Preparing a Server
Prepare a server or PC running Ubuntu (x86).
●When creating a bootable SD card for the Atlas 200 DK, the card reader or
Atlas 200 DK can be connected to the Ubuntu server over the USB port. For
details, see 5.1 Creating an SD Card.
●The Ubuntu server can be used to set up the development environment. For
details, see 6.1 Overview.
●Click here to download an Ubuntu 18.04.4 or 18.04.5 release and install it.
You can download the Ubuntu Desktop edition of ubuntu-18.04.xx-desktop-
amd64.iso or the Ubuntu Server edition of ubuntu-18.04.xx-serveramd64.iso.
Used for viewing the boot logs
when the Atlas 200 DK boot
indicator is abnormal, or the SD
card is successfully prepared but
the UI Host cannot be accessed.
For details, see 9.3 What Do I Do
If Atlas 200 DK Cannot Connect
to Ubuntu Server?
USB-to-TTL serial cable
with 3.3 V interface level
3.Place the metal wire at the wider end of the yellow at ribbon cable upwards
and horizontally insert it into the cable slot of the camera until it is fastened.
See Figure 3-5.
Step 3 Connect the at ribbon cable of the camera to the Atlas 200 DK developer board.
1.Remove the camera connector fastener from the Atlas 200 DK developer
board. See Figure 3-7.
Figure 3-7 Removing the black fastener
2.Place the metal wire at the narrower end of the yellow at ribbon cable
upwards and horizontally insert it into the camera connector CAMERA0 or
CAMERA1 on the Atlas 200 DK developer board until the cable is fastened.
Insert the fastener. See Figure 3-8.
2.Take out the white camera at cable. See Figure 3-11.
Figure 3-11 White camera
at cable
3.Place the metal wire on the black camera at cable (silkscreen with TOCAMERA) upwards and horizontally insert it into the cable slot of the camera
until it is fastened. See Figure 3-12.
2.Place the black wire on the black camera at cable (silkscreen with TO MAINBD) upwards and horizontally insert it into the camera connector CAMERA0
or CAMERA1 on the Atlas 200 DK developer board until the cable is fastened.
Secure the fastener. See Figure 3-14.
Figure 3-14 Securing the fastener
Step 4 Install the top cover of the Atlas 200 DK developer board to the original position.
Atlas 200 DK
Environment Deployment Guide4 Setting up the Environments
4 Setting up the Environments
Set up the hardware operating environment and development environment for the
Atlas 200 DK as follows.
Figure 4-1 Atlas 200 DK environment setup
●Operating environment
Create a bootable SD card for the Atlas 200 DK.
If Python is used to develop AI applications, the pyACL package needs to be
deployed on the Atlas 200 DK after the Atlas 200 DK is connected to the
Ubuntu development server.
●Development environment
Set up the development environment by referring to 6 Setting up the
Atlas 200 DK
Environment Deployment Guide5 Setting Up the Hardware Environment
5 Setting Up the Hardware Environment
5.1 Creating an SD Card
5.2 Connecting Atlas 200 DK to Ubuntu Server
5.3 Changing the Atlas 200 DK User Password
5.4 Deploying pyACL
5.1 Creating an SD Card
5.1.1 Introduction
You can create a system boot disk for the Atlas 200 DK by preparing an SD card.
You can use either of the following methods to prepare an SD card:
●If a card reader is available, insert the SD card into the card reader, connect
the card reader to the USB port of the Ubuntu server, and run the SD card
preparation script.
●If no card reader is available, insert the SD card into the card slot of the Atlas
200 DK, use a jumper cap/wire to connect the pins of the Atlas 200 DK,
connect the Atlas 200 DK to the USB port of the Ubuntu server, and run the
SD card preparation script.
During SD card preparation, the default user HwHiAiUser is automatically
created for running the applications.
The default login password of the HwHiAiUser user is Mind@123.
5.1.2 Creating an SD Card with a Card Reader
This section describes how to connect a card reader to the Ubuntu server over the
USB port and run SD card preparation scripts with a card reader.
If card preparation fails, check the log les in the sd_card_making_log folder in the
current directory.
Step 7 After the card is successfully prepared, remove the SD card from the card reader
and insert it into the card slot of the Atlas 200 DK.
Step 8 Power on the Atlas 200 DK.
● During the rst power-on and boot process, Firmware upgrade is implemented.
After the upgrade is complete, the system reboots automatically. You can install
other components after the reboot.
● Do not power o the Atlas 200 DK during the rst boot. Otherwise, the Atlas
200 DK may be damaged. After it is powered