Debugging from two projects - CW 10.0

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Debugging from two projects - CW 10.0

682件の閲覧回数
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

ラベル(1)
0 件の賞賛
返信
1 返信

543件の閲覧回数
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 件の賞賛
返信