cancel
Showing results for 
Search instead for 
Did you mean: 

I HAVE 4 Projects that generates 4 .elf files Flashed in Flash at 4 different sectors . HOW CAN we debug all projects at same time by applying breakpoints ?

I HAVE 4 Projects that generates 4 .elf files Flashed in Flash at 4 different sectors .

I have to debug what is happening from PC jumps from one sector to next Sector where differnt project is located .

HOW CAN we debug all projects at same time by applying breakpoints ?

Or can we write script ot merge and get generate 1 combined .elf file

from the COMPILED 4 .elf files from different projects

1 REPLY 1
SBEN .2
Senior II

Hello @kalvacherla.chandrashekhar​ ,

It depends on the IDE (debugger) you are using. Loading symbols from elf files during an active debugging session is the way to go. For example, in MDK-ARM, typing LOAD INCREMENTAL <elf file path> into the debug command window (or debug configuration file) would let you load the symbols of the said ELF file (provided it was compiled with debug information).

Merging the elf files could also be done, but it would be more judicious in this case to create a single project and place the object files in their corresponding address range through the linker file.

Hope this help,

@SBEN .2​