DAVE - XMC4500 Debugging Bootloader and Application

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Hi,

I have a bootloader and an application, which are programed into 0x0C000000 and 0x0C080000 respectively.

Now in DAVE debugging the bootloader (or the application) when programmed into the start address 0x0C000000 works fine. But when programming the application into 0x0C080000 or any other address the debugging sessions resolves to, when pause since "automatic halt" does not work, in: "No source available for "0x8004972""...

How can I configure DAVE to start debugging at the right address? I have found easy to follow pdfs for NXP or Atollic.
Also this site is very helpful but nothing worked on DAVE so far.

They all involve some variation of adding the following instruction to the debugger: add-symbol-file filename address, as for example:
add-symbol-file "c://tmp//app_test.elf" 0x0C080000

I certanly hope some wiser person can help me out here!


System configuration:
XMC4500-F144-1024
JLink Segger 6.0
DAVE 4.3.2
0 Likes
2 Replies
jferreira
Employee
Employee
10 sign-ins 5 sign-ins First like received
Hi,

I just tried and for me works.
Please try using add-symbol-file "c://tmp//app_test.elf" 0x08080000

Regards,
Jesus
0 Likes
Not applicable
Hi Jesus,

thanks for your response! (and pardon my late gratitude). Some how it started working for me as well, though not 100 % reliable and independently of "add-symbol-file" option.

Best regards,
Alejandro
0 Likes