Society of Robots - Robot Forum

Software => Software => Topic started by: klims on February 11, 2011, 01:55:54 AM

Title: HOW TO: use batch files to make programming your Axon easier
Post by: klims on February 11, 2011, 01:55:54 AM
It may be old news, but I only just discovered how MS DOS batch files could help me avoid typing FBOOT17.exe -c3 -b115200 -paxon.hex -vaxon.hex every time I wanted to program my Axon. I realise I can use the up arrow to repeat the last used command, but I still have to type it the first time.

Pretty much all you need to do is type the command you want to run in your batch file, rename the file to something meaningful like 'program' then just run the batch file by simply typing 'program' and hit enter. I would have attached a working .bat file but it's not allowed.

Can also be useful if you need to constantly move you .hex file to a different directory because FBOOT doesn't like being too far into subdirectories.


Enjoy.
Title: Re: HOW TO: use batch files to make programming your Axon easier
Post by: Admin on February 11, 2011, 07:37:25 PM
This is what I do, keeping it directly on my desktop:
http://societyofrobots.com/robotforum/index.php?topic=4964.0 (http://societyofrobots.com/robotforum/index.php?topic=4964.0)

(it's linked in the Axon getting started tutorial :P)

You can also use the FBOOT GUI:
http://www.societyofrobots.com/downloads/fboot_GUI.zip (http://www.societyofrobots.com/downloads/fboot_GUI.zip)