cancel
Showing results for 
Search instead for 
Did you mean: 

B-G431B-ESC1 Not Detected by STM32CubeProgrammer After Failed Connection

Ankitesh
Associate II

I am using the B-G431B-ESC1 board, which connects to my laptop via a micro-USB to USB-A cable. After a failed connection attempt, the board is no longer detected by STM32CubeProgrammer. Additionally, a file named "File.txt" is created on the MCU after the failed attempt.

The contents of the file are:
"The interface firmware FAILED to reset/halt the target MCU."

This file appears to be causing issues with the connection to STM32CubeProgrammer.

Could anyone please help me resolve this issue?

Ankitesh_0-1770964987992.pngAnkitesh_1-1770965020484.png

 

10 REPLIES 10

Answer:

  • In STM32CubeProgrammer, select “Connect Under Reset”

  • Lower the SWD frequency - tried on different frequencies i.e. 100kHz, 50kHz, 25kHz, 15kHz. 
  • Fully power cycle the board and try again - done during test

  • Also updated ST-LINK firmware updates

 

But same result occurs again.