Skip to main content
AMeht.1
Visitor II
February 10, 2020
Question

External Debugger SEGGER failing to load a program for debugging

  • February 10, 2020
  • 1 reply
  • 1005 views

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.

This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
February 10, 2020

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 (See Profile) Up vote any posts that you find helpful, it shows what's working..