S32K3 Bootloader customization

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32K3 Bootloader customization

502件の閲覧回数
enthuCutlet
Contributor II

How to put the bootloader code in the DFlash memory

0 件の賞賛
返信
1 返信

486件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @enthuCutlet 

it's just necessary to update the linker file in your project. By default, you should see something like this in your linker file:

lukaszadrapa_0-1705992600801.png

All the code resources are forced to program flash like this:

lukaszadrapa_1-1705992646711.png

Just change it to data flash which is already defined in the memory segments.

IVT can be placed also to the data flash, so there's no problem with this:

lukaszadrapa_2-1705992746998.png

And there's one more thing - data flash can be already used like this in default linker file:

lukaszadrapa_3-1705992790858.png

So, you need to update this too. Easiest way is to split the data flash to two segments. Use the first segment as program flash and use the second segment for ROM data.

Regards,

Lukas

 

0 件の賞賛
返信