Tomas Krysl

Debug axf (ELF) file but flash binary file

Discussion created by Tomas Krysl on Aug 30, 2016
Latest reply on Aug 30, 2016 by LPCX presso support

Hi I would like to debug the axf (ELF) file with LPCXpresso but flash from another (binary) file to the target.

I create the binary file from the axf file with objcopy in a post build step.

Is that possible?

 

The reason for this binary file is I am adding ONEinspect debug info into it.

And I want to have that debug info available even when debugging with LPCXpresso (I can normally flash the bin file with LPCXpresso flash utility).

 

Unfortunately ONEinspect's Formatconverter does not (yet) support direct management of ELF files.

LPCXpresso seems to support only the axf (ELF) file, because when I select my bin file as source in my Debug configuration the debugger fails to load it.

 

Thank you

Outcomes