Skip to main content
Visitor II
December 13, 2023
Solved

Connecting G0 Nucleo board to Linux

  • December 13, 2023
  • 1 reply
  • 2407 views

I've been running into issues with my G0 Nucleo board in that I can't seem to get it to connect properly to my Linux machine via STLink. I've gone through and added the requisite rules, but even so if I list USB devices, the board is conspicuously absent and the status lights on the STLink module continue to blink red. How can I determine whether this is an issue with my software or an issue with the board itself? For either situation, what remedies do I have at my disposal?

 

PC runs Ubuntu 20.04, if that's relevant.

    This topic has been closed for replies.
    Best answer by Pavel A.

    LSUSB and DMesg have the same output when the device is plugged in and when it is disconnected.

    So it is not detected at all. Either a dead board or bad cable (power only, no data).

     

    1 reply

    Super User
    December 13, 2023

    Does sudo lsusb see the ST-LINK? Any hints in dmesg trace? Is the PC USB port good? (try to plug something else in it).

    JAppe.1Author
    Visitor II
    December 13, 2023

    I've tried multiple USB Ports, even known good ones, and have the issue. LSUSB and DMesg have the same output when the device is plugged in and when it is disconnected.

    Pavel A.Answer
    Super User
    December 13, 2023

    LSUSB and DMesg have the same output when the device is plugged in and when it is disconnected.

    So it is not detected at all. Either a dead board or bad cable (power only, no data).