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

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

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

706件の閲覧回数
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
ラベル(1)
0 件の賞賛
返信
1 返信

612件の閲覧回数
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 件の賞賛
返信