ALM7[17] XBAR0 Bus Error Event Cause in Aurix 2G

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User9635
Level 4
Level 4
50 replies posted 50 questions asked 25 replies posted
Hello Support,

Can you please tell me the reason and solution for the following SMU alarm?

XBAR0 Bus Error Event -- ALM17[17] in Aurix 2G device.

4231.attach

Best Regards
0 Likes
2 Replies
NeMa_4793301
Level 6
Level 6
10 likes received 10 solutions authored 5 solutions authored
For the possible reasons, see 4.3.3.1 SRI Protocol Errors and 4.3.3.2 SRI Transaction ID Errors in AURIXTC3XX_um_part1_v1.4.pdf.

The solution is application dependent. My general advice is:
- Configure the SMU alarm reaction to NMI
- Within the NMI handler, log the error to RAM that is preserved across resets, then cause a software reset
- If the same error occurs three consecutive times, do something appropriate (some sort of "limp home" reduced functionality or permanent error state)
0 Likes
Darren_Galpin
Employee
Employee
First solution authored First like received
The alarm is generated by any transaction which triggered a bus error, and the bus error could be for any reason, so for example, a register location with no mapped register, access protection error, user privilege error, or if you injected an ECC error to test the safety mechanism,

To solve the alarm, you will need to establish which instruction was triggering the error. The XBAR logs the cause of the error into its status registers, so once the alarm has happened, read these to find the address of the transaction and the source master (via the tag).
0 Likes