Skip to main content
DCajigal
Associate III
April 20, 2021
Solved

Problem flashing SD CARD on STM32MP157A-DK1

  • April 20, 2021
  • 2 replies
  • 1528 views

Hi,

I have been trying to flash the SD card of the STM32MP157A-DK1 following the instructions of the ST Wiki, although in this wiki the board used is the DK2. However the flashing process stops after a while and shows the errors that i attach in the pictures. The CubeProgrammer version is the 2.6. After some research i saw that another option could be execute the flashing process from the command shell but i have not been able to do it because it never finds the file to be flashed, despite copying it in the STM32CubeProgrammer\bin folder. Thanks in advance.

This topic has been closed for replies.
Best answer by PatrickF

Hi,

I assume you are using W10 PC.

Once you have installed latest CubeProgrammer and downloaded/unzipped the starter package on a local folder,

  • Go to ...\images\stm32mp1 folder
  • Connect board as defined in Getting started
    • Check boot switches
    • Connect USB Type A to Type C cable between PC and CN7/USB_OTG port of the STM32MP157x-DK2 board
    • Power up the board
  • Use the following command on the PC: "%ProgramFiles%\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin\STM32_Programmer_CLI.exe" -c port=usb1 -w flashlayout_st-image-weston\trusted\FlashLayout_sdcard_stm32mp157A-dk1-trusted.tsv

Regards.

2 replies

PatrickF
PatrickFBest answer
Technical Moderator
April 21, 2021

Hi,

I assume you are using W10 PC.

Once you have installed latest CubeProgrammer and downloaded/unzipped the starter package on a local folder,

  • Go to ...\images\stm32mp1 folder
  • Connect board as defined in Getting started
    • Check boot switches
    • Connect USB Type A to Type C cable between PC and CN7/USB_OTG port of the STM32MP157x-DK2 board
    • Power up the board
  • Use the following command on the PC: "%ProgramFiles%\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin\STM32_Programmer_CLI.exe" -c port=usb1 -w flashlayout_st-image-weston\trusted\FlashLayout_sdcard_stm32mp157A-dk1-trusted.tsv

Regards.

In order to give better visibility on the answered topics, please click on 'Best Answer' on the reply which solved your issue or answered your question.Tip of the day: Try Sidekick STM32 AI agent
DCajigal
DCajigalAuthor
Associate III
April 22, 2021

Thank you so much! This worked!