Commit cc4563c0 authored by Denia Bouhired-Ferrag's avatar Denia Bouhired-Ferrag

adds unique id address to pts define.

parent 72e0b91e
...@@ -199,12 +199,12 @@ if __name__ == '__main__': ...@@ -199,12 +199,12 @@ if __name__ == '__main__':
# Reading board unique ID and storing to separate log file # Reading board unique ID and storing to separate log file
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
# ... power-cycle the crate # ... power-cycle the crate
print "VME Crate power-cycle..." print "VME Crate power-cycle..."
men_off() men_off()
time.sleep(3) time.sleep(3)
men_on() men_on()
time.sleep(10) time.sleep(10)
#Read unique board ID #Read unique board ID
......
...@@ -85,6 +85,9 @@ TER_HWVERS_OFS = 16 ...@@ -85,6 +85,9 @@ TER_HWVERS_OFS = 16
# 1-Wire base address, used in therm_id.py # 1-Wire base address, used in therm_id.py
TEMP_1WIRE_BASE = 0x010 TEMP_1WIRE_BASE = 0x010
# 1-Wire unique ID
UIDREGLS = 0xac # 1-wire chip Unique ID - LSB
UIDREGMS = 0xb0 # 1-wire chip Unique ID - MSB
# DAC and clock info registers and offsets, used in dac_vcxo_pll.py # DAC and clock info registers and offsets, used in dac_vcxo_pll.py
PLL_DAC_BASE = 0X020 PLL_DAC_BASE = 0X020
VCXO_DAC_BASE = 0x080 VCXO_DAC_BASE = 0x080
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment