Bootloader and APP image

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

Bootloader and APP image

跳至解决方案
1,861 次查看
arkadyosh
Contributor III

Hello,
I have two projects, bootloader and main app and I need to flash both into uC. The best way will be
create/merge two flash images into one and program uC, is it possible from motorola s-record? how?
At this mooment I use FRDMPK144-Q100 with uC mask 0N77P, is it possible to flash it with RAppID Boot Loader Utility?

Regards

标签 (1)
标记 (3)
0 项奖励
回复
1 解答
1,439 次查看
stanish
NXP Employee
NXP Employee

Hi,

If I understand you correctly you have a custom bootloader + application and now you are trying to program it into your FRDM board, right?

Since your App + bootloader should not overlap in the flash memory you can either manually merge srecord files into a single srecord file.

Other approach is to link generated binary (e.g.bootloader) with application to create a single elf/srec.

With FRDMPK144-Q10 board you can easily program the created S-record using OpenSDA - Mass Storage Device (MSD).

Just plug the board via USB cable and EVB-S32144 removable storage should appear.

Then easily drag&drop your srecord file into this drive and it gets programmed.

pastedImage_2.png

RAppID Bootloader could be used but I don't quite understand why you'd need another bootloader in your project if you have a custom one already?

Hope it helps.

Stan

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,440 次查看
stanish
NXP Employee
NXP Employee

Hi,

If I understand you correctly you have a custom bootloader + application and now you are trying to program it into your FRDM board, right?

Since your App + bootloader should not overlap in the flash memory you can either manually merge srecord files into a single srecord file.

Other approach is to link generated binary (e.g.bootloader) with application to create a single elf/srec.

With FRDMPK144-Q10 board you can easily program the created S-record using OpenSDA - Mass Storage Device (MSD).

Just plug the board via USB cable and EVB-S32144 removable storage should appear.

Then easily drag&drop your srecord file into this drive and it gets programmed.

pastedImage_2.png

RAppID Bootloader could be used but I don't quite understand why you'd need another bootloader in your project if you have a custom one already?

Hope it helps.

Stan

0 项奖励
回复
1,439 次查看
arkadyosh
Contributor III

Hi,
Thanks for reply Stan.
Yes, I have custom bootloader and app. I merge both srecord files and copy it to "evb drive", everything work well.
I dont need second bootloader, just wonder how to flash both bootloader and app into uC.

Regards
Arkadiusz

0 项奖励
回复