AnsweredAssumed Answered

How can I program a bootloader binary file during debug of a major application ?

Question asked by Rodrigo Campello on Dec 19, 2018
Latest reply on Dec 19, 2018 by Mark Butcher

Someone can help me ?

 

How can I program a bootloader binary file during debug of major application ?

 

I develop a bootloader for a K64 product, but I would like to insert it on the major application.

In a way that, when I make a debug/release of this major application, the KDS insert first, the binary (or .s19) file in the begining of flash memory and after it, insert the major program.

 

So when a boot occur, the bootloader runs first and in the sequence... the major application will run in sequence, after bootloader do not detect some firmware upgrade ( on a external flash)

 

Today.

My major application loads the new application to a external flash memory and after it

I open/run bootloader application that look to this external flash memory, see the "new" application

and loads it to the right position on K64 flash memory.

 

It's hard and generate some dificults on production.

 

So. how can I insert the binary bootloader file (In the project explorer for example) and load it into flash memory together ?

 

I think that I a have to edit some launch settings or init file and include the name of a bootloader binary file.

But I do not know how to do it.

 

It is to not to do all this stages that I make today.

 

 

Best Regards

 

Rodrigo

Outcomes