STM32Driver.dll 版本确定是1.1.9.3
RAM中调试:
typedef struct{ //unsigned char led1_on_time; //unsigned char led1_off_time; unsigned char ledx; unsigned char ontime; unsigned char offtime; } LED_PARAM;
8 776 bytes of CODE memory 5 550 bytes of DATA memory 829 bytes of CONST memory
此时正常下载调试.
=====> 增加一个成员就会出错
typedef struct{ unsigned char led1_on_time; //unsigned char led1_off_time; unsigned char ledx; unsigned char ontime; unsigned char offtime; } LED_PARAM;
8 776 bytes of CODE memory 5 551 bytes of DATA memory 830 bytes of CONST memory
错误为: The debugging session could not be started. Either the debugger initialization failed, or else the file "D:.....xx.d79" was corrupt or of an unsupported format. There might be more information in de Debug Log window.
Debug Log window: Fri Feb 01 10:50:59 2008: Failed to load debugee: D:...xx.d79
STM32F10x确实很好用, 也准备用在项目中使用, 但是这个IAR的驱动确实有点不敢恭维.
前段时间也是在一个文件里面多定义一个变量就出现这个问题, 把那个变量去掉就可以用, 当时找问题找了一天. |