Loading additional binary with LinkServer

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

Loading additional binary with LinkServer

1,473 次查看
scottm
Senior Contributor II

I need to set up MCUXpresso to load a second binary - my bootloader - along with the application code. Normally I do this with a P&E Cyclone, where I load the bootloader once and then set up the debug configuration to exclude the bootloader range when loading the application. I can't do that at the moment because P&E's algorithm for the LPC55S69 was broken, and now that I've installed the update they directed me to the P&E driver crashes. Until I can get a fix for that I'm stuck using an old LPC Link2.

I've found instructions on loading two binaries but it requires manually running the GUI flash tool each time and then attaching to the running process. This is going to be exceptionally tedious for debugging. Is there another way to accomplish this?

Thanks,

Scott

0 项奖励
回复
1 回复

1,448 次查看
ErichStyger
Specialist I

Hi @scottm ,

you should be able to do this with the gdb load command, see https://mcuoneclipse.com/2022/11/01/loading-multiple-binary-files-with-gdb/

Erich

0 项奖励
回复