Flash Magic Forum

In-System Programming Support => General => Topic started by: gesingle on March 04, 2011, 01:54:30 pm

Title: FM.EXE command line - Option to prompt for reset?
Post by: gesingle on March 04, 2011, 01:54:30 pm
I set up a customized tool in uVision3 to launch FlashMagic:

DEVICE(89V51RD2,0) ERASEUSED(%H, PROTECTISP) HEXFILE(%H, NOCHECKSUMS, NOFILL, PROTECTISP) COM(1,38400) RESET

It works, but gives no prompt to "Reset the device into ISP mode now" or other clue that it is waiting for this action.

Is there a command line option to give a prompt or make FM more verbose? Status reports at the start of each step, such as "Programming...", would also be helpful.
Title: Re: FM.EXE command line - Option to prompt for reset?
Post by: Andy Ayre on March 08, 2011, 02:21:52 am
Instead of calling FM.EXE directly from uVision, put it in a batch file and call that from uVision. Then you can use the DOS echo command to tell the user to reset the device.

Andy