Elf loader is bigger than RAM size
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-26 9:00 PM
Hello
I am using STM32L010k4 controller for one of my project. And I am trying to program using stlink utility. My binary file size is 7.5kb.
- my controller is successfully connected from utility
- I can successfully erase chip by stlink utility
But when I click on program and verify. The I got error " elf loader is bigger than RAM size." Please help me on this as soon as possible.
- Labels:
-
STM32L0 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-27 5:59 AM
ST-Link Utility is deprecated.
Does it work with STM32CubeProgrammer? If not, show error messages.
Could also try programming with a BIN or HEX.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-27 6:28 AM
Hello,
We can easily program with cube IDE.
We have tried with bin file and hex file but same error comes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-27 6:58 AM
If the supported programming option (STM32CubeProgrammer) works, probably not going to get much support for deprecated methods. I see another post like this having issues with L0 but no solution given. Likely just doesn't work with L0 anymore. I bet rolling back the st-link version to one released in ~2018 would fix the issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-27 7:07 AM
Can you please share link of 2018 release stlink?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-27 7:22 AM
I don't have it, not sure where you would get it. Won't work with STM32CubeIDE anyway.
Why are you opposed to using the supported programmer?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-27 9:23 AM
Use STM32 Cube Programmer, the ST-LINK Utilities have been deprecated for many years and aren't likely to be reworked or updated.
The error suggests the Internal or External Loader selected will no fit into the RAM of the device, so either it's read the wrong size, or associated the wrong loader. Code and Data is loaded into RAM to facilitate the writing to FLASH, a small applet.
Use the correct/current tools, this should work properly.
Up vote any posts that you find helpful, it shows what's working..
