Yahoo Groups archive

Lpc2000

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

Thread

IAP-commands in application code?

IAP-commands in application code?

2004-04-02 by kiaa@networks.nera.no

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

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.