6
« on: February 10, 2011, 07:03:40 AM »
Hi All,
I'm using Flashmagic both as GUI and as batch file, too.
If a selected device in the GUI doesn't match the connected device, a warning pops up. Thats great!
Not so in the FM console:
When using the console programming I can select a LPC 2377 and program for example a LPC2478 without warning.
fm COM(1, 115200) DEVICE(LPC2377, 4.000000) HEXFILE(hexfile.hex, NOCHECKSUMS, NOFILL, PROTECTISP) VERIFY(hexfile.hex, NOCHECKSUMS)
Not even verify gives errors.
Will there any errorlevel value given back when doing actions on a wrong device? I would be glad when able to avoid overwriting other devices.
Alternatively, I found the READSIGNATURE command.
But it helps a little only, as it requires double checking of a 9 digit number. And do I know if the signature remains the same during all life cycle of a LPC2478?