cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to program STM32MP257F-DK

mfny
Associate III

Hi all, having an issue with programming STM32MP257F-DK/SDCard with the Starter package getting to the stage in the attached screenshot then it seems a connection times out with no success notification popup ?

6 REPLIES 6
ThomasB
ST Employee

Hello @mfny,

 

Perhaps this is due to an insufficient power supply.

How do you power the board? The recommended power supply is a USB-C/USB-C 5V/3A cable as shown in https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP2_boards/STM32MP257x-DK/Let%27s_start/Unpack_the_STM32MP257x-DK_board#Required_equipment

 

If changing to a USB-C 5V/3A cable doesn't solve anything, can you send the whole STM32CubeProgrammer log to investigate further ?

 

Kind regards,
Thomas

Hello.

How would I obtain the full log to send ?

ThomasB
ST Employee

Hello,

In STM32CubeProgrammer there is a floppy disk icon on the right of the log section, you just have to click on it to save the logs.

 

Kind regards,
Thomas

Attached is a log file in a zip from STM32CubeProgrammer with Verbose set to 3. Also there is now no Timeout Error being shown but flashing is stuck at 100% progress with no error messages and there is a Blue led lit on the board.

mfny
Associate III

Has anyone been able to look at the log I posted and can offer a solution to this issue ?

Hi,

this sound like a classic pitfall when the board starts uBoot, then USB DFU (from BootROM) is disconnected and a new USB DFU is setup by uBoot.

If you are using a Linux Virtual Machine, check (once flashing has failed) if the 'new' USB is visible to the Virtual Machine and not by Windows. There should be some settings in your VM to control that behavior.

Fixed Blue led mean uBoot is started correctly.

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.