Yahoo Groups archive

Lpc2000

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

Message

Re: LPC2138FBD64 - not possible to run from Flash and use IAP?

2005-10-27 by Guillermo Prandi

> This usually means that you disable interrupts or relocate
> all your ISP routines into RAM.

Hi, Richard. I don't understand the "relocate all your ISP routines 
into RAM" part. What ISP routines? Shouldn't disabling all interrupts 
be enough?

Guille

--- In lpc2000@yahoogroups.com, Richard Duits <yahoo@r...> wrote:
>
> Hi Guillermo,
> 
> You can call the IAP routines from code running in flash, but you 
must 
> be sure that nothing will use the flash during the IAP call. This 
> usually means that you disable interrupts or relocate all your ISP 
> routines into RAM.
> 
> Richard.
> 
> 
> Guillermo Prandi wrote:
> 
> > Hi, Bob... I am worried about what you just wrote. I'm in the 
middle
> > of an urgent project and I took for granted that I can use IAP 
while
> > my code runs from Flash without giving it a second tought. Can you
> > please explain the concept a little more? I'm reading the LPC2138
> > user's manual at 20.4.10 and it suggests it is possible as long as
> > you disable interrupts while using IAP (or make interrupts to run
> > from RAM).
> >
> > Guille
> >
>

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.