Using KDS 3.0, SDK 1.3, PE Multilink JTAG.
I just started using my app with the Kinetis bootloader.
Prior to using the bootloader I was able to use a debug configuration to attach to an already installed application that was linked starting at address 0.
The new configuration was moved to starting address 0xA000 to allow room for the bootloader.
The bootloader loads and runs the app fine.
I created a debug configuration to attach to the running app. It attaches fine, but will not execute a breakpoint. It appears the breakpoint is set, but it never breaks.
I've tried using symbol offsets of 0 and 0xA000. Neither works.
So what am I doing wrong.
Thank You
Randy
randyhermes , did the above fix your issue debugging? Did you also have to set SCB->VTOR to m_interrupts?
Sorry I don't remember what the final fix was.
Randy
Hi Randy,
Please try adding the following gdb command to the debugger settings:
add-symbol-file
filename address
Example:
add-symbol-file C:\\Users\\b38285\\workspace.kds\\Application2\\Debug\\Application2.elf 0x0000a410
0x0000a410 is the origin of the m_text section of my second application.
Let me know if it helps!
Best Regards,
Carlos Mendoza
Technical Support Engineer
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------