Yahoo Groups archive

Lpc2000

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

Thread

IAP return

IAP return

2004-03-24 by jpsg123

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.

-John G-

Re: [lpc2000] IAP return

2004-03-25 by Charles Manning

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

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.