STM32F103 SW 模式下,下载问题
jlink显示连接正常但是在下载的时候报告错误如下*JLinkInfo:Device"STM32F103C8"selected(64KBflash,20KBRAM).JL...
jlink显示连接正常但是在下载的时候报告错误如下* JLink Info: Device "STM32F103C8" selected (64 KB flash, 20 KB RAM).JLink info:------------DLL: V4.80g, compiled Feb 13 2014 20:50:02Firmware: J-Link ARM V8 compiled Nov 28 2014 13:44:46Hardware: V8.00S/N : 17935099 Feature(s) : RDI,FlashDL,FlashBP,JFlash * 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 haltedError: Flash Download failed - Target DLL has been cancelled这个是什么问题啊?应该如何解决啊?急求!
问题解决了,硬件没有问题,是Startup的.s文件没有选择正确。大家在编程的时候要注意不同的芯片对应不同的内存大小,要对应选择不同的启动文件。 展开
问题解决了,硬件没有问题,是Startup的.s文件没有选择正确。大家在编程的时候要注意不同的芯片对应不同的内存大小,要对应选择不同的启动文件。 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询