The STARTBOOTROM command-line option does not seem to work

Started by Anonymous, April 15, 2003, 11:27:21 AM

Previous topic - Next topic

Anonymous

Hi!

The command "FM.EXE COM(1,9600) STARTBOOTROM(BREAK)" outputs
    Flash Magic Version 1.72
    (DLL Version 1.42)
    (C) Embedded Systems Academy 2000-2003 All rights reserved
but nothing happens on the device.  Even with the additional option
"DEVICE(P89LPC932,7.373)" [which should not be necessary for the
STARTBOOTROM command!?] no line break is recognized by the device.

Using exactly the same settings from the GUI does work as expected.

Cheers,
Rumsfeldstielzchen.

Andy Ayre

Hi,

Flash Magic only does something if you use one of the "operation" directives. STARTBOOTROM is a "configuration" directive - i.e. it simply configures access to the device.

You did not specify any ISP operations to perform, for example, erase, read security bits, etc. so Flash Magic does nothing as there is no point sending the break condition if you are not going to use the ISP functionality. So normally you would use something like:

FM.EXE COM(1, 9600) DEVICE(P89LPC932, 7.373) STARTBOOTROM(BREAK) READSECURITY

specifying the com port, device, how to get into ISP mode and the actual ISP operations to perform in ISP mode.

If I were convinced that the command line you are using could be useful then I will consider changing the way Flash Magic operates to allow that, but I need to be convinced first.

Andy

Embedded Systems Academy, Inc.
support at esacademy dot com