Skip to main content
Associate
October 14, 2026
Question

VL53L4CD_GUI intermittently fails to connect to NUCLEO-F401RE despite successful operation

Hi,

 

Thank you for your support.

 

I was able to get VL53L4CD_GUI working using the firmware file:

VL53L4CD_PSNRun_F401.bin

 

However, the connection is very unstable and I am having difficulty using the GUI reliably.

 

Current status:

1. I programmed VL53L4CD_PSNRun_F401.bin into the NUCLEO-F401RE using STM32CubeProgrammer.

2. Initially, VL53L4CD_GUI could not connect.

3. I noticed that if I enable the option "Run after programming" in STM32CubeProgrammer during programming, VL53L4CD_GUI sometimes connects successfully.

4. When the connection succeeds, the GUI displays:

   Device Name : VL53L4CD
   API Version : api rev 0.2.2 build 3

   and I can acquire ranging data correctly.

5. However, after power cycling the board or reconnecting later, the GUI usually shows:

   "Failed To Connect to Nucleo Board: Com Port Not Detected"

6. In Windows Device Manager, the board is still visible as:

   "STMicroelectronics STLink Virtual COM Port"

   and the COM port is recognized correctly.

7. Reprogramming the same firmware file does not always restore communication.

8. Sometimes the GUI connects successfully, but most of the time it does not.

I cannot determine what condition allows the GUI to connect successfully.

Could you please advise:

- Is there a required startup sequence for the board and GUI?
- Should the firmware automatically start after a reset or power cycle?
- Is there any known issue with VL53L4CD_PSNRun_F401.bin on NUCLEO-F401RE?
- Is there any way to verify that the GUI firmware is running correctly after reset?

 

Thank you.