cancel
Showing results for 
Search instead for 
Did you mean: 

ST Link Utility : the elf loader is bigger than the ram size

Thomas Lotz
Associate II
Posted on November 24, 2017 at 10:21

Hello,

When I try to erase chip (STM32L011F4U6) with ST Link utility, it do not works and I get the message 'the elf loader is bigger than the ram size', see the enclosed picture.

I use the ST Link side of a NUCLEO-L053R8 board connected to a cutom board with the STM32L011F4U6.

St link connection is ok, and I'm able to read the device memory, so the hardware SWD connection seems to work well.

FYI : when I try to debug the STM32L011F4U6

from the development environment

System Workbench for STM32, it does not work either.

I hope you can help me find a solution

Thanks !

Thomas

#st-link-utility-problem
2 REPLIES 2
Thomas Lotz
Associate II
Posted on November 27, 2017 at 11:44

I have changed the MCU on the board with a new one, and I tried to program the chip with a Segger ARM Flasher, and same problem :

Programming and verifying target (5372 bytes, 1 range) ...

 - Connecting ...

    - Connected successfully

 - Start of preparing flash programming

 - ERROR: Failed to prepare for programming.

Failed to execute RAMCode for RAM check!

 - End of preparing flash programming

 - ERROR: Failed to program and verify target

Disconnecting ...

 - Disconnected
Thomas Lotz
Associate II
Posted on November 27, 2017 at 11:50

And here is the schematic.

The 3V power supply is stable.

0690X00000608ubQAA.png