2024-07-05 10:44 PM - edited 2024-07-06 11:11 PM
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
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
Solved! Go to Solution.
2024-07-06 11:10 PM
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..
2024-07-06 11:10 PM
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..
2025-04-16 2:40 AM
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.
2025-04-16 2:46 AM
@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.