Skip to content
Snippets Groups Projects
Commit 70d913a3 authored by Paulus Kruger's avatar Paulus Kruger
Browse files

Update length of PCB_version and PCB_number fields

parent 124b9a3c
Branches
Tags
No related merge requests found
Pipeline #56616 passed
......@@ -157,7 +157,7 @@ variables:
description: Version number
driver: I2C_CLK
devreg: ROM.Version
width: 0x80 #16 characters
width: 0x100 #32 characters
rw: ro
dtype: string
......@@ -165,7 +165,7 @@ variables:
description: PCB number (astron.nl/webforms/IenS-Boarden/view.php?id=xxx)
driver: I2C_CLK
devreg: ROM.Serial
width: 0x80 #16 characters
width: 0x100 #32 characters
rw: ro
dtype: string
......
......@@ -98,7 +98,7 @@ variables:
description: Version number
driver: I2C_PU
devreg: ROM.Version
width: 0x80 #10 characters
width: 0x100 #32 characters
rw: ro
dtype: string
......@@ -106,7 +106,7 @@ variables:
description: PCB number (astron.nl/webforms/IenS-Boarden/view.php?id=xxx)
driver: I2C_PU
devreg: ROM.Serial
width: 0x80 #16 characters
width: 0x100 #32 characters
rw: ro
dtype: string
......
......@@ -220,7 +220,7 @@ variables:
dim: 48
dim2: [24,2]
- name: UNB2TR_I2C_bus_DDR4_error
driver: switch_QSFP
driver: switch_DDR4
rw: ro
dtype: uint8
dim: 8
......@@ -293,7 +293,7 @@ variables:
- name: UNB2_PCB_version
driver: switch_UNB2
devreg: 0x50.0
width: 0x80 #16 char
width: 0x100 #32 char
rw: ro
dtype: string
dim: 2
......@@ -302,7 +302,7 @@ variables:
description: PCB number (astron.nl/webforms/IenS-Boarden/view.php?id=xxx)
driver: switch_UNB2
devreg: 0x50.0x20
width: 0x80 #16 characters
width: 0x100 #32 characters
rw: ro
dtype: string
dim: 2
......@@ -397,7 +397,7 @@ variables:
- name: UNB2_FPGA_DDR4_SLOT_PART_NUMBER
driver: switch_DDR4
devreg: [0x18.0x149,0x19.0x149]
devreg: [0x50.0x149,0x51.0x149]
width: 160
rw: hidden #ro
dtype: string
......
......@@ -10,17 +10,17 @@ logFile='SetVersion'
import logging
import argparse
from opcuaserv import opcuaserv
from opcuaserv import i2client
from opcuaserv import yamlreader
from pypcc.opcuaserv import opcuaserv
from pypcc.opcuaserv import i2client
from pypcc.opcuaserv import yamlreader
#from opcuaserv import pypcc2
from i2cserv import i2cthread
from pypcc.i2cserv import i2cthread
import threading
import time
import sys
import signal
from yamlconfig import Find;
import yamlconfig as yc
from pypcc.yamlconfig import Find;
import pypcc.yamlconfig as yc
from datetime import datetime
testtime=datetime.now().strftime("%y-%m-%d %H:%M")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment