Store an array of size 76KB in Flash

cancel
Showing results for 
Search instead for 
Did you mean: 

Store an array of size 76KB in Flash

44 Views
geoff_roy
Contributor II

What configurations needs to be done to store an array of size 76KB in flash memory for testing purpose. I'm using s32K142 and S32K118 boards. Please help me with the same. Currently Hardfault is generated.

0 Kudos
1 Reply

27 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

According the size of array you have specified I suppose this question is related to program flash.

 

Here you may find simple example code for flash programming:

https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K144-Flash-RW-simple/ta-p/1110000

0 Kudos