Debug with Bootloader code

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

Debug with Bootloader code

521 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by kiryat8 on Sun Mar 27 21:54:16 MST 2011
I want to create a secondary bootloader in the lower memory similar to the "RDB1768cmsis_usb_bootloader" example. I understand that the bootloader will contain the normal interrupt vectors but these will change when the main program is loaded. How can I create a debug project that contains both the bootloader and the application code for debugging?
Thanks
0 Kudos
Reply
1 Reply

486 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jharwood on Mon Mar 28 08:01:25 MST 2011
You can't really debug the bootloader and the application together since they are two separate projects and .axf files.

Once you have the bootloader debugged, you can then attach the debugger to the running application by modifying the project's launch configuration settings:

http://support.code-red-tech.com/CodeRedWiki/DebugRunningSystem
0 Kudos
Reply