Flash Magic Forum

General => General Discussion => Topic started by: dipal.singh on August 10, 2010, 11:07:15 AM

Title: Doubt about using FM from my java code
Post by: dipal.singh on August 10, 2010, 11:07:15 AM
Hello everyone...i am developing an application that will run the exe file of FM
but i am unaware of how to pass parameters(such as file path etc) and how to let FM initiate  the burning process itself i.e i want the start button to be pressed automatically( or the same effect is desired )...any guidance will be highly appreciated
Title: Re: Doubt about using FM from my java code
Post by: Andy Ayre on August 12, 2010, 08:55:41 AM
You need to use the command line interface instead for control from your own application.

Andy
Title: Re: Doubt about using FM from my java code
Post by: Andy Ayre on August 15, 2010, 09:13:11 AM
You shouldn't post your email address like that. Spammers automatically scan websites like this one looking for email addresses. I suggest you edit your post to remove it.
Title: Re: Doubt about using FM from my java code
Post by: dipal.singh on September 14, 2010, 04:50:18 AM
hello everyone...im on the verge of completing my web application that allows a user to upload a hex file into a Firebird V robot automatically from anywhere in the world!!!! im facing one problem...i ve to manually press the reset button on the robot everytime to enable its ISP mode while writing to its ROM...else everything is working fine....please suggest a solution...i tried using DTR but its not working properly...thanks :)
Title: Re: Doubt about using FM from my java code
Post by: Andy Ayre on September 14, 2010, 08:34:37 AM
You don't mention the device you are using, so you will only get general help from people...

The DTR/RTS option does work. You should avoid using USB to RS232 cables and use a scope to observe the action of the signals to debug your hardware.
Title: Re: Doubt about using FM from my java code
Post by: dipal.singh on September 15, 2010, 06:59:22 AM
the device is 89V51RD2 on a Firebird V robot by Nex robotics....its manual says to uncheck the use DTR to control RST option from the hardware config menu...and yes im using a usb to serial converter   :(
Title: Re: Doubt about using FM from my java code
Post by: Andy Ayre on September 15, 2010, 08:56:55 AM
If you have no control over the hardware then you have no choice. You will need to contact the hardware manufacturer to find out what options (if any) you might have to start the bootloader under software control.

Some of the USB-based virtual COM port drivers have an issue with DTR and RTS. Unfortunately I can't be more specific than that as we don't have enough data to pin it down.

Andy
Title: Re: Doubt about using FM from my java code
Post by: dipal.singh on September 20, 2010, 12:24:16 PM
what i the command line command or the shortcut key for clicking the ISP->Reset option ??
Title: Re: Doubt about using FM from my java code
Post by: Andy Ayre on September 20, 2010, 12:48:43 PM
Quote from: dipal.singh on September 20, 2010, 12:24:16 PM
what i the command line command or the shortcut key for clicking the ISP->Reset option ??

See the Flash Magic manual pages 75 and 88.