using Internal Flash Memory for storage

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

using Internal Flash Memory for storage

2,213 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by shaileshbc on Thu Jul 28 21:32:01 MST 2011
Dear All,
i am using LPc1769, which has 512 KB Flash memory.
i want to know whether this memory can be used for storing of data rather than using external flash memory for storing data.
whether stored data in this flash will remain even after power is off?
regards
Shailesh
0 Kudos
Reply
4 Replies

1,884 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by killua on Mon Feb 27 04:44:31 MST 2012
Sorry for bumping this old thread.. but are there any libraries for IAP programming for LPC 1343 like those zip files posted in the last two replies?

Thanks
0 Kudos
Reply

1,884 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Rob65 on Sat Jul 30 22:56:27 MST 2011
Or check out AN11071
as suggested in another post from kendwyer.

I would not use the internal Flash in an EEPROM manner.
The problem is that when you run out of erase/write cycles you are stuck with a defective board/lpc17xx chip.
For EEPROM storage I strongly advise to use something like a 24LC08 (1 kByte EEPROM for € 0,40) or a 24LC32 (4 kByte for € 0,55). This device gives you 1 million write cycles, is per byte programmable (no need to erase a complete block) and it is easily to replace when you run out of write cycles.

Rob
0 Kudos
Reply

1,884 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by kendwyer on Sat Jul 30 14:48:04 MST 2011
It is possible to make the Flash work like an EEPROM for data storage.
The AN below has some information on this:
http://ics.nxp.com/support/documents/microcontrollers/zip/an11008.zip
0 Kudos
Reply

1,884 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Rob65 on Fri Jul 29 06:54:53 MST 2011
If you are able to find this forum you should also be able to find the user manual for the lpc17xx (hint: it's on NXP's website).
In that manual there is a whole chapter on flash use.
I suggest to read that and then come back with detailed questions if you still do not know how to use the in application programming interface.

Rob
0 Kudos
Reply