How to debug program with bootloader existing?

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

How to debug program with bootloader existing?

291 Views
jake111
Contributor I

IDE:IAR

Debug Tool:Ozone

Bootloader ranges from 0x0 to 0xa000,and the program starts from 0xa000.

Every time I modify a firmware,I have to change the .icf file in IAR then compile,meanwhile some of the code,such as the version address that existing in front of the program binary,should be changed.This is troublesome.

Do you have any tool or ideas to debug with bootloader?

0 Kudos
1 Reply

285 Views
ErichStyger
Senior Contributor V

I have not used IAR tools for years, but it works easily in the MCUXpresso IDE:

https://mcuoneclipse.com/2020/11/03/debugging-bootloader-and-application-with-one-debug-session/

https://mcuoneclipse.com/2019/10/06/linking-bootloader-applications-with-eclipse-and-freemarker-scri...

I understand that you might try to stick with IAR, but the above might give you some ideas?

0 Kudos