S32K148 fill 0x00 to the unuse flash

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K148 fill 0x00 to the unuse flash

693 Views
oceansea
Contributor III

hi,

i use the S32K148 MCU,and i set generate bin file my program place in the 0x20000~0x3EFFF,the 0~0x1FFFF 

is bootloader .But i want to fill 0x00 to  the addr  0x3F000~0x40000, because i need checksum the program.

Then i do this 

pastedImage_1.png

pastedImage_6.png

i try change the link file to realize my purpose ,but when i  complie  prj  it  generate the bin file

 pastedImage_2.png

The file inly up to 0x20DDB ,not 0x3FFFF.

Labels (1)
0 Kudos
1 Reply

604 Views
raresvasile
NXP Employee
NXP Employee

Hello,

I have attached a linker file modified to fill the remaining memory with 0x0.

Please let me know if it works.

Best regards,

Rares

0 Kudos