* Run script gw-upgrade.py, by running the command
	python gw-upgrade.py

* Type "y" if you have a board you would like to upgrade gateware for, "n" if not
* Place ESD strap on your wrist
* Take conv-ttl-xxx board carefully out of box and ESD bag
* Scan both LHC barcodes on the board. Press Enter after each scan
* Place board on slot X of Elma crate, without engaging it all the way. 
* Plug the Xilinx Cable on the Xiling connector (JTAG) of the conv-ttl-xxx board
* Engage the conv-ttl-xx board al the way in the VME crate, and press the front panel handles until they make a click noise
* Type ok on the terminal prompt

* The script checks the board ID and states whether the board in the slot is a conv-ttl-blo or conv-ttl-rs485. If board information is correct, press y, if not press n and restart the script with the correct board.

* The script then checks the current board hardware and gateware version number. If the the hardware version is older than v4.0 then the script will not be able to identify the exact version number, only that it is v3.0 or earlier.

* The script checks that the gateware version is different than the target upgrade. If it is the same as the target version, then upgrade is not necessary and the script aborts. If the current version does not match target version, than script proceeds with upgrade.

* Once upgrade starts, you need to wait a few minutes for it to be completed. The script will then display the new gateware version (hardware version should NOT change). The information is all saved in the log file.

* The script will ask you to remove the board and type ok. Make sure you are wearing the ESD bracelet. Put the board back in ESD bag and then in box.

* If more boards need upgrading, type "y" and start the procedure from the top again.

Note:
The log file is created with the current date. All tests for the day are appended to the same file.
If you want to restart a new log file, it needs to be manually renamed and the script will write on a new one



