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,882件の閲覧回数
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,854件の閲覧回数
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,850件の閲覧回数
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,862件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport
0 件の賞賛
返信