Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] IAP Blocking for 400ms?

2006-05-10 by Peter Jakacki

Bryce Schober wrote:
> I just want to make sure that I'm reading this right before committing to
> using a serial flash. It seems that the lpc21xx on-chip can't really be used
> for eeprom emulation in real-time scenarios, since its sector erase takes
> hundreds of milliseconds and is a blocking function. I guess that's why some
> of philips' competitors have a separate data flash for such usage. The price
> point of the lpc21xx doesn't look so good for us, when you have to tack on
> an extra $1+ for an external SPI flash device.

I have used program flash on other micros for data eeprom before but I 
really don't like doing it as I increase the risk that the program could 
become corrupted due to a software bug. In which case I wished that I 
had just spent the buck.

When it comes to the LPC21xx I just would not even consider doing this 
at all and I would rather spend the buck on a safe n sure serial eeprom. 
However, that being said, I do backup blocks of data from RAM but this 
is usually done only infrequently.

When considering the internal flash for eeprom use, the limits of 16 
bytes at a time for programming and need for large sector erase, vpp 
generator start-up time etc should be sounding alarm bells. The voice in 
your head should be going "NO WAY".

Anyway, that's just my2cents,
*Peter*

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.