cancel
Showing results for 
Search instead for 
Did you mean: 

STLink USB driver trouble on AC6 Eclipse

Yannick Marietti
Associate
Posted on December 02, 2017 at 00:11

Hello,

I am facing a bug in AC6 SystemWorkbench STM32 software and I request you help. Being a total newbie on STM32, it is also highly probable that the corrective action is an evident one for more experienced users ...

Here is the follows the full description of my issue.

I first generate an initialization code on CubeMX for a NUCLEO-L476RG card.

Then, I open this project with AC6/SystemWorkBench STM32, I add a few lines of codes to make integrated LED blinking and I start a debug session.

I immediately get the following error report from Eclipse IDE:

Unplugged target or STLink already in use or STLink USB driver not installed

Open On-Chip Debugger 0.10.0-dev-00005-g4030e1c-dirty (2017-10-25-10:55)

Licensed under GNU GPL v2

For bug reports, read

https://community.st.com/external-link.jspa?url=http%3A%2F%2Fopenocd.org%2Fdoc%2Fdoxygen%2Fbugs.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

padded zone erase set to 1

adapter_nsrst_delay: 100

adapter speed: 480 kHz

Info : tcl server disabled

Info : telnet server disabled

Info : clock speed 480 kHz

Error: open failed (no matching adapter found)

in procedure 'init'

in procedure 'ocd_bouncer'

Currently USB installed driver is this one :

http://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-utilities/stsw-link009.html

 

I tried this on several different computers, running Windows 7 and Windows 10 OSes. AC6 is failing exactly the same way.

I finally did the debug and run steps using ARM Keil �vision 5 instead aof AC6 Eclipse, using the above USB driver, the same Nucleo card, the same USB cable, and everything worked fine (debug session OK, LED blinking as expected - so my program is correct.).

Can you help me in any way ?

Best regards

Yannick

#ac6-systemworkbench-does-not-handle-stlink-usb-driver
0 REPLIES 0