> Actually the IAP is Thumb code, not ARM. Take a look at the code I
posted
> in the files section on Yahoo. 'LPC-FlashRoutines-18Feb05.zip' may
be of
Thanks to all who answered to my question.
Now it works!!
The reason for the exception I got was that the compiler I'm using
converted the HLL line
iap_entry(command,result);
in finally
...
MOV PC,r3
...
That caused the mentioned exception.
After I inserted a piece of ASM code containing finally
....
BX r3
....
it works as expected.
Thanks again for your help, I appreciate it.Message
Re: Struggling with LPC2138 IAP.
2005-11-16 by r_bottleneck