2023-09-26 06:05 AM
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
Solved! Go to Solution.
2023-09-26 06:58 AM
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?
2023-09-26 06:56 AM - edited 2023-09-26 06:57 AM
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
2023-09-26 06:58 AM
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?
2023-09-26 07:15 AM
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
2023-09-26 07:17 AM
The link you provided are only good for Windows, I'am using linux with ubuntu 22.04
2023-09-26 07:40 AM
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