在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。
AURIX397 TRAP 跟踪查看

相关文章:

  • 2021-06-02
  • 2021-07-04
  • 2021-12-12
  • 2022-02-12
  • 2022-12-23
  • 2022-12-23
  • 2022-01-01
  • 2021-04-18
猜你喜欢
  • 2021-12-25
  • 2022-12-23
  • 2022-12-23
  • 2022-02-01
  • 2021-12-21
  • 2021-08-14
相关资源
相似解决方案