How to debug program with bootloader existing?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to debug program with bootloader existing?

1,058 次查看
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 项奖励
回复
1 回复

1,052 次查看
ErichStyger
Specialist I

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 项奖励
回复