Populate the target and boot the image

Applicable for STM32MP13x lines

Let's start Develop on Arm® Cortex®-A7
Unpack the board Populate the target and boot the image Execute basic commands Use the demo launcher


1. Overview[edit | edit source]

This step explains how to get the Starter Package, then install and boot the STM32MP135x-DK Discovery kit with the Starter Package.


2. Populate the SD card[edit | edit source]

  • Set the boot switches to the boot from USB position.
boot switches position to flash the board
  • Connect the PC to the CN7/USB_OTG port of the STM32MP135x-DK board through the USB Type A to Type C cable.
  • Power on the board.
  • Press the reset button to reset the board.
  • Launch STM32CubeProgrammer to get the GUI:
STM32CubeProgrammer GUI
  • On the right of the window, select USB (instead of STLINK, set by default) in the connection picklist and click the "Refresh" button. The serial number is displayed if the USB is detected. Then click "Connect".
Select USB for connection with board
  • Select the "Open File" tab and choose the "FlashLayout_sdcard_stm32mp135f-dk-optee.tsv" file in the Starter Package installation folder ("$HOME/STM32MPU_workspace/STM32MPU-Ecosystem-v6.2.1/Starter-Package/stm32mp1-openstlinux-6.6-yocto-scarthgap-mpu-v26.06.10/images/stm32mp1/flashlayout_st-image-weston/optee")


  • Fill the "Binaries Path" by browsing to the $[Starter_Pack_Path]/images/stm32mp1 folder.
open .tsv and fill Binaries Path
  • Click "Download" to start the flashing process.
  • A progress bar indicates the process progress until a completion pop-up message is displayed.

3. Boot the board[edit | edit source]

  • Set the boot switches to the boot from SD card position:
boot switches position to boot the board
  • Power on the board.
  • Press the "Reset "button to reset the board.
  • After few seconds, the board starts and automatically goes through the following screens
U-Boot splash screen
Linux splash screen
Weston desktop
GTK demo launcher


  • If the board power supply does not supply enough current (3A), the red LED indicates the issue following the rules below:
LED blinking mode Console message Boot process
Twice WARNING 500mA power supply detected

Current too low, use a 3A power supply!

Continue and red LED stays ON
3 times WARNING 1500mA power supply detected

Current too low, use a 3A power supply!

Continue and red LED stays ON
forever ERROR USB TYPE-C connection in unattached mode

Check that USB TYPE-C cable is correctly plugged

stop
forever USB TYPE-C charger not compliant with USB specification stop