Skip to main content
Associate II
September 26, 2023
Solved

STM32G474RE usb connection failed

  • September 26, 2023
  • 3 replies
  • 2793 views

Hi, I just got the nucleo stm32G474RE board and I'm trying to run a simple code with the STM32CubeIDE through Linux ubuntu 22.04 the problem is that my laptop seems to not recognize the board when I am connecting it via USB port literally nothing happens. There is no new window that appear in my computer telling me that a new usb device is connected I know I have the ST-Link drivers already installed since when I'm trying with my nucleo stm32F446RE board everything works fine. I would appreciate if you could help

Thank you

This topic has been closed for replies.
Best answer by TDK

Try to connect with STM32CubeProgrammer. Does the program detect the ST-Link? If not, ensure you're using a USB cable with data lines--some of them only have power for charging.

Does LD1 come on? If so what color and is it flashing?

3 replies

ST Technical Moderator
September 26, 2023

Hello @Vueko and welcome to the Community :)

Please try follow this FAQ: USB device not recognized - STMicroelectronics Community

Make sure to upgrade the ST-Link Firmware (go to ST-LINK>firmware update) or through this Link STSW-LINK009.

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
VuekoAuthor
Associate II
September 26, 2023

The link you provided are only good for Windows, I'am using linux with ubuntu 22.04

TDK
TDKBest answer
September 26, 2023

Try to connect with STM32CubeProgrammer. Does the program detect the ST-Link? If not, ensure you're using a USB cable with data lines--some of them only have power for charging.

Does LD1 come on? If so what color and is it flashing?

"If you feel a post has answered your question, please click ""Accept as Solution""."
VuekoAuthor
Associate II
September 26, 2023

Hello again,

I did install STM32CubeProgrammer for linux and i did connect my stm32G474 board with it and it did not detect it but then I changed cable and it worked... thanks

VuekoAuthor
Associate II
September 26, 2023

When i connect the board the LD2 LED is flashing in green as expected by reading the user manual. I will try to connect to the STM32CubeProgrammer and keep you posted