This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] 66AK2H12:如何在裸机代码中创建和安装 DSP 异常处理程序?

Guru**** 2562120 points
Other Parts Discussed in Thread: SYSBIOS

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/596543/66ak2h12-how-can-i-make-and-install-a-dsp-exception-handler-in-bare-metal-code

器件型号:66AK2H12

我想在裸机(无操作系统)中创建和安装异常处理程序。

我希望异常处理程序存储寄存器值和堆栈信息等... 并将异常发生通知其他内核。

当其他内核收到通知时、它们将停止工作(例如、执行无限 while 循环)。

我知道、当我们使用 BIOS 时、我们可以安装如下所示的异常处理程序。  

VAR 异常= xdc.useModule('ti.sysbios.family.c64p.Exception');

 exception.exceptionHook ='&myExceptionHook';
 Exception.internalHook ='myInternalHook';

在裸机中、如何安装异常处理程序?  

提前感谢您。