cancel
Showing results for 
Search instead for 
Did you mean: 

External Debugger SEGGER failing to load a program for debugging

AMeht.1
Associate

I have an STM32L031F6 (custom) board. Using Jlink flashing tool we are trying to program the device but when we are trying to erase the board, we are getting the following error.

Erasing device (STM32L031F6)...

****** Error: Timeout while checking target RAM, RAMCode did not respond in time. (PC = 0xFFFFFFFF, CPSR = 0xFFFFFFFF, LR = 0x21000003)!

Failed to prepare for programming.

Failed to execute RAMCode for RAM check!

ERROR: Erase returned with error code -1.

1 REPLY 1

Can you talk to or connect with the device using other tools/pods?

Are you correctly specifying the RAM location and size of the tools?

Do the same tools/settings work with other L031 boards?

Does it correctly identify the device. The log here is too short to gain much of any understanding of the problem.

If ST-LINK works properly, work with Segger directly for support.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..