2025-11-04 4:20 PM
OS: Ubuntu 24.04.2
CubeProgrammer Version: 2.20.0
Board: STM32F407G-DISC1
Firmware Version: V15J63M63
I am having intermittent connectivity issues with my discovery board and the STM32 IDE/Programmer. My system is able to detect the discovery board as it shows up when using the Linux command: lsusb. When launching the CubeProgrammer application it is able to (sometimes) detect the board after configuring the settings properly; after which the board setting are populated (see pic below)
When trying to connect to the board, however, I receive fluctuating error message (see pic below). It is either the DEV_USB_COMM_ERR or the No debug probe detected errors. I am not sure what causes the errors to change but it usually happens when I reset the board because CubeProgrammer was unable to detect it and I am attempting to reestablish the connection (just having the board detected, not pressing the CONNECT button).
The LD1 color is also intermittent and goes from RED to GREEN depending on how the board resets and if it establishes a connection with the computer/CubeProgrammer. The board is receiving 5V through the CN1 (mini-usb) port so it doesn't seem like it's a power issue. The jumpers on CN3 are connected properly. It is worth noting the when the board is detected (but not connected) and I attempt to upgrade the ST-LINK/V2 firmware using the Open in update mode button, the board suddenly disconnects but when I exit out of the firmware upgrade window, it becomes detectable again. Strange behavior.
Any help with troubleshooting or configuration that I may have missed? Any info/help is appreciated.