Changes between Initial Version and Version 1 of WAM/FirmwareUpdate


Ignore:
Timestamp:
May 13, 2011, 3:19:21 PM (13 years ago)
Author:
edison
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WAM/FirmwareUpdate

    v1 v1  
     1= WAM Firmware Update =
     2
     3Updating the firmware occurs in two steps: updating the Pucks™, and updating the Safety Board. However, both of these processes must be completed in the order below; do not do one without the other. The following instructions are for WAMs which have the most current version of safety boards (the wireless router is mounted on the outside). If you are trying to update a WAM without the above characteristics, or you need to download some of the files mentioned in the following steps please see instructions on the Barrett wiki at: http://wiki.barrett.com/index.php/Firmware_update_instructions.
     4
     5== Pucks™ ==
     6        1. Move to the btutil directory (cd ~/btclient/src/btutil)
     7        1. Make the btutil application (make clean; make)
     8        1. Turn on the WAM power supply
     9        1. Press <SHIFT+RESET/IDLE> on the control pendant
     10        1. Determine which version of firmware you are upgrading from (./btutil -g 1)
     11        1. Note the VERS (version) and CTS (counts) parameters.
     12        1. Repeat the following steps (replace <id> with a Puck™ number to update, 1 – 7):
     13                a. For WAMs with optical encoders (if CTS = 40960)
     14                        * Motors 1-4: ./btutil -d <id> -f puck2.tek.r39b
     15                        * Motors 5-6: ./btutil -d <id> -f puck2.tek.r39b.wdiff
     16                        * Motor 7: ./btutil -d <id> -f puck2.tek.r39b.wroll
     17                a. For WAMs with magnetic encoders (if CTS = 4096), all motors: ./btutil -d <id> -f puck2.tek.r109
     18                a. Wait for the download to complete
     19                a. Set the default parameters for the new firmware (./btutil -p <id> -l <id>)
     20                        * “-l” is a dash-ell, not dash-one
     21                        * example for puck 2: ./btutil -p 2 -l 2
     22        1. Switch off the WAM power supply when you have finished updating all the pucks.
     23        1. Update the Safety Board firmware using the instructions on the following page (this is not optional).
     24 
     25== Safety Board ==
     26        1. Ensure that main power to the WAM is off.
     27        1. Remove the wrap-around base cover by releasing the four latches that secure it to the back plate of the WAM.
     28        1. Use a 4-mm hex key to remove the screw that keeps the back plate closed.
     29        1. Remove the 4-6 small Philips screws securing the safety board cover (see Figure 30).
     30        1. Connect the serial cable (Figure 31) to the connector near the safety puck and flip the nearby switch (both halves) to the "ON" position. See Figure 32 for the final setup.
     31        1. Connect the other side of the serial cable to COM1 of a Windows PC.
     32        1. Turn on main power to the WAM.
     33        1. Under MS Windows, simultaneously drag puck2mon.out.r6 and puck2.out.r102.enet.mag onto F28xxConsole.exe.
     34        1. Wait for the download to complete (about 4 minutes).
     35        1. Turn off main power to the WAM.
     36        1. Flip the nearby switch (both halves) to the "OFF" position (opposite of Figure 32).
     37        1. Launch !TeraTerm/Hyperterminal (9600 baud, no parity, 8 bits, 1 stop bit, no flow control)
     38        1. Turn on main power to the WAM. You should get a prompt (=>). Type the following commands in sequence, each followed by <Enter>. A mis-typed command will NOT result in an error message, so type carefully!
     39                a. SET SAFE 4 (this is necessary; do not skip this step)
     40                a. SET SAFE 5
     41                a. FIND VBUS
     42                a. SET SAFE 0
     43                a. SET VOLTL1 36
     44                a. SET VOLTL2 30
     45                a. SET VOLTH1 54
     46                a. SET VOLTH2 57
     47                a. SET GRPA 1
     48                a. SET GRPB 2
     49                a. SET GRPC 3
     50                a. SAVE
     51                a. RESET
     52                a. GET VOLTL1 (should be 36, else SET and SAVE it again)
     53                a. GET VOLTL2 (should be 30, else SET and SAVE it again)
     54                a. GET VOLTH1 (should be 54, else SET and SAVE it again)
     55                a. GET VOLTH2 (should be 57, else SET and SAVE it again)               
     56                a. GET GRPA (should be 1, else SET and SAVE it again)
     57                a. GET GRPB (should be 2, else SET and SAVE it again)
     58                a. GET GRPC (should be 3, else SET and SAVE it again)
     59        1. Turn off main power to WAM
     60
     61{{{
     62#!div class="center" align="center"
     63[[Image(htdocs:wam/figure30.png)]]
     64
     65'''Figure 30 – Safety Board Cover'''
     66
     67[[Image(htdocs:wam/figure31.png)]]
     68
     69'''Figure 31 – Serial Cable'''
     70
     71[[Image(htdocs:wam/figure32.png)]]
     72
     73'''Figure 32 – Serial Connection with Switch in “On” Position'''
     74}}}