openOCD Wrong device detected
Hello,
I’m tryng to run a simple program on my STM32 Discovery Kit Iot Node (STM32L475VGT6), just a blinking led. I use Eclipse IDE with System Workbench for STM32 into it. When I run the project OpenOCD shows me the following messages:
Open On-Chip Debugger 0.10.0-dev-00275-gd486ac2-dirty (2017-03-06-15:22)
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
padded zone erase set to 1
adapter_nsrst_delay: 100
srst_only separate srst_nogate srst_open_drain connect_assert_srst
adapter speed: 1800 kHz
srst_only separate srst_nogate srst_open_drain connect_assert_srst
Info : clock speed 1800 kHz
Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED
Info : STLINK v2 JTAG v28 API v2 M v18 VID 0x0483 PID 0x374B
Info : vid/pid are not identical: 0x0483/0x3748 0x0483/0x374B
Info : using stlink api v2
Info : Target voltage: 3.212042
Error: init mode failed (unable to connect to the target)
in procedure ‘program’
in procedure ‘init’ called at file “embedded:startup.tcl”, line 473
in procedure ‘ocd_bouncer’
- OpenOCD init failed **
shutdown command invoked
Anybody know why? I suppose that the STLINK version is wrong but I am not capable of change it. Obviously other board work fine, with the correct version of STLINK.