merge your bootloader binary with the application project and load it as a single .elf/srec/bin

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

merge your bootloader binary with the application project and load it as a single .elf/srec/bin

1,880 次查看
KKumar
Contributor II

Hi NXP,

I have a bootloader binary file and want to merge with application project and load it as .elf/srec/bin file.

I found a solution here

https://community.nxp.com/t5/S32-Design-Studio/Compiling-multiple-projects-in-S32DS-IDE/m-p/705483 

 

In this solution bootloader address in continuous from 0x0000_0000 to 0x0000_A000 and may not work with my bootloader memory layout.

But In my bootloader memory layout is like below

KKumar_0-1679398065914.png

 interrupt is from 0x0000_0000 and Bootloader Application is from 0x1000_0000

Help me merge bootloader binary bin(with my configuration) with application project.

0 项奖励
回复
3 回复数

1,852 次查看
KKumar
Contributor II

Hi @lukaszadrapa,

Will this method take care of different memory location of bootloader(bootloader's interrupt are from 0x0 to 0x400 and text from 0x10000000)??

 

0 项奖励
回复

1,848 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

This method doesn't care about the binary file content. It takes the content and put it to specified area, nothing else.

Notice that binary file is continuous image of raw data. If you have some data at 0x0 and then another data in data flash at 0x1000_0000, then the binary file will cover everything in this range including the huge gap between program and data flash. For this purpose, it would be better to have two bin files.

Regards,

Lukas

0 项奖励
回复

1,860 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport
0 项奖励
回复