<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">