我用的是STM32F103,板子之前一直用的是JTAG,可以正常下载,突然就下不进去程序了,用keil4的时候一下程序就所有的引脚好像全变高了,还报错。
* JLink Info: TotalIRLen = ?, IRPrint = 0x..000000000000000000000011
**JLink Warning: No matching core found.
* JLink Info: TotalIRLen = ?, IRPrint = 0x..000000000000000000000011
* JLink Info: TotalIRLen = ?, IRPrint = 0x..000000000000000000000011
* JLink Info: Resetting target using RESET pin
* JLink Info: Halting CPU core
**JLink Warning: Received 0 as core Id.
* JLink Info: Using DBGRQ to halt CPU
* JLink Info: Resetting TRST in order to halt CPU
* JLink Info: Resetting target using RESET pin
**JLink Warning: RESET (pin 15) high, but should be low. Please check target hardware.
**JLink Warning: RESET (pin 15) high, but should be low. Please check target hardware.
* JLink Info: Halting CPU core
**JLink Warning: Received 0 as core Id.
* JLink Info: Using DBGRQ to halt CPU
* JLink Info: Resetting TRST in order to halt CPU
但是不下这个程序,下别的测试程序还可以正常下载,这个程序下到别的单片机里面也可以下载。
想着换个keil版本试试,用keil3的话就显示no cortex-m device found in JTAG chain.please check the JTAG cable and the connected devices.
用keil3也可以下载之前的测试程序,真是不知道问题到底出在哪里了,跪求原子哥解答。
|