Flashing bootloader and application in one time

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

Flashing bootloader and application in one time

跳至解决方案
886 次查看
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 项奖励
1 解答
650 次查看
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 项奖励
2 回复数
651 次查看
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 项奖励
650 次查看
shengzhang
Contributor I

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

0 项奖励