cancel
Showing results for 
Search instead for 
Did you mean: 

Where to get the original SD-image of the STM32MP257-DK board?

HMüll.4
Associate III

Hi,

I'm aware of the manual from https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP157x-DK2/Let%27s_start/Populate_the_target_and_boot_the_image but it does not solve my problem as it seems to be completely faulty:

  • different to the description, not USB has to be choosen as connection but UART
  • when downloading, there is never a completion-message but it always ends up with an timeout (no matter what image I try)
  • at the end, it comes up with an error message "Partition 0xBB not found in TSV file"
  • the resulting SD-card obviously has not changed at all after this cycle

So where can I get an image for the Sd-card that can be copied with a simple imager or the dd-command from Linux instead of following this non-working, complicated procedure?

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi,

On STM32MP257F-DK, while CN21 is using to power the board, debug using ST-Link and get console, did you at same time use the CN15 to connect to the PC for the DFU flashload ?

While board is powered, is the red LD7 stop flashing (either on or off) when you connect the CN15 USB to the PC (this mean correct USB PC detection) ?

Note: UART/USB boot need BOOT pins in correct position as listed in the wiki:

PatrickF_0-1743412220168.jpeg

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

6 REPLIES 6
Olivier GALLIEN
ST Employee

Hi @HMüll.4 

Link you refer address STM32MP157DK2 while you seems to work with STM32MP257-DK

Is it a mistake? 

The equivalent procedure for STM32MP257-DK is here :

STM32MP257x-DK - stm32mpu

Getting started is the most simple and straight forward way to use the board. 

UART boot is limited to small software like BSP or DDR_FWUtils but can't load a full linux system

USB is supposed to work and so if you have trouble at that stage please share

Olivier

 

Olivier GALLIEN
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.

Sorry, I used the wrong link because I was trying this stuff on one computer and were posting the question from an other one. So to clarify this:

I mean the 257-DK board and I was using the description from https://wiki.stmicroelectronics.cn/stm32mpu/wiki/Getting_started/STM32MP2_boards/STM32MP257x-DK/Let%27s_start/Populate_the_target_and_boot_the_image (so 257 too).

And this description is not working in the way as mentioned in my original posting...

 

Olivier GALLIEN
ST Employee

Hi @HMüll.4 

Strange. Please check that you power the DK properly from a PC TypeC. (typeA don't deliver enough power) 

If this is ok and still have issue please describe it further with log and trace

Olivier  

Olivier GALLIEN
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.
PatrickF
ST Employee

HI @HMüll.4 ,

Populate complete Linux image using UART is not recommended/viable due to extremely long time (probably more than a day). UART flashload is only useful for image up to uboot, e.g. for early custom board bring-up debug when USB has Hw issues.

So, with STM32MP257F-DK, please try using USB or populate SD-Card on your Linux PC using https://wiki.st.com/stm32mpu/wiki/How_to_populate_the_SD_card_with_dd_command

 

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.

@PatrickF Connecting it via USB does not work - neither form Linux nor from Windows the CubeProgrammer detect anything!

When connecting the board using Windows, I get two COM-ports COM3 and COM5 where one at least accepts a connection from the CubeProgrammer but then fails with the timeout mentioned in my first post.

The USB-connection itself _is_ a proper USB-C.

 

Hi,

On STM32MP257F-DK, while CN21 is using to power the board, debug using ST-Link and get console, did you at same time use the CN15 to connect to the PC for the DFU flashload ?

While board is powered, is the red LD7 stop flashing (either on or off) when you connect the CN15 USB to the PC (this mean correct USB PC detection) ?

Note: UART/USB boot need BOOT pins in correct position as listed in the wiki:

PatrickF_0-1743412220168.jpeg

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.