|   | 1 | = Safety Puck Firmware Update Process = | 
                  
                          |   | 2 |  | 
                  
                          |   | 3 | '''Note:''' You must know your WAM's type before beginning this process.  See ["WAMTypes"] to determine your system's type. | 
                  
                          |   | 4 |  | 
                  
                          |   | 5 | == Step 0: Determine Correct Firmware Version for Your Safety Puck == | 
                  
                          |   | 6 |  | 
                  
                          |   | 7 | Refer to the following table to find the correct version: | 
                  
                          |   | 8 |  | 
                  
                          |   | 9 | || WAM Version || Firmware File || | 
                  
                          |   | 10 | || '''WAM-OA''' || [http://web.barrett.com/support/WAM_Firmware/puck2.out.r39b.noenet.opt puck2.out.r39b.noenet.opt] || | 
                  
                          |   | 11 | || '''WAM-O[B|D|E]''' || [http://web.barrett.com/support/WAM_Firmware/puck2.out.r39b.enet.opt puck2.out.r39b.enet.opt] || | 
                  
                          |   | 12 | || '''WAM-MA''' || [http://web.barrett.com/support/WAM_Firmware/puck2.out.r102.noenet.mag puck2.out.r102.noenet.mag] || | 
                  
                          |   | 13 | || '''WAM-MB''' || [http://web.barrett.com/support/WAM_Firmware/puck2.out.r102.enet.mag puck2.out.r102.enet.mag] || | 
                  
                          |   | 14 | || '''WAM-M[D|E]''' || [http://web.barrett.com/support/WAM_Firmware/puck2.out.r119.enet.mag puck2.out.r119.enet.mag] || | 
                  
                          |   | 15 | || '''WAM-H''' || [http://web.barrett.com/support/WAM_Firmware/puck2.out.r102.enet.mag puck2.out.r102.enet.mag] || | 
                  
                          |   | 16 |  | 
                  
                          |   | 17 | Use btutil to determine the current firmware version on your safety puck.  If it is already the correct version, there is no need to continue with these instructions. | 
                  
                          |   | 18 |  | 
                  
                          |   | 19 | == Step 1: Connect to the Safety Puck over Serial == | 
                  
                          |   | 20 |  | 
                  
                          |   | 21 | If your system matches type '''WAM-xA''', connect the [http://web.barrett.com/supportFiles/wikiFiles/wam-PuckSerialCable.jpg serial cable] inline with the [http://web.barrett.com/supportFiles/wikiFiles/wam-SerialDownloadAdapter.jpg serial download adapter] to the safety board.  See [http://web.barrett.com/supportFiles/wikiFiles/SafetyTypeA-download.jpg this picture] for reference. | 
                  
                          |   | 22 |  | 
                  
                          |   | 23 | If your system matches type '''WAM-xB''', connect the [http://web.barrett.com/supportFiles/wikiFiles/wam-PuckSerialCable.jpg serial cable] to the connector near the safety puck and [http://web.barrett.com/supportFiles/wikiFiles/SafetyTypeB-download.jpg flip the nearby switch] to the "ON" position (away from the puck). | 
                  
                          |   | 24 |  | 
                  
                          |   | 25 | If your system matches type '''WAM-xD''', or '''WAM-xE''' wait for further instructions. | 
                  
                          |   | 26 |  | 
                  
                          |   | 27 | == Step 2: Set Up the Computer == | 
                  
                          |   | 28 |  | 
                  
                          |   | 29 | Connect the other side of the serial cable to COM1 of a Windows PC. | 
                  
                          |   | 30 |  | 
                  
                          |   | 31 | Turn on main power to the WAM | 
                  
                          |   | 32 |  | 
                  
                          |   | 33 | Download [http://web.barrett.com/support/WAM_Firmware/F28xxConsole-v210.zip F28xxConsole.exe] | 
                  
                          |   | 34 |  | 
                  
                          |   | 35 | == Step 3: Flash the Firmware == | 
                  
                          |   | 36 |  | 
                  
                          |   | 37 | Under MS Windows, quit any programs that may be using the COM1 serial port. Simultaneously drag [http://web.barrett.com/support/WAM_Firmware/puck2mon.out.r6 puck2mon.out.r6] and your correct firmware file (from above) onto F28xxConsole.exe | 
                  
                          |   | 38 |  | 
                  
                          |   | 39 | Wait for the download to complete (about 4 minutes) | 
                  
                          |   | 40 |  | 
                  
                          |   | 41 | Turn off main power to the WAM | 
                  
                          |   | 42 |  | 
                  
                          |   | 43 | == Step 4: Replace the Serial Cable == | 
                  
                          |   | 44 |  | 
                  
                          |   | 45 | If your system matches type '''WAM-xA''', For Type A: Remove the serial download adapter- connect the serial cable [http://web.barrett.com/supportFiles/wikiFiles/SafetyTypeA-serial.jpg directly] to the safety board | 
                  
                          |   | 46 |  | 
                  
                          |   | 47 | If your system matches type '''WAM-xB''', [http://web.barrett.com/supportFiles/wikiFiles/SafetyTypeB-serial.jpg Flip the nearby switch] to the "OFF" position (towards the puck). | 
                  
                          |   | 48 |  | 
                  
                          |   | 49 | If your system matches type '''WAM-xD''', or '''WAM-xE''' wait for further instructions. | 
                  
                          |   | 50 |  | 
                  
                          |   | 51 | == Set Safety Firmware Defaults == | 
                  
                          |   | 52 |  | 
                  
                          |   | 53 | Launch !TeraTerm/Hyperterminal (9600 baud, no parity, 8 bits, 1 stop bit, no flow control) | 
                  
                          |   | 54 |  | 
                  
                          |   | 55 | 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! Note that this assumes you are using the stock 48 VDC power supply. Following these instructions with a different supply could damage your WAM, please contact us for custom instructions in this case. | 
                  
                          |   | 56 |  | 
                  
                          |   | 57 | {{{ | 
                  
                          |   | 58 |  | 
                  
                          |   | 59 | 0. SET X1 2000 | 
                  
                          |   | 60 |  | 
                  
                          |   | 61 | 1. SET SAFE 4 (this is necessary, do not skip this step!) | 
                  
                          |   | 62 |  | 
                  
                          |   | 63 | 2. SET SAFE 5 | 
                  
                          |   | 64 |  | 
                  
                          |   | 65 | 3. FIND VBUS | 
                  
                          |   | 66 |  | 
                  
                          |   | 67 | 4. SET SAFE 0 | 
                  
                          |   | 68 |  | 
                  
                          |   | 69 | 5. SET VOLTL1 22 | 
                  
                          |   | 70 |  | 
                  
                          |   | 71 | 6. SET VOLTL2 19 | 
                  
                          |   | 72 |  | 
                  
                          |   | 73 | 7. SET VOLTH1 54 | 
                  
                          |   | 74 |  | 
                  
                          |   | 75 | 8. SET VOLTH2 57 | 
                  
                          |   | 76 |  | 
                  
                          |   | 77 | 9. SET GRPA 1 | 
                  
                          |   | 78 |  | 
                  
                          |   | 79 | 10. SET GRPB 2 | 
                  
                          |   | 80 |  | 
                  
                          |   | 81 | 11. SET GRPC 3 | 
                  
                          |   | 82 |  | 
                  
                          |   | 83 | 12. SAVE | 
                  
                          |   | 84 |  | 
                  
                          |   | 85 | 13. RESET | 
                  
                          |   | 86 |  | 
                  
                          |   | 87 | 14. GET VOLTL1 (should be 22, else SET and SAVE it again) | 
                  
                          |   | 88 |  | 
                  
                          |   | 89 | 15. GET VOLTL2 (should be 19, else SET and SAVE it again) | 
                  
                          |   | 90 |  | 
                  
                          |   | 91 | 16. GET VOLTH1 (should be 54, else SET and SAVE it again) | 
                  
                          |   | 92 |  | 
                  
                          |   | 93 | 17. GET VOLTH2 (should be 57, else SET and SAVE it again) | 
                  
                          |   | 94 |  | 
                  
                          |   | 95 | 18. GET GRPA (should be 1, else SET and SAVE it again) | 
                  
                          |   | 96 |  | 
                  
                          |   | 97 | 19. GET GRPB (should be 2, else SET and SAVE it again) | 
                  
                          |   | 98 |  | 
                  
                          |   | 99 | 20. GET GRPC (should be 3, else SET and SAVE it again) | 
                  
                          |   | 100 |  | 
                  
                          |   | 101 | 21. Turn off main power to WAM  | 
                  
                          |   | 102 |  | 
                  
                          |   | 103 | }}} |