Flash Magic Forum

In-System Programming Support => LPC2xxx => Topic started by: njwork on September 14, 2006, 11:19:34 PM

Title: Erase(0x100,protectisp) LPC2132 BLOCK 8 Error!
Post by: njwork on September 14, 2006, 11:19:34 PM
Erase lpc2132 block 8  Used Erase(0x80,protectisp)  ,result Ok!
 but Erase lpc2132 block 9  Used Erase(0x100,protectisp)  ,result error!
  Soft Display:
ERROR: Invalid parameters for ERASE directive: erase(0x100,protectisp)

so I only use ERASEUSED(c:\tst.hex,PROTECTISP)  erase ;
Title: Re: Erase(0x100,protectisp) LPC2132 BLOCK 8 Error!
Post by: Andy Ayre on September 15, 2006, 11:29:34 AM
The ERASE command recently changed. The first parameter should be the number of the block (0 to n). Make sure you are using the latest version of FM.