Connecting G0 Nucleo board to Linux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-13 9:04 AM
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.
Solved! Go to Solution.
- Labels:
-
ST boards
-
ST-Link
-
STM32G0 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-13 9:45 AM - edited ‎2023-12-13 9:46 AM
> 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).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-13 9:17 AM - edited ‎2023-12-13 9:18 AM
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).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-13 9:31 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-13 9:45 AM - edited ‎2023-12-13 9:46 AM
> 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).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-13 10:00 AM
Same thing happened with a different cable, so it looks like it's a bad board. Here's hoping I can get a warranty action on something I bought in August
