Author Topic: FM.EXE command line - Option to prompt for reset?  (Read 5427 times)

gesingle

  • Jr. Member
  • **
  • Posts: 4
    • View Profile
FM.EXE command line - Option to prompt for reset?
« 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.

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2169
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: FM.EXE command line - Option to prompt for reset?
« Reply #1 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
Embedded Systems Academy, Inc.
support at esacademy dot com