Loading additional binary with LinkServer

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

Loading additional binary with LinkServer

649 Views
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 Kudos
Reply
1 Reply

624 Views
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 Kudos
Reply