Skip to main content
This topic has been closed for replies.

4 replies

Pavel A.
Nov 14, 2023 9:28 PM UTC

While waiting for more useful replies - note that your J-Link module version in the IAR IDE is 7.88j - quite old. Consider installing the latest J-Flash version from Segger. It should find and update J-Link module in your IAR installation.

Tesla DeLorean
Guru
Nov 14, 2023 9:44 PM UTC

Double check capacitance on VCAP pins, and measure voltage there. Check supplies generally.

Perhaps try with BOOT0 pulled HIGH

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Luke_abcAuthor
Associate III
Nov 15, 2023 10:00 AM UTC

.

ST Technical Moderator
Nov 16, 2023 3:22 PM UTC

Hello @Luke_abc 

I am not sure if this is a similar thread [SOLVED] Unable to flash / erase STM32F401CC - J-Link/Flasher related - SEGGER - Forum

Same Error: Failed to restore target. RAMCode never stops
ERROR: Erase returned with error code -5.

It is related to bad board power delivery design.

 

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL