今天遇到STM32 下载问题,百度半天没找到解决办法;在此记录一笔:
环境: IAR 7.2
开发板: STM32F103C8T6
下载方式: SWD
下载失败的log大概如下:
Fri Nov 14, 2014 17:22:59: ST-Link firmware too oldFri Nov 14, 2014 17:22:59: Connected to ST-Link/V2 Firmware V2.J21.S4 (PRobe no: D1A2B612)Fri Nov 14, 2014 17:22:59: Selecting SWD as current target interface. Fri Nov 14, 2014 17:22:59: ELF/DWARF Error: Unknown Fri Nov 14, 2014 17:22:59: 0 bytes with download suppressed Fri Nov 14, 2014 17:22:59: Failed to load debugee: D:/project/stm32/program/STM32F10x_StdPeriph_Lib_V3.6.1/Project/STM32F10x_StdPeriph_Template/EWARM/STM3210E-EVAL_XL/Exe/Project.out
我是这样弄的:
右击工程->Options->Debugger->Download; 如下
在下面的Override default board file 中选择你的版子的型号即可
新闻热点
疑难解答