Debugging from two projects - CW 10.0

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Debugging from two projects - CW 10.0

329 Views
RValls
Contributor III

Hi all!

I have two independent projects (bootloader and application projects). I am able to program both of them to the uC and it works, executing first the code from the bootloader, later it jumps to app_main and executes the code from the app project.

 

What I want is when loading the app project, be able to "stop on access point" and see the code from the bootloader project, and not just the assembler.

 

Is there any way to pass debug information from one project to the other one?

 

Thanks in advance,

Rubén

Labels (1)
0 Kudos
1 Reply

190 Views
CrasyCat
Specialist III

Hello

 

Did you consider using debugger command loadsym in Debugger Shell?

 

Here is what a help on command loadsym returns:

COMMAND    loadsym - load a symbolics file SHORTCUT   lsym SYNTAX     loadsym <filename> [PIC load addr (hex)] EXAMPLES            loadsym myapp.elf             Loads the debug information in myapp.elf into the debugger.            loadsym mypicapp.elf 0x40000             Loads the debug information in mypicapp.elf into the debugger; symbolics addresses are              adjusted based on the alternate load address of 0x40000.

 

 

 

CrasyCat

0 Kudos