Skip to main content
Visitor II
March 22, 2025
Question

Unable to program STM32MP257F-DK

  • March 22, 2025
  • 3 replies
  • 1163 views

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 ?

    This topic has been closed for replies.

    3 replies

    Technical Moderator
    March 25, 2025

    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

    mfnyAuthor
    Visitor II
    March 26, 2025

    Hello.

    How would I obtain the full log to send ?

    Technical Moderator
    March 26, 2025

    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

    mfnyAuthor
    Visitor II
    March 26, 2025

    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.

    mfnyAuthor
    Visitor II
    April 6, 2025

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

    Technical Moderator
    April 7, 2025

    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.