Hi Guille, Just to let you know that the IAP looks after everything and I had some misgivings about having to hand control over to an IAP. But, as I said, it looks after everything. I certainly don't get any inadvertent Flash corruption happening. My software runs from Flash and never has a problem with programming it. A little side note though, somewhere between the early IAP in the 2106 and the latest in the 2138 I had problems. My IAP routines were reporting a program failure. It turned out I was assuming that R0,R1 would stay intact as it had originally, but the new IAP does not restore them. Also, I wish Philips would handle the address to sector translate though, otherwise the application interface has to worry about it for the different cpu sector maps (petty whinge). *Peter* 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).
Message
Re: [lpc2000] Re: LPC2138FBD64 - not possible to run from Flash and use IAP?
2005-10-27 by Peter Jakacki
Attachments
- No local attachments were found for this message.