AURIX397 TRAP 跟踪查看

在Core Architecture文档的第6章Trap system中提到:
Within each class,specific traps are distinguished by a Trap Identification Number (TIN) that is loaded by hardware into register D[15] before the first instruction of the trap handler is executed.
The return address is saved in the return address register A[11].
所以我们在TRAP 入口函数处打断点就能看到是在0x801B290C处执行srcData = s[i];这条指令时引发了D[15]中为2(Data Access Synchronous Error)的Trap。
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/hannimao/article/details/105519532