AnsweredAssumed Answered

Loading an additional ELF binary

Question asked by MILLER on Nov 4, 2017
Latest reply on Nov 24, 2017 by MILLER

In CodeWarrior it's possible to use the 'target tasks' function to load additional binaries through the flash programming interface.  Is there an equivalent in MCUX?

 

I'm aware of the 'additional ELF files' option in the debugger's main tab.  (Incidentally, making the user enter a '0' in a text field and click 'generate' is an awful way to implement removing a configuration option.)  The problem here is that I'm loading a bootloader that has memory regions that overlap the application.  The bootloader's ELF file can be loaded standalone, in which case the vector table is needed.  But with an application, it generates a CRC error.

 

At the moment I'm sidestepping the issue by loading the bootloader with an external tool and preserving the bootloader's memory area, but it's a cumbersome process when switching boards.

 

Thanks,

 

Scott

Outcomes