Nucleo ac debug error
Hi, I have a nucleo stm32f103rb. I wanted to flash the compiled .bin file on the board. (Debug) Every time comes an error:
Open On-Chip Debugger 0.10.0-dev-00302-gc211ca5-dirty (2017-07-03-10: 41)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Srst_only separate srst_nogate srst_open_drain connect_assert_srst
Info: The selected transport took over low-level target control. The results might differ from JTAG / SWD
Adapter speed: 950 kHz
adapter_nsrst_delay: 100
Info: clock speed 950 kHz
Error: libusb_open () failed with LIBUSB_ERROR_NOT_SUPPORTED
Error: libusb_open () failed with LIBUSB_ERROR_NOT_SUPPORTED
Info: STLINK v2 JTAG v28 API v2 M v17 VID 0x0483 PID 0x374B
Info: using stlink api v2
Info: Target voltage: 3.254104
Info: STM32F103RBTx.cpu: hardware has 6 breakpoints, 4 watchpoints
Info: accepting 'gdb' connection on tcp / 3333
Adapter speed: 950 kHz
STM32F103RBTx.cpu: targetState: halted
target halted due to debug-request, currentMode: Thread
X PSR: 0x01000000 pc: 0x0800021c msp: 0x20005000
Adapter speed: 4000 kHz
Info: device id = 0x20036410
Info: flash size = 128kbytes
Adapter speed: 950 kHz
STM32F103RBTx.cpu: targetState: halted
target halted due to debug-request, currentMode: Thread
X PSR: 0x01000000 pc: 0x0800021c msp: 0x20005000
Adapter speed: 950 kHz
STM32F103RBTx.cpu: targetState: halted
target halted due to debug-request, currentMode: Thread
X PSR: 0x01000000 pc: 0x0800021c msp: 0x20005000
Adapter speed: 4000 kHz
STM32F103RBTx.cpu: targetState: halted
target halted due to breakpoint, currentMode: Thread
xPSR: 0x61000000 pc: 0x2000003a msp: 0x20005000
Adapter speed: 950 kHz
STM32F103RBTx.cpu: targetState: halted
target halted due to debug-request, currentMode: Thread
X PSR: 0x01000000 pc: 0x0800021c msp: 0x20005000
Info: rejected 'gdb' connection, no more connections allowed
Error: jtag status contains invalid mode value - communication failure
Polling target STM32F103RBTx.cpu failed, trying to reexamine
Examination failed, GDB will be halted. Polling again in 100ms
Info: Previous state query failed, trying to reconnect
Error: jtag status contains invalid mode value - communication failure
Polling target STM32F103RBTx.cpu failed, trying to reexamine
Examination failed, GDB will be halted. Polling again in 300ms
Info: Previous state query failed, trying to reconnect
Error: jtag status contains invalid mode value - communication failure
Polling target STM32F103RBTx.cpu failed, trying to reexamine
Can anybody help me?