This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Is IAP the only way of storing persistent data?

Hi

Im using the LPC2103 MCU and I need to store some calibration data in the flash, so the calibration doesnt get lost when the system is powered off.

I know I can use IAP to do this, but is there other mehods?
Not that I dont like the IAP solution, but just to know.! :-)

I guess I have to reserve some of the flash for this purpose. How is that done in KEIL?

/thomas

Parents Reply Children
  • I think I found it:

    tech.groups.yahoo.com/.../2681

    It appears that on-chip flash memory in LPC2xxx MCU's has some serious limitations.
    I've been working with MCU's from ST and Freescale, and their on-chip flash memory doesn't have such limitations. Which is not surprising: ST is known for their advanced flash memory technology, and Freescale licenses one from SST.

  • Good catch. I don't think it is the same post (I think I picked up my info on the nxp or standardics forums) but the gist of the information is the same as I read.

    I might be wrong when I thought they claimed max 13 writes before erasing and rewriting the sector. This post claims 16 writes.

    Anyway - this is a link to keep. The information in it is very important and should have been in the procesor manuals. (Or maybe it is, for some LPC chips, but I haven't found it in the manuals I have read.)