Difference between revisions of "IPRE Fluke Setup"

From IPRE Wiki
Jump to: navigation, search
Line 4: Line 4:
 
  >>> upgrade("fluke")   
 
  >>> upgrade("fluke")   
  
(B) If you have an older version (version 2.4 or earlier) of the [[IPRE Fluke]] firmware, then you will need to directly connect to the Fluke with a serial cable, provide an external power supply, and download and run the program http://myro.roboteducation.org/~dblank/lpc21isp-ipre-win.zip.  Note that you will only have to do the serial connection '''once''' with the older version, after which you can simply do (A) above.
+
(B) If you have an older version (version 2.4 or earlier) of the [[IPRE Fluke]] firmware, then you will need to directly connect to the Fluke with a serial cable, provide an external power supply, download the .hex file, and download and run the program .  Note that you will only have to do the serial connection '''once''' with the older version, after which you can simply do (A) above.
 +
 
 +
# Get http://myro.roboteducation.org/~dblank/lpc21isp-ipre-win.zip
 +
# Unzip and place contents in directory, '''unzip lpc21isp-ipre-win.zip'''
 +
# Get the latest hex file from http://myro.roboteducation.org/~dblank/myro/upgrade/fluke and save in same directory
 +
 
 +
Finally, run one of the following commands (or a variation of it):
  
unzip lpc21isp-ipre-win.zip
 
 
  lpc21isp-ipre.exe -control main.hex /dev/tty.usbserial 38400 20000
 
  lpc21isp-ipre.exe -control main.hex /dev/tty.usbserial 38400 20000
 
  lpc21isp-ipre.exe -control main.hex com1 38400 20000
 
  lpc21isp-ipre.exe -control main.hex com1 38400 20000
 
The source code for the above can be found:
 
 
http://www.roboteducation.org/files/lpc21isp-ipre.c
 
 
 
  
 
Detailed Instructions for (B):
 
Detailed Instructions for (B):
Line 24: Line 23:
 
# Copy the command in (B) above that is appropriate for your computer OS (first command is for Linux, second is for Mac, third is for Windows).
 
# Copy the command in (B) above that is appropriate for your computer OS (first command is for Linux, second is for Mac, third is for Windows).
 
# Paste it in the console (you will need to right-click & select "paste"; keyboard commands don't work in the console) and hit "Enter".  The new Fluke hardware should begin loading!
 
# Paste it in the console (you will need to right-click & select "paste"; keyboard commands don't work in the console) and hit "Enter".  The new Fluke hardware should begin loading!
 +
 +
The source code for the above can be found:
 +
 +
http://www.roboteducation.org/files/lpc21isp-ipre.c

Revision as of 19:14, 4 January 2008

(A) If you are using version 2.5 or later of the IPRE Fluke firmware, then you need only Start Python and issue the commands:

>>> from myro import *
>>> upgrade("fluke")  

(B) If you have an older version (version 2.4 or earlier) of the IPRE Fluke firmware, then you will need to directly connect to the Fluke with a serial cable, provide an external power supply, download the .hex file, and download and run the program . Note that you will only have to do the serial connection once with the older version, after which you can simply do (A) above.

  1. Get http://myro.roboteducation.org/~dblank/lpc21isp-ipre-win.zip
  2. Unzip and place contents in directory, unzip lpc21isp-ipre-win.zip
  3. Get the latest hex file from http://myro.roboteducation.org/~dblank/myro/upgrade/fluke and save in same directory

Finally, run one of the following commands (or a variation of it):

lpc21isp-ipre.exe -control main.hex /dev/tty.usbserial 38400 20000
lpc21isp-ipre.exe -control main.hex com1 38400 20000

Detailed Instructions for (B):

  1. Connect your Fluke via serial cable to the computer, and also hook up a power line to your Fluke.
  2. Download program found at http://myro.roboteducation.org/~dblank/lpc21isp-ipre-win.zip. Make sure to save program to desktop. (If you need to unzip, right click the downloaded folder and choose "Explore". You may need to 'open containing folder' & then "Explore".)
  3. Download main.hex file and save to desktop (as main.hex).
  4. Open the console (Start --> Run --> type 'cmd').
  5. In the console, type "cd desktop" .
  6. Copy the command in (B) above that is appropriate for your computer OS (first command is for Linux, second is for Mac, third is for Windows).
  7. Paste it in the console (you will need to right-click & select "paste"; keyboard commands don't work in the console) and hit "Enter". The new Fluke hardware should begin loading!

The source code for the above can be found:

http://www.roboteducation.org/files/lpc21isp-ipre.c