Content originally posted in LPCWare by micrio on Fri Feb 22 11:00:02 MST 2013
Some time ago I fought a weird problem because I didn't know that
you had to reserve 32 bytes at the top of RAM for the IAP routines.
With help from this group I reserved the 32 bytes and all was well.
That was a few versions of LPCXpresso ago. With the periodic upgrades
I lost the setting. It is pretty obscure and burried down in many layers of
menus. There has to be a better way.
If it is not possible for the environment to determine automatically if you
are using IAP then there should be some #define that you can put in your
code to cause the 32 bytes to be reserved. I suggest something like:
#define USING_IAP
or
#define IAP_RESERVED 32
If there is already something like this I would be happy to learn about it.
Thanks,
Pete.