This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

LPC11C14 And IAP Command Code 57 BUG (Reinvoke ISP) CAN

Hello every one.

I belive I've found a bug with NXP IAP57 reinvoke command, it has a higher chance to effect KEIL users because of the compiler stack placement (Stack is place at the bootm of RAM).

NXP LPC11C14 user manual states that the IAP57 command will reset the stack pointer as part of its initilazation phase which should place its local variables at the top of RAM (but it doesn't). when Flash magic starts to write to RAM, via ISP, it avoids using the first 416 byte of RAM(this is where IAP and ISP stack should be at).

I've writting about it and the workaround over at NXP forum. The fix will work on both compiler.

Here the Link: ">http://www.keil.com/forum/16503/

0