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.

[参考译文] SK-AM62A-LP:在 Autosar 工程中启用硬件中断 (HwiP)

Guru**** 2350710 points
Other Parts Discussed in Thread: SK-AM62A-LP
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1531428/sk-am62a-lp-enabling-hardware-interrupts-hwip-in-autosar-projects

器件型号:SK-AM62A-LP

工具/软件:

您好:

我们目前正在开发 SK-AM62A-LP 评估套件。 我们创建了一个在 MCU R5F 内核上运行的 Autosar 项目。 Autosar 工程具有已配置的操作系统堆栈、可运行一个周期性任务。 我们目前正在将 TI MCAL WDG 模块集成到工程中。 Autosar 栈由矢量提供、并使用 Da Vinci Configurator Classic 工具进行配置

但是、只要使用 HwiP_enableInt () 函数启用 ESM(错误信令模块) 中断、操作系统就会进入内核错误状态。 这并非特定于 WDG 模块、而是与任何 HwIP 模块配合使用。 我知道在 Autosar OS 中、中断由操作系统管理、直接操纵硬件中断可能会导致违规。

您能否指导我或提供有关如何在 Autosar 上下文中激活硬件中断以便操作系统不会陷入内核错误的提示  

谢谢、此致、

Nikhil