Debug with Bootloader code

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

Debug with Bootloader code

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

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