Difference between revisions of "Firmware Upgrade"

From IPRE Wiki
Jump to: navigation, search
Line 2: Line 2:
  
 
# Download [http://svn.cs.brynmawr.edu/viewvc/Myro/trunk/Upgrade/upgrade.py?view=co upgrade.py] and save to a known location.
 
# Download [http://svn.cs.brynmawr.edu/viewvc/Myro/trunk/Upgrade/upgrade.py?view=co upgrade.py] and save to a known location.
# Double-click on the file, or:
+
# Double-click on the file (or use the Command Line Option, below)
## Open a console/terminal window.
+
 
## cd to the known location
+
If you have a Fluke purchased before September 2011, you will need to upgrade the Fluke first:
## Enter at the console prompt:
+
 
##* python upgrade.py
+
# Select the Fluke option
 +
# On Windows, enter the com port (eg, COM8); on Mac/Linux enter the device path (eg, /dev/rfcomm0)
 +
# Click on the Upgrade button
 +
 
 +
After upgrading the Fluke, you can then upgrade the Scribbler.
 +
 
 +
# Select the Scribbler option
 +
# On Windows, enter the com port (eg, COM8); on Mac/Linux enter the device path (eg, /dev/rfcomm0)
 +
# Click on the Upgrade button
  
 
= Graphical User Interface =
 
= Graphical User Interface =
Line 21: Line 29:
  
 
= Command Line Options =
 
= Command Line Options =
 +
 +
## Open a console/terminal window.
 +
## cd to the known location
 +
## Enter at the console prompt:
 +
##* python upgrade.py
  
 
<pre>
 
<pre>
Line 42: Line 55:
 
   python upgrade.py --help
 
   python upgrade.py --help
 
</pre>
 
</pre>
 +
 +
= Trouble Shooting =
 +
 +
It is a good idea to turn the Fluke and Scribbler off and then back on after each upgrade.
 +
 +
When the Scribbler is upgraded, it will play 5 notes quickly when you first turn it on or reboot it.

Revision as of 11:22, 11 August 2011

This page details the upgrade.py program for upgrading the Fluke and Scribbler and Scribbler2 robots to use the latest Myro firmware, over Bluetooth. The program starts up a graphical user interface by default, but it can also be used as a command line program (see below for options).

  1. Download upgrade.py and save to a known location.
  2. Double-click on the file (or use the Command Line Option, below)

If you have a Fluke purchased before September 2011, you will need to upgrade the Fluke first:

  1. Select the Fluke option
  2. On Windows, enter the com port (eg, COM8); on Mac/Linux enter the device path (eg, /dev/rfcomm0)
  3. Click on the Upgrade button

After upgrading the Fluke, you can then upgrade the Scribbler.

  1. Select the Scribbler option
  2. On Windows, enter the com port (eg, COM8); on Mac/Linux enter the device path (eg, /dev/rfcomm0)
  3. Click on the Upgrade button

Graphical User Interface

Stand alone upgrade tool

To use the upgrader, indicate what you want to upgrade (Fluke or Scribbler) by selecting the appropriate radio button. (Default: Scribbler).

Then, type in the name of your bluetooth serial port, such as "COM4" or "/dev/tty.scribbler" (without quotes).

Make sure you are connected to the Internet so that the tool can download the latest firmware.

Finally, press the "Upgrade" button.

Command Line Options

    1. Open a console/terminal window.
    2. cd to the known location
    3. Enter at the console prompt:
      • python upgrade.py
Fluke and Scribbler/Scribbler2 Upgrade Program
----------------------------------------------
Usage:
   python upgrade.py --url=URL --port=PORT WHAT

     URL - (optional) is an internat address to use
     PORT - (optional) is the serial port address to use
     WHAT - (optional) is scribbler OR fluke

Examples:

   python upgrade.py
   python upgrade.py fluke
   python upgrade.py scribbler
   python upgrade.py --port=COM5 fluke
   python upgrade.py --port=/dev/rfcomm3 scribbler
   python upgrade.py --url=http://myurl.com/file.bin fluke
   python upgrade.py --help

Trouble Shooting

It is a good idea to turn the Fluke and Scribbler off and then back on after each upgrade.

When the Scribbler is upgraded, it will play 5 notes quickly when you first turn it on or reboot it.