You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When loading clock configs to EEPROM with python3 mcu_tools/python/LoadClkConfig_tripletEEPROM.py R0A Cornell_CM_Rev2_HW/ClockBuilderPRO/projects/Si5341-RevD-R0Av0004-Registers.txt --tty ttyUL1 I am getting the following error
Traceback (most recent call last):
File "mcu_tools/python/LoadClkConfig_tripletEEPROM.py", line 133, in <module>
print(get_command("gpio get ID_EEPROM_WP")[-1])
File "mcu_tools/python/LoadClkConfig_tripletEEPROM.py", line 69, in get_command
if ( len(line) > 0 and ord(line[0]) == 37 ) :
TypeError: ord() expected string of length 1, but int found
It works fine when removing the ord() function from the following line:
When loading clock configs to EEPROM with
python3 mcu_tools/python/LoadClkConfig_tripletEEPROM.py R0A Cornell_CM_Rev2_HW/ClockBuilderPRO/projects/Si5341-RevD-R0Av0004-Registers.txt --tty ttyUL1
I am getting the following errorIt works fine when removing the
ord()
function from the following line:mcu_tools/python/LoadClkConfig_tripletEEPROM.py
Line 69 in 9f3a205
or, decoding a line before using it in the condition
The text was updated successfully, but these errors were encountered: