= 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 at [[WAM/FirmwareUpdate/DetailedPuckInstructions| detailed Puck instructions]]. == Pucks™ == 1. Move to the btutil directory (cd ~/btclient/src/btutil) 1. Make the btutil application (make clean; make) 1. Turn on the WAM power supply 1. Press on the control pendant 1. Determine which version of firmware you are upgrading from (./btutil -g 1) 1. Note the VERS (version) and CTS (counts) parameters. 1. Repeat the following steps (replace with a Puck™ number to update, 1 – 7): a. For WAMs with optical encoders (if CTS = 40960) * Motors 1-4: ./btutil -d -f puck2.tek.r39b * Motors 5-6: ./btutil -d -f puck2.tek.r39b.wdiff * Motor 7: ./btutil -d -f puck2.tek.r39b.wroll a. For WAMs with magnetic encoders (if CTS = 4096), all motors: ./btutil -d -f puck2.tek.r179 a. Wait for the download to complete a. Set the default parameters for the new firmware (./btutil -p -l ) * “-l” is a dash-ell, not dash-one * example for puck 2: ./btutil -p 2 -l 2 1. Switch off the WAM power supply when you have finished updating all the pucks. 1. 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. 1. Remove the wrap-around base cover by releasing the four latches that secure it to the back plate of the WAM. 1. Use a 4-mm hex key to remove the screw that keeps the back plate closed. 1. Remove the 4-6 small Philips screws securing the safety board cover (see Figure 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. 1. Connect the other side of the serial cable to COM1 of a Windows PC. 1. Turn on main power to the WAM. 1. Under MS Windows, simultaneously drag puck2mon.out.r6 and puck2.out.r102.enet.mag onto F28xxConsole.exe. 1. Wait for the download to complete (about 4 minutes). 1. Turn off main power to the WAM. 1. Flip the nearby switch (both halves) to the "OFF" position (opposite of Figure 32). 1. Launch !TeraTerm/Hyperterminal (9600 baud, no parity, 8 bits, 1 stop bit, no flow control) 1. Turn on main power to the WAM. You should get a prompt (=>). Type the following commands in sequence, each followed by . A mis-typed command will NOT result in an error message, so type carefully! a. SET SAFE 4 (this is necessary; do not skip this step) a. SET SAFE 5 a. FIND VBUS a. SET SAFE 0 a. SET VOLTL1 36 a. SET VOLTL2 30 a. SET VOLTH1 54 a. SET VOLTH2 57 a. SET GRPA 1 a. SET GRPB 2 a. SET GRPC 3 a. SAVE a. RESET a. GET VOLTL1 (should be 36, else SET and SAVE it again) a. GET VOLTL2 (should be 30, else SET and SAVE it again) a. GET VOLTH1 (should be 54, else SET and SAVE it again) a. GET VOLTH2 (should be 57, else SET and SAVE it again) a. GET GRPA (should be 1, else SET and SAVE it again) a. GET GRPB (should be 2, else SET and SAVE it again) a. GET GRPC (should be 3, else SET and SAVE it again) 1. Turn off main power to WAM {{{ #!div class="center" align="center" [[Image(htdocs:wam/figure30.png)]] '''Figure 30 – Safety Board Cover''' [[Image(htdocs:wam/figure31.png)]] '''Figure 31 – Serial Cable''' [[Image(htdocs:wam/figure32.png)]] '''Figure 32 – Serial Connection with Switch in “On” Position''' }}}