Commit 3b003c9f authored by Marek Gumiński's avatar Marek Gumiński

Fixed test04

parent 143fcf35
......@@ -143,7 +143,7 @@ class fmcmasterfip:
# Returns FMC temperature
def get_temp(self):
return self.fipcore.read_regname("ds1820_temper");
return (self.fipcore.read_regname("ds1820_temper")/16);
# write to EEPROM on system i2c bus
def sys_i2c_eeprom_write(self, addr, data):
......
......@@ -10,6 +10,7 @@ import spec
import fmcmasterfip as fmc
import utilities as util
import ptsexcept
import time
......@@ -32,6 +33,8 @@ def main (card=None, default_directory='.',suite=None, serial=""):
# any error there causes critical error and test termination
dut = fmc.fmcmasterfip(carrier, abspath, util.FIRMWARE_PATH)
time.sleep(10)
###############################################################################
util.section_msg("Reading and verifying unique ID")
id = dut.get_unique_id()
......
......@@ -26,8 +26,8 @@ test05_sdbfs_path = "/python/sdbfs/"
test06_thd = 2000;
test06_thdratio = 1.8
mintemp = 0
maxtemp = 80
mintemp = 15
maxtemp = 60
fmcmasterfip_commonpath="/python/common"
fmcmasterfip_regspath="/python/regs"
......
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