Settings Files

Started by Andy Neil, January 06, 2005, 08:27:54 AM

Previous topic - Next topic

Andy Neil

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

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

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)