您的位置:首页 > 其它

芯片上电休眠或者JTAG禁用后怎么下载程序

2017-03-13 17:25 861 查看
—STM32器件,keil环境,一不小心上电就进入了待机模式,没法正常步骤下载程序了,怎么办?

—解决办法:按住芯片复位键不放,点击下载程序,编译环境会刷提示信息,此时快速释放复位键,一般即可下载成功。简而言之,按住复位键,点击下载程序,择机释放复位键。

JLink info:

DLL: V4.66 , compiled Mar 11 2013 11:00:46

Firmware: J-Link ARM V8 compiled Jul 17 2014 12:31:18

Hardware: V8.00

S/N : 286370559

Feature(s) : RDI,FlashDL,FlashBP,JFlash

JLink Info: Found SWD-DP with ID 0x2BA01477

JLink Info: TPIU fitted.

JLink Info: ETM fitted.

JLink Info: FPUnit: 6 code (BP) slots and 2 literal slots

JLink Info: Found Cortex-M3 r2p0, Little endian.

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 0x2BA01477

JLink Info: TPIU fitted.

JLink Info: ETM fitted.

JLink Info: FPUnit: 6 code (BP) slots and 2 literal slots

JLink Info: Found Cortex-M3 r2p0, 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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  stm32
相关文章推荐