2025-03-30 11:46 PM
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:
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?
Solved! Go to Solution.
2025-03-31 2:11 AM
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:
Regards.
2025-03-31 12:41 AM
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 :
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
2025-03-31 12:47 AM
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...
2025-03-31 12:52 AM
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
2025-03-31 1:23 AM
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,
2025-03-31 2:00 AM
@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.
2025-03-31 2:11 AM
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:
Regards.