Author Topic: Settings Files  (Read 4441 times)

Andy Neil

  • Guest
Settings Files
« on: January 06, 2005, 08:27:54 am »
The FlashMagic GUI can save its settings to a .fms settings file;
The command-line FM.exe can accept its directives from a command file.

It would be really useful if these two file formats were compatible, so that a single file could be used to guarantee identical settings whether using the GUI or the command-line version!
This would also be useful for IDE integration, so that a single file could be used to guarantee identical settings whether using FlashMagic directly or via the IDE.

Unfortunately, FM.exe doesn't accept the GUI's .fms settings file :(
It says, "ERROR: Unknown directive: [main]"  :(

Any hints or utilities for converting a .fms settings file into a command file compatible with FM.exe?


Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2143
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Settings Files
« Reply #1 on: January 06, 2005, 08:36:41 am »
Interesting idea. We do plan to add at some point the option to save the command line options from the GUI. The command line directives are much more powerful tha the GUI is however, allowing you to create repeated cycles of operations, program multiple hex files, etc.

Embedded Systems Academy, Inc.
support at esacademy dot com

Andy Neil

  • Guest
Re: Settings Files
« Reply #2 on: January 06, 2005, 11:12:48 am »
That'd be good :thumbsup: :)

Another useful feature would be the ability to specify some options in a command file, plus some directives on the command line; eg,

FM.exe @mcb900.cmd HEXFILE(...)

Thus we could have a standard set of options for, say, a Keil MCB900 board in the command file, and then add just the project-specific directives on the command line.

Or even, as you suggest, build up more complex operations for a number of "component" command files...  8)