我的程序很简单,就是一个Led的循环亮灭,,debug模式下load out文件后,run起来程序运行不正常,Led灯不是按照程序设定时间闪烁,好像是从外挂的norflash加载了新程序,暂停程序仿真器就报下面的故障:
C674X_0: Power Failure on Target CPU
C674X_0: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging
TI技术能不能帮我解决这个问题?
程序很简单,初始化PLL0,PSC,GPIO,然后就Led循环亮灭
#include <stdio.h>
#include "c6748.h"
int main()
{
DEVICE_init();
Delay_ms(20);
printf ( "HELLO !\r\n" );
while(1)
{
LED_OFF;
Delay_ms(50);
LED_ON;
Delay_ms(50);
}
}