On Wednesday 24 March 2004 13:37, jpsg123 wrote: > Hi All, > > It seems returning from an IAP call, I need to insert some delays after > returning from an IAP or else my results would be wrong. Is this because of > the switch from ARM->THUMB->ARM? For now, I'm just inserting a delay loop. I can't see how this is part of the ARM->THUMB->ARM transition. The core switches modes immediately, but the correct 'hand holding' is required for the transition to work properly. Is the code you are returning to executing from flash? If so, be aware that the flash needs to be ready before you can execute from it again. I'd have expected the IAP to only return once the flash is ready. Perhaps try turning MAM off, if it is enabled. -- Charles
Message
Re: [lpc2000] IAP return
2004-03-25 by Charles Manning
Attachments
- No local attachments were found for this message.