Author Topic: Problems to programm external Flash with FM.exe command line  (Read 143 times)

Thorsten

  • Jr. Member
  • **
  • Posts: 1
    • View Profile
Problems to programm external Flash with FM.exe command line
« on: April 07, 2017, 07:09:12 am »
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

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2091
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Problems to programm external Flash with FM.exe command line
« Reply #1 on: April 07, 2017, 09: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
Embedded Systems Academy, Inc.
support at esacademy dot com