Flashing bootloader and application in one time

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

Flashing bootloader and application in one time

Jump to solution
839 Views
bileldrira
Contributor II

Hi all,

I have wrote a bootloader for kinetis k64 and it works fine.

I want to prepare production phase so we don't have to flash the bootloader and the application file separately.

I thought about combining bootloader and application binaries together but I was unable to flash the resulting binary into the microcontroller using Multilink universal FX. I think that raw binary format is not supported.

Could you help me on solving this issue? am I missing something ? is it possible to program the mcu with the raw binary file using MU universal ? Or other ways are possible?

PS: I have also tried to add another section which includes the raw bin of the application with .incbin in assembler.

Any thoughts ?

Best regards.

0 Kudos
1 Solution
603 Views
bileldrira
Contributor II

I found a solution using .incbin. I have just missed an implementation detail.

But I am still interested in finding if there is a way to flash a binary file using Multilink universal jtag.

 

BR.

View solution in original post

0 Kudos
2 Replies
604 Views
bileldrira
Contributor II

I found a solution using .incbin. I have just missed an implementation detail.

But I am still interested in finding if there is a way to flash a binary file using Multilink universal jtag.

 

BR.

0 Kudos
603 Views
shengzhang
Contributor I

Could  you give me yours code,I want to study ,thanks ,

0 Kudos