Sector block used for data storage

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

Sector block used for data storage

1,380件の閲覧回数
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 件の賞賛
返信
3 返答(返信)

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

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

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