I am trying to load the symbolic information in my target's memory. I saw that, with some settings I am able to generate the elf file with symbols. But not able to load these symbols.
Can anyone try to explain how do I do this.
- Which CPU are you targeting (HC08, HC12, Coldfire, ..)- Which version of CodeWarrior are you using?
Note that independently from the MCU you are targeting the symbolic information are used for debugging only.
They are never loaded to the target board.
Why do you want to load these data to your board?
I am using Codewarrior IDE 5.9.0 for MCF5208.
I need symbol info in the RAM for the debugging purpose while system crash.
With my current settings, I am able to see a binary file (probably with no symbol info), an elf file (with symbol info) and a .lcf (map) file. With the current linker script, I observe no info regarding the symbol table in the map file.
Could you help me get this info in the bin file. And I want to confirm this by checking the map file.
After going through some of the questions posted in the forum, I would like to re-phrase my query.
I want to have a binary image with the symbol information in it so that it can be loaded in the memory. This info I need for debugging during an exception.
I am able to generate a .elf file (with symbols), a .s19 file(with no symbols) and a binary version of .s19 => .bin
Is ther any way to generate .s19 file with symbols ?
Or, is there any way that I can have the binary file extraced from .elf file with symbols?
If you want to debug with symbolic information you need to load the .elf file in the debugger.
This file is a standard ELF DWARF binary file.
S29 file contains raw code and is not suited to symbolic debugging.
Retrieving data ...