Thanks, Richard. By the way... Is there any hint or record about how long do IAP routines take to prepare/erase/save the flash for any given sector size? Guille --- In lpc2000@yahoogroups.com, Richard Duits <yahoo@r...> wrote: > > Disabling interrupts is enough, but if you do not or cannot do that, you > have to make > sure that everything used by your interrupt service routines (ISR) is in > RAM. > > ISP should have been ISR, sorry about that. > > Richard. > > > Guillermo Prandi wrote: > > > > 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 > > > > > > > >
Message
Re: LPC2138FBD64 - not possible to run from Flash and use IAP?
2005-10-27 by Guillermo Prandi
Attachments
- No local attachments were found for this message.