Skip to main content
Graduate II
July 6, 2024
Solved

Error in Final Launch Sequence

  • July 6, 2024
  • 2 replies
  • 4037 views

I am trying to upload the code to my target STM32F407 but below error is showing up. I tried some of suggestions but problem is still there. I am using Version: 1.15.1.   Debug log file also attached. 

1) Doing Mass Erase of flash,

2) Updating ST Link Firmware

3) Set Reset Behavior: None

4) Uncheck Enable Live Expressions

Nico3_0-1720244408387.png

 

Update:   I moved to STM32Cube programmer instead of using STM32cubeide, and able to upload the code after reducing ST-Link Frequency to 15Khz. Is it due to my target board poor design or something else. I am using Discovery Board ST-LINK to upload

 

 

 

 

    This topic has been closed for replies.
    Best answer by Nico3

     Pls note issue has been solved. The problem was with jumper cables between ST-LINK and Target board. We used new cables and all in single ribbon, so now it is working fine.  

    I conclude EMI was issue..

    2 replies

    Nico3AuthorAnswer
    Graduate II
    July 7, 2024

     Pls note issue has been solved. The problem was with jumper cables between ST-LINK and Target board. We used new cables and all in single ribbon, so now it is working fine.  

    I conclude EMI was issue..

    Visitor II
    April 16, 2025

    i downloaded and installed STM32 ST-LINK Utility. Then I erase chip by STM32 ST-LINK Utility. Then I open program in Stm32Cube and run program with stm32 board. It works. 

    Super User
    April 16, 2025

    @chau  Note that the old ST-Link Utility is long obsolete - although it may still work with older parts (like the F407 here), it's not going to help for newer ones.

    As the OP said, STM32CubeProgrammer is the way forward.