为什么c5416不能访问外部flash?我要烧写程序到外部flash,如下程序运行时出错 void main() { BYTE *FlashPtr; int i; int FlashData=0xAAAA; FlashPtr=(BYTE *)0x8000; while(1) { //WriteFlash(FlashPtr,FlashData); i=*FlashPtr; //去掉这句就没问题 printf("%X\n",i); } 错误如下 Error 0x80000020/-1058 Fatal Error during:Execution, Device driver: Emulator Controller not responding It is recommended to RESET EMULATOR . This will disconnect each target from the emulator. .
|