I can use FlashMagic V5.91 GUI to successfully program my LPC11C14/301 via a PCAN USB.
I am struggling to get a working script to program it on the command line.
"Save Command Line Directives" gives me the following script:
COM(0, 9600)
DEVICE(LPC11C14/301 CAN, 0.000000)
ERASEUSED(C:\Firmware\Luci\Cortex\Luci_Cortex_V1_01.hex, PROTECTISP)
HEXFILE(C:\Firmware\Luci\Cortex\Luci_Cortex_V1_01.hex, NOCHECKSUMS, NOFILL, PROTECTISP)
Line 1 fails (not surprisingly) so I deleted it.
Line 2 fails with "unknown device", so I deleted the whitespace before "CAN".
This gives me the following script:
DEVICE(LPC11C14/301CAN, 12.000000)
ERASEUSED(C:\Firmware\Luci\Cortex\Luci_Cortex_V1_01.hex, PROTECTISP)
HEXFILE(C:\Firmware\Luci\Cortex\Luci_Cortex_V1_01.hex, NOCHECKSUMS, NOFILL, PROTECTISP)
I now get "Connection failed: comms error".
Is there an undocumented command to set up the CAN communication parameters?
Any help gratefully received,
Bob