Version 1 (modified by edison, 8 years ago) (diff)

--

WAM Firmware Update

Updating 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.

Pucks™

  1. Move to the btutil directory (cd ~/btclient/src/btutil)
  2. Make the btutil application (make clean; make)
  3. Turn on the WAM power supply
  4. Press <SHIFT+RESET/IDLE> on the control pendant
  5. Determine which version of firmware you are upgrading from (./btutil -g 1)
  6. Note the VERS (version) and CTS (counts) parameters.
  7. Repeat the following steps (replace <id> with a Puck™ number to update, 1 – 7):
    1. For WAMs with optical encoders (if CTS = 40960)
      • Motors 1-4: ./btutil -d <id> -f puck2.tek.r39b
      • Motors 5-6: ./btutil -d <id> -f puck2.tek.r39b.wdiff
      • Motor 7: ./btutil -d <id> -f puck2.tek.r39b.wroll
    2. For WAMs with magnetic encoders (if CTS = 4096), all motors: ./btutil -d <id> -f puck2.tek.r109
    3. Wait for the download to complete
    4. Set the default parameters for the new firmware (./btutil -p <id> -l <id>)
      • “-l” is a dash-ell, not dash-one
      • example for puck 2: ./btutil -p 2 -l 2
  8. Switch off the WAM power supply when you have finished updating all the pucks.
  9. Update the Safety Board firmware using the instructions on the following page (this is not optional).

Safety Board

  1. Ensure that main power to the WAM is off.
  2. Remove the wrap-around base cover by releasing the four latches that secure it to the back plate of the WAM.
  3. Use a 4-mm hex key to remove the screw that keeps the back plate closed.
  4. Remove the 4-6 small Philips screws securing the safety board cover (see Figure 30).
  5. 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.
  6. Connect the other side of the serial cable to COM1 of a Windows PC.
  7. Turn on main power to the WAM.
  8. Under MS Windows, simultaneously drag puck2mon.out.r6 and puck2.out.r102.enet.mag onto F28xxConsole.exe.
  9. Wait for the download to complete (about 4 minutes).
  10. Turn off main power to the WAM.
  11. Flip the nearby switch (both halves) to the "OFF" position (opposite of Figure 32).
  12. Launch TeraTerm/Hyperterminal (9600 baud, no parity, 8 bits, 1 stop bit, no flow control)
  13. 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!
    1. SET SAFE 4 (this is necessary; do not skip this step)
    2. SET SAFE 5
    3. FIND VBUS
    4. SET SAFE 0
    5. SET VOLTL1 36
    6. SET VOLTL2 30
    7. SET VOLTH1 54
    8. SET VOLTH2 57
    9. SET GRPA 1
    10. SET GRPB 2
    11. SET GRPC 3
    12. SAVE
    13. RESET
    14. GET VOLTL1 (should be 36, else SET and SAVE it again)
    15. GET VOLTL2 (should be 30, else SET and SAVE it again)
    16. GET VOLTH1 (should be 54, else SET and SAVE it again)
    17. GET VOLTH2 (should be 57, else SET and SAVE it again)
    18. GET GRPA (should be 1, else SET and SAVE it again)
    19. GET GRPB (should be 2, else SET and SAVE it again)
    20. GET GRPC (should be 3, else SET and SAVE it again)
  14. Turn off main power to WAM

figure30.png

Figure 30 – Safety Board Cover

figure31.png

Figure 31 – Serial Cable

figure32.png

Figure 32 – Serial Connection with Switch in “On” Position