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 an error code is printed as shown in the line below 20-10-21 17:19:46.696948 [7f23d1dbe700] ERROR - Bad response code (0x4 = 'bus error on read') received for Incrementing read at base address 0x41000014 (offset 0x1, node "user.timecon.tcds_sinerr_count"). URI: "chtcp-2.0://bridge:10203?target=amc:50001". Sent/received headers: 0x21b3010f / 0x21b30104 (25/25 bytes into IPbus payload)
Note 0x41000014 (offset 0x1, node "user.timecon.tcds_sinerr_count") - the register name is not printed correctly as the exception handler interprets "aWordCounter" as the offset and prints name for the register 0x41000015. https://github.com/ipbus/ipbus-software/blob/master/uhal/uhal/src/common/ProtocolIPbusCore.cpp#L102
I believe that the expression aBaseAddress + ( (aType == NI_READ) or (aType == NI_WRITE) ? 0 : aWordCount) has to contain aWordCount-1
Was spotted when throwing an exception with the register that I am never using.
The text was updated successfully, but these errors were encountered:
When an error code is printed as shown in the line below
20-10-21 17:19:46.696948 [7f23d1dbe700] ERROR - Bad response code (0x4 = 'bus error on read') received for Incrementing read at base address 0x41000014 (offset 0x1, node "user.timecon.tcds_sinerr_count"). URI: "chtcp-2.0://bridge:10203?target=amc:50001". Sent/received headers: 0x21b3010f / 0x21b30104 (25/25 bytes into IPbus payload)
Note
0x41000014 (offset 0x1, node "user.timecon.tcds_sinerr_count")
- the register name is not printed correctly as the exception handler interprets "aWordCounter" as the offset and prints name for the register 0x41000015.https://github.com/ipbus/ipbus-software/blob/master/uhal/uhal/src/common/ProtocolIPbusCore.cpp#L102
I believe that the expression
aBaseAddress + ( (aType == NI_READ) or (aType == NI_WRITE) ? 0 : aWordCount)
has to containaWordCount-1
Was spotted when throwing an exception with the register that I am never using.
The text was updated successfully, but these errors were encountered: