Sector block used for data storage

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

Sector block used for data storage

365 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by blasiis on Tue Jul 20 02:53:36 MST 2010
LPC1758
I need to use a flash sector block for my data storage.
I have read in data-sheet that whit "Copy RAM to Flash" IAP function is possible write only 256, 512, 1024 or 4096 byte.
Prompt if I must write only 10 bytes will always have to write at least 256.
This limit applies to all sectors?
0 Kudos
3 Replies

354 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Tue Jul 20 07:40:26 MST 2010
You could always read the 256 bytes that you want to overwrite, change the 10 bytes you want to replace, and then write the 256 bytes back...
0 Kudos

354 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by blasiis on Tue Jul 20 07:31:11 MST 2010

Quote: micrio
Yes, you can only write in those sizes. If you want to write 10 bytes you must pad it out to 256.


:(:(:(:(
0 Kudos

354 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by micrio on Tue Jul 20 07:22:10 MST 2010
Yes, you can only write in those sizes. If you want to write 10 bytes you must pad it out to 256.
0 Kudos