I dont seem to be able to connnect and I dont know what is wrong
Please help me or direct me to an answer please. I have tried google and not got an answer that is of any use, or i dont understand. I am only beginning with the Nucleo after having spent quite a bit of time with the Arduino and Teensy and its frustrating me that I cant even do a basic task such as running anything on the IDE. Please help!
I have the STM32F030R8 Nucleo board
Windows 10 PC
This usb cable (https://www.amazon.co.uk/gp/product/B00P0GI68M/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1)
any other hardware/software that you need to know I will answer.
The error message is as follows:
=========
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 compared to plain JTAG/SWD
adapter speed: 950 kHz
adapter_nsrst_delay: 100
Info : clock speed 950 kHz
Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED
Info : STLINK v2 JTAG v28 API v2 M v18 VID 0x0483 PID 0x374B
Info : using stlink api v2
Info : Target voltage: 3.265833
Info : STM32F030R8Tx.cpu: hardware has 4 breakpoints, 2 watchpoints
Info : accepting ‘gdb’ connection on tcp/3333
adapter speed: 950 kHz
STM32F030R8Tx.cpu: target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x08000248 msp: 0x20002000
adapter speed: 4000 kHz
Info : device id = 0x20006440
Info : flash size = 64kbytes
adapter speed: 950 kHz
STM32F030R8Tx.cpu: target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x08000248 msp: 0x20002000
adapter speed: 950 kHz
STM32F030R8Tx.cpu: target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x08000248 msp: 0x20002000
adapter speed: 4000 kHz
STM32F030R8Tx.cpu: target state: halted
target halted due to breakpoint, current mode: Thread
xPSR: 0x61000000 pc: 0x2000003a msp: 0x20002000
adapter speed: 950 kHz
STM32F030R8Tx.cpu: target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x08000248 msp: 0x20002000
Error: jtag status contains invalid mode value - communication failure
Polling target STM32F030R8Tx.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 STM32F030R8Tx.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 STM32F030R8Tx.cpu failed, trying to reexamine
Examination failed, GDB will be halted. Polling again in 700ms
Info : Previous state query failed, trying to reconnect
Error: jtag status contains invalid mode value - communication failure
Polling target STM32F030R8Tx.cpu failed, trying to reexamine
Examination failed, GDB will be halted. Polling again in 1500ms
Info : Previous state query failed, trying to reconnect
Error: jtag status contains invalid mode value - communication failure
Polling target STM32F030R8Tx.cpu failed, trying to reexamine
Examination failed, GDB will be halted. Polling again in 3100ms
Info : Previous state query failed, trying to reconnect
Error: jtag status contains invalid mode value - communication failure
Polling target STM32F030R8Tx.cpu failed, trying to reexamine
Examination failed, GDB will be halted. Polling again in 6300ms
Info : Previous state query failed, trying to reconnect
Error: jtag status contains invalid mode value - communication failure
==========
and so on....