F28069在debug模式下正常,在release模式下程序不运行,在线调试进入非法中断。在初始化ADC时候在DELAY_US(ADC_usDELAY);跳入llegal operation TRAP中断,origin = 0x008008找不到源文件。按照www.deyisupport.com/.../246843.aspx帖子的也不行。
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.
您好!
请问代码直接下载到F28069 flash里运行是否正常?
您好 不能正常运行,所以我单步调试运行,发现卡在DELAY_US(100);这里,我重新建立工程,之驱动IO运行,同样地卡在这里,感觉这个函数是不是有特殊处理 // DO NOT MODIFY THIS LINE. #define DELAY_US(A) DSP28x_usDelay(((((long double) A * 1000.0L) / (long double)CPU_RATE) - 9.0L) / 5.0L)
我现在改用例程GPIO Set 里面的自写延时函数可以正常运行
void delay_loop()
{
Uint32 i;
for (i = 0; i < 1000000; i++) {}
}