LPC11u68 Flash IAP erase size? My application is 12Byte.

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

LPC11u68 Flash IAP erase size? My application is 12Byte.

311 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by liaochengyi on Mon Nov 17 22:53:19 MST 2014
Dear NXP Sirs,

I checked the UM10732.pdf.

LPC11u68 Flash IAP sector size is 4KB, is the min. erase size also 4KB?

My application data package is 12Bytes.
Total data are 4096 * 12Bytes = 48KB

If I need to write 1 data package (12Bytes). But the min. erase size is 4KBytes.
How to implement the function?

Thanks for your answer.
Chengyi
Labels (1)
0 Kudos
1 Reply

217 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by xianghuiwang on Tue Dec 02 12:41:26 MST 2014
Hi, Chengyi,

The min erase size and write size with flash IAP operation is 256 bytes. See UM10732 section 27.6.2 (IAP copy ram to flash) and 27.6.10 (IAP Erase page) for details.

You might consider using the on chip EEPROM should you application require smaller size data storage and manipulation. EEPROM access allows byte level operation.

regards,
0 Kudos