Yahoo Groups archive

Lpc2000

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

Message

Re: IAP successfully used in LPC2119/2129/2194/2292/2294?

2004-07-14 by Karl Olsen

--- In lpc2000@yahoogroups.com, givc@y... wrote:
> Has anyone used built-in In-Application Programming functions 
> successfully in any of those LPC's??
> 
> I'm having problems erasing sectors and wonder if someone would 
help 
> me figure out what am i missing.

Hi Gonzalo,

I am also having problems with the LPC2114.  It would consistently 
hang in "Copy RAM to Flash" and "Erase sectors", and when running at 
cclk=60MHz, it would generate a Prefetch Abort after 29 seconds (58 
seconds when running at cclk=30MHz).

After reading
http://groups.yahoo.com/group/lpc2000/message/2472
I contacted Promax, and after a while I learned that my chip might 
also be affected by the firmware bug, and that the problem mostly 
happens with cclk > ~11 MHz.  As a workaround, until I get new chips, 
I now disable the PLL around the two IAP calls, running them at 
cclk=Fosc=10MHz.  It now seems to work.  This of course also messes 
up the peripherals since pclk is also changed, but since all 
interrupts must be disabled (my interrupt handlers are in flash), not 
much can work during IAP anyway.

Karl Olsen

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.