现在用stlink和板子连接后,右击工程,选择'target'->'program chip...'得到如下错误提示:
11:09:34 **** Programing project 4DA_V1_0_1 on chip ****
"C:\Users\Any.DESKTOP-QGAHK5P\.p2\pool\plugins\fr.ac6.mcu.externaltools.openocd.win32_1.12.0.201611241417\tools\openocd\bin\openocd.exe" -f 4DA_V1_0_1.cfg -s "E:\Eclipse workspace\SW4STM32\4DA_V1_0_1" -s "C:\Users\Any.DESKTOP-QGAHK5P\.p2\pool\plugins\fr.ac6.mcu.debug_1.11.2.201612060912\resources\openocd\scripts" -c "program Debug/4DA_V1_0_1.elf verify exit"
Open On-Chip Debugger 0.10.0-dev-00273-g394abef (2016-11-24-15:15)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
adapter speed: 1000 kHz
adapter_nsrst_delay: 100
srst_only separate srst_nogate srst_open_drain connect_assert_srst
srst_only separate srst_nogate srst_open_drain connect_assert_srst
Info : Unable to match requested speed 1000 kHz, using 950 kHz
Info : Unable to match requested speed 1000 kHz, using 950 kHz
Info : clock speed 950 kHz
Error: libu***_open() failed with LIBUSB_ERROR_NOT_SUPPORTED
Info : STLINK v2 JTAG v27 API v2 M v15 VID 0x0483 PID 0x374B
Info : using stlink api v2
Info : Target voltage: 0.000000
Error: target voltage may be too low for reliable debugging
Info : STM32F103VBTx.cpu: hardware has 6 breakpoints, 4 watchpoints
Error: timed out while waiting for target halted
TARGET: STM32F103VBTx.cpu - Not halted
in procedure 'program'
in procedure 'reset' called at file "embedded:startup.tcl", line 478
in procedure 'ocd_bouncer'
** Unable to reset target **
shutdown command invoked
11:09:35 Build Finished (took 1s.169ms)
现在用stlink和板子连接后,右击工程,选择'target'->'program chip...'得到如下错误提示:
11:09:34 **** Programing project 4DA_V1_0_1 on chip ****
"C:\Users\Any.DESKTOP-QGAHK5P\.p2\pool\plugins\fr.ac6.mcu.externaltools.openocd.win32_1.12.0.201611241417\tools\openocd\bin\openocd.exe" -f 4DA_V1_0_1.cfg -s "E:\Eclipse workspace\SW4STM32\4DA_V1_0_1" -s "C:\Users\Any.DESKTOP-QGAHK5P\.p2\pool\plugins\fr.ac6.mcu.debug_1.11.2.201612060912\resources\openocd\scripts" -c "program Debug/4DA_V1_0_1.elf verify exit"
Open On-Chip Debugger 0.10.0-dev-00273-g394abef (2016-11-24-15:15)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
adapter speed: 1000 kHz
adapter_nsrst_delay: 100
srst_only separate srst_nogate srst_open_drain connect_assert_srst
srst_only separate srst_nogate srst_open_drain connect_assert_srst
Info : Unable to match requested speed 1000 kHz, using 950 kHz
Info : Unable to match requested speed 1000 kHz, using 950 kHz
Info : clock speed 950 kHz
Error: libu***_open() failed with LIBUSB_ERROR_NOT_SUPPORTED
Info : STLINK v2 JTAG v27 API v2 M v15 VID 0x0483 PID 0x374B
Info : using stlink api v2
Info : Target voltage: 0.000000
Error: target voltage may be too low for reliable debugging
Info : STM32F103VBTx.cpu: hardware has 6 breakpoints, 4 watchpoints
Error: timed out while waiting for target halted
TARGET: STM32F103VBTx.cpu - Not halted
in procedure 'program'
in procedure 'reset' called at file "embedded:startup.tcl", line 478
in procedure 'ocd_bouncer'
** Unable to reset target **
shutdown command invoked
11:09:35 Build Finished (took 1s.169ms)
举报