本帖最后由 xiong2088 于 2016-4-22 10:44 编辑
我也碰到这个问题:
第二次烧录就显示这样:
Build target 'hanlanda_jiemaqi'
compiling gpio.c...
linking...
Program Size: Code=900 RO-data=268 RW-data=4 ZI-data=1636
FromELF: creating hex file...
"..\OBJ\hanlanda_jiemaqi.axf" - 0 Error(s), 0 Warning(s).
Build Time Elapsed: 00:00:03
Load "..\\OBJ\\hanlanda_jiemaqi.axf"
Set JLink Project File to "E:\chengxu\hanlanda_jiemaqi\USER\JLinkSettings.ini"
* JLink Info: Device "STM32F103C6" selected (32 KB flash, 10 KB RAM).
JLink info:
------------
DLL: V4.92 , compiled Sep 30 2014 09:33:42
Firmware: J-Link ARM-OB STM32 compiled Aug 22 2012 19:52:04
Hardware: V7.00
S/N : 20160130
Feature(s) : RDI,FlashDL,FlashBP,JFlash,GDBFull
* JLink Info: Found SWD-DP with ID 0x1BA01477
* JLink Info: Found SWD-DP with ID 0x1BA01477
* JLink Info: Found Cortex-M3 r1p1, Little endian.
* JLink Info: FPUnit: 6 code (BP) slots and 2 literal slots
* JLink Info: TPIU fitted.
ROMTableAddr = 0xE00FF003
**JLink Warning: S_RESET_ST not cleared
**JLink Warning: CPU did not halt after reset.
**JLink Warning: CPU could not be halted
* JLink Info: Core did not halt after reset, trying to disable WDT.
**JLink Warning: CPU did not halt after reset.
**JLink Warning: CPU could not be halted
**JLink Warning: S_RESET_ST not cleared
* JLink Info: Found SWD-DP with ID 0x1BA01477
* JLink Info: Found Cortex-M3 r1p1, Little endian.
**JLink Warning: S_RESET_ST not cleared
**JLink Warning: CPU did not halt after reset.
**JLink Warning: CPU could not be halted
* JLink Info: Core did not halt after reset, trying to disable WDT.
**JLink Warning: CPU did not halt after reset.
**JLink Warning: CPU could not be halted
**JLink Warning: S_RESET_ST not cleared
**JLink Warning: CPU could not be halted
Error: Flash Download failed - Target DLL has been cancelled
Flash Load finished at 10:29:53
请各位大神指点!
STM32F103C6,SWD烧录。没有操作JTAG的IO口,BOOT1的口也没有操作。SWD的速度也试过200K,也没用。真是没办法了。
|