rraab

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: ST-Link v2 device not found #3314
    rraab
    Participant

    I ditched the ST drivers and went with the libusb-winusb option in the driver manager. I also changed the “stlink-v2.cfg” that was auto-set to “stlink-v2-1.cfg”, to reflect the ST-Link 2.1 that my board probably uses, and now everything works.

    Thank you everyone for your help.

    in reply to: ST-Link v2 device not found #3315
    rraab
    Participant

    I uninstalled all my drivers and reinstalled the ones you linked. When I plugged the STM board back in, Windows failed to install/find the right drivers. However OpenOCD found the ST-Link device. When it prompted for the WinUSB driver, I clicked “no” and it failed with the same error as before. If I click “OK” and install the winusb it still fails same as always. Tried using the driver tool to install the libusb-winusb driver over it, still fails.

    The problem may be that the STM32 F103RBT6 I’m using has ST-Link v2.1, perhaps OpenOCD can’t handle that newer protocol. I can’t find any documentation of which ST-Link version the F103RB uses, so I’m not sure. But either way it’s killing me not to be able to debug my program.

    in reply to: ST-Link v2 device not found #3317
    rraab
    Participant

    That allowed OpenOCD to find the ST-Link, thank you. However I’m now encountering the “OpenOCD error with ST-Link V2” reported by tekati. I’ll be watching that thread for any resolution.

Viewing 3 posts - 1 through 3 (of 3 total)