]> jspc29.x-matter.uni-frankfurt.de Git - daqtools.git/commitdiff
add new hub debugging register
authorJan Michel <j.michel@gsi.de>
Mon, 23 Aug 2021 12:01:38 +0000 (14:01 +0200)
committerJan Michel <j.michel@gsi.de>
Mon, 23 Aug 2021 12:01:38 +0000 (14:01 +0200)
xml-db/database/Hub.xml

index 6e924974ef94549214c1822d3cb42542aefde2d1..eff18885e95627bd1df12dcb5e5481d79289bbcf 100644 (file)
       <field name="PacketTimeout" start="0" bits="13"  format="bitmask" errorflag="true">
       </field>
     </register>    
-</group>
+
+    <register name="ErrorBeforeReset" address="0027"  purpose="status">
+      <description>Some status information from channel 3, stored at beginning of reset.</description>
+      <field name="BeforeLockedPorts" start="0" bits="13"  format="bitmask" noflag="true">
+        <description>Ports that were still locked / busy at time of reset</description>
+      </field>
+      <field name="BeforeFSMStatus" start="16" bits="4"  format="enum" noflag="true">
+        <description>Status of the main hub state machine at time of reset</description>
+        <enumItem value="1">Idle</enumItem>
+        <enumItem value="2">SelectInit</enumItem>
+        <enumItem value="3">ForwardInit</enumItem>
+        <enumItem value="4">SelectReply</enumItem>
+        <enumItem value="5">WaitForSelect</enumItem>
+        <enumItem value="6">ForwardReply</enumItem>
+        <enumItem value="7">ReplyTimeout</enumItem>
+        <enumItem value="8">SendTrm</enumItem>
+        <enumItem value="F">Finished</enumItem>
+      </field>
+      <field name="BeforeSelectedPort" start="20" bits="4"  format="unsigned" noflag="true" >
+        <description>Port that was currently selected by hub state machine</description>
+      </field>
+    </register>    
+  </group>
 
 
   <group name="Status" purpose="status" address="4000"  size="112" mode="r" continuous="false">