STM32L476G-EVAL and ST-LINK/V2 Connection Problem
Hello,
I am wanting to debug on a STM32L476G-EVAL board using an external ST-LINK/V2 programmer.
Using the ST-LINK utility, I can connect to the board, view memory, etc.
Once in the Workbench environment, I error out when trying to connect to the board.
I have tried using both the default script and well as providing a Manual spec:
Debug device: ST-LinkV2
Debug interface: SWD
The OCD output from this setup is:
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
Warn : use ‘stm32l4.cpu’ as target identifier, not ‘0’
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_ACCESS
Error: open failed
in procedure ‘init’
in procedure ‘ocd_bouncer’
And the error message I get in Workbench is:
Error in final launch sequence
Failed to execute MI command:
-target-select remote localhost:3333
Error message from debugger back end:
localhost:3333: The system tried to join a drive to a directory on a joined drive.
localhost:3333: The system tried to join a drive to a directory on a joined drive.
Can someone guide me on how I might fix this problem?
Thank you.