Forums

IAP-commands in application code?

Started by Unknown April 2, 2004

Hello,

I want to use the IAP Commands in my program to erase/program sectors of
the LPC2124 device.
I try to follow the guidelines given by the manual and have successfully
used the following commands;
Blanck check
Read Part ID
Read Boot code version

The Erase Sector(s)- and Copy Ram to Flash- commands requires a Prepare
Sector(s) before they can execute.
The Prepare Sector(s) seems to be executed ssuccessfully , but the Erase
Sector(s)-command reports that the sector is not prepared.
In my case, I am running from ram and my interrupts are not enabled.

What is wrong here?
Does anybody have any experience with these commands?

Thanks
Kirsti


An Engineer's Guide to the LPC2100 Series