cancel
Showing results for 
Search instead for 
Did you mean: 

Problem flashing SD CARD on STM32MP157A-DK1

DCajigal
Associate III

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.

1 ACCEPTED SOLUTION

Accepted Solutions
PatrickF
ST Employee

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 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

2 REPLIES 2
PatrickF
ST Employee

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 'Accept as Solution' on the reply which solved your issue or answered your question.
DCajigal
Associate III

Thank you so much! This worked!