我使用TI开发套件进行上面的实验,在LEVEL1 运行,开始成功了,后来进行到了LEVEL2,然后怎么也不行,退回到LEVEL1,发现可以生成.OUT文件,但始终不能运转电机。后来发现程序可能是停留在这个地方。
interrupt void ISR_ILLEGAL(void) // Illegal operation TRAP
{
// Insert ISR Code here
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm(" ESTOP0");
for(;;);
}