Populate the target and boot the image


Latest revision as of 23:28, 3 July 2025



1. Overview[edit | edit source]

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


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

  • Set the boot switches (located at the back of the board) to the OFF position.
boot switches position to flash the board
  • Connect the PC to the CN7/USB_OTG port of the STM32MP157x-DK2 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_stm32mp157x-dk2-optee.tsv" file in the Starter Package installation folder ("$HOME/STM32MPU_workspace/STM32MPU-Ecosystem-v2.0.0/Starter-Package/stm32mp1-openstlinux-5.4-dunfell-mp1-20-06-24/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 (located at the back of the board) to the ON 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
UBoot 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