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

AURIX™ Forum Discussions

Chaitanyak1
Level 1
Level 1
First reply posted First question asked Welcome!

SRi Test error generates PRIV Trap & it doesnt come out of this trap.

Chaitanyak1_0-1645415834916.png

Any help would be appriciated. thanks

0 Likes
1 Solution
Yuva
Moderator
Moderator
Moderator
100 solutions authored 25 likes received 100 sign-ins

Hello,

I request to discuss this topic with PDH or local sales as this is related to SafetTlib driver.

Thanks.

View solution in original post

0 Likes
3 Replies
LaneYE
Level 2
Level 2
5 replies posted 10 sign-ins First question asked

It looks like that the CPU is working in user mode and executes an instruction not allowed by user mode. You could see  PSW.IO bitfiled's value before execute wrong instruction in debug mode.

Note:After CPU enters trap, you can get wrong instruction's address in A[11].

0 Likes

The test intentionally switches to user mode from supervisor mode, it expects DAE(Trap class 4, ID 3), but PRIV trap is generated.

Chaitanyak1_0-1646731631550.png

 

 

0 Likes
Yuva
Moderator
Moderator
Moderator
100 solutions authored 25 likes received 100 sign-ins

Hello,

I request to discuss this topic with PDH or local sales as this is related to SafetTlib driver.

Thanks.

0 Likes