SafetLib SRI test generating PRIV Trap

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

cross mob
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
250 replies posted 250 sign-ins 100 solutions authored

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 3
Level 3
25 sign-ins 10 replies posted 5 replies posted

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
250 replies posted 250 sign-ins 100 solutions authored

Hello,

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

Thanks.

0 Likes