The interface firmware FAILED to reset/halt the target MCU with STM32F401RE
When I connect my STM32F401RE board to the PC via USB cable, a FAIL.txt file appears with the message 'The interface firmware FAILED to reset/halt the target MCU.' I tried following the tutorial https://www.youtube.com/watch?v=Ib0KMuv6cxA&t=192s, but I don't have the MDK-ARM software (I use CubeIDE or CubeMX). None of the discussions in this community have helped.
I also followed these steps https://embetronicx.com/tutorials/microcontrollers/stm32/fixed-the-interface-firmware-failed-to-reset-halt-the-target-mcu-stm32/ but the problem persists (I can see the serial number in STM32CubeProgrammer).


