Unpack the STM32MP157x-DK2 board

Revision as of 17:35, 1 February 2019 by Registered User

Template:ArticleMainWriter Template:ArticleProposedVersion


STM32MP157X-DK2.png
Let's start Develop on Arm® Cortex®-A7
Step category in.png Unpack the board Step.png Populate the target and boot the image Step.png Execute basic commands Step.png Use the demo launcher Step category out.png


1. Overview[edit source]

This first stage will explain you the way to unpack the STM32MP157C-DK2 Discovery kit and the additional equipment you need.
The following block diagram provide you high level information about how to connect them together.

STM32MP1 connection block diagram

2. Out of the box[edit source]

STM32MP157C-DK2 recto
STM32MP157C-DK2 verso

3. Equipment[edit source]

The following table lists the required equipment to start playing with your STM32MP157C-DK2 board.
Some of them are delivered with the STM32MP157C-DK2 Discovery kit. The other need to be purchase separatly.

STM32MP157C-DK2 Discovery kit Flexible development platform for the STM32MP15 microprocessor device Delivered
MicroSD card To be populated with the OpenSTLinux Distribution (Linux software),
and providing extra storage capacity.
A 2-Gbyte minimum microSD card is needed
Delivered
USB Type-C™ to USB Type-C™ cable Used to connect the STM32MP157C-DK2 board to the power supply Delivered
Micro USB Type-B to USB Type-A cable Used to connect the STM32MP157C-DK2 Discovery kit to the PC
through the USB micro-B (ST-LINK/V2-1)
Not delivered
USB Type-C™ to USB Type-A cable Used to connect the STM32MP157C-DK2 board to an USB OTG device. Not delivered
Power Supply 5V/3A The power supply should be able to output 5V / 3A (15W) Not delivered
Laptop Assume a Linux PC running Ubuntu 16.04 Not delivered
Ethernet cable (optional) Used to connect the STM32MP157C-DK2 Discovery kit through ssh Not delivered

4. Connection[edit source]

  • Connect the micro USB Type-B to USB Type-A cable between your laptop and the ST-LINK/V2-1 port of the board
  • Connect the USB Type-C™ to USB Type-C™ cable to the 5V/3A power supply
  • Connect the USB Type-C™ to USB Type-A cable betweenn your laptop and the USB Type-COTG port of the board
  • Optionally connect the Ethernet cable between your Ethernet network and the Ethernet port of the board
STM32MP157C-DK2 Discovery kit connection
(LCD display has been removed in this view to better see the connectors)


5. Check the host computer Internet access[edit source]

  • An Internet access through http and https protocols must be provided.

The command below allows to check for Internet access through http/https protocols:

 wget -q www.google.com && echo "Internet access over HTTP/HTTPS is OK !" || echo "No internet access over HTTP/HTTPS ! You may need to set up a proxy."

If a 'OK' message is returned, the network is well configured. In such case, skip the rest of this section and jump to next one (Install extra packages).

Any other situation likely indicates the need for a proxy for http/https protocols.
The best solution to set a proxy for http/https protocols is via the shell variables http_proxy and https_proxy:

 export http_proxy=http://<MyProxyLogin>:<MyProxyPassword>@<MyProxyServerUrl>:<MyProxyPort>
 export https_proxy=http://<MyProxyLogin>:<MyProxyPassword>@<MyProxyServerUrl>:<MyProxyPort>

Check again the Internet access with command:

 wget -q www.google.com && echo "Internet access over HTTP/HTTPS is OK !" || echo "No internet access over HTTP/HTTPS ! You may need to set up a proxy."
Back button.png Overview button.png Next button.png