在程序中写了DELAY_US()函数,运行之后就会跳转到ILLEGAL_ISR中断,出不来
interrupt void ILLEGAL_ISR(void) // 非法作 TRAP
{
// 在此处插入 ISR 代码
接下来的两行调试仅用于在此处停止处理器
// 插入 ISR 代码
后删除 asm(“ESTOP0”);i2c_cpld (2).zip
for(;;);
}
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.
在程序中写了DELAY_US()函数,运行之后就会跳转到ILLEGAL_ISR中断,出不来
interrupt void ILLEGAL_ISR(void) // 非法作 TRAP
{
// 在此处插入 ISR 代码
接下来的两行调试仅用于在此处停止处理器
// 插入 ISR 代码
后删除 asm(“ESTOP0”);i2c_cpld (2).zip
for(;;);
}
您好,
请参考C28x Interrupt FAQ 中“The ITRAP Interrupt”部分检查调试。