Flash Magic Forum

In-System Programming Support => ARM Cortex => Topic started by: Thorsten on April 06, 2017, 11:09:12 pm

Title: Problems to programm external Flash with FM.exe command line
Post by: Thorsten on April 06, 2017, 11:09:12 pm
Hello
I have the following problem. I must program the external flash of the LPC1787.
With the GUI there is no problem. I select after the standard programming of the LPC1787 over select device the external flash and program it.
But when i select the same device with the command line, it said that the device is unknown. I tried every external flash to look what the command line said but, it is the same.
This parameters works fine
COM(8, 115200)
DEVICE(LPC1787, 0.000000, 0)
HARDWARE(BOOTEXEC, 50, 100)
LINEFEEDS(TX, RX)
HEXFILE(H:\HMI.hex, NOCHECKSUMS, NOFILL, PROTECTISP)

The following commands works over the GUI FlashMagic.exe but not over the command line FM.exe. The device is a hexfile which gives my a collegue. It works over GUI and was copied in the directory Bootloaders
COM(8, 57600)
DEVICE(S29GL128 Flash on LPC1787 57600bd, 0.000000, 0)
HARDWARE(BOOTEXEC, 50, 100)
LINEFEEDS(TX, RX)
HEXFILE(H:\HMI.hex, NOCHECKSUMS, NOFILL, PROTECTISP)


Thanks for help
Title: Re: Problems to programm external Flash with FM.exe command line
Post by: Andy Ayre on April 07, 2017, 01:14:53 am
Hi, I responded to your email yesterday afternoon with some questions and I didn't see a response back.

Programming external flash isn't supported on the command line. If you are using LabView you should use the included VI which uses the C# DLLs and modify it to program external flash that way.

Andy