Program load failure

Hello, I’ve had this problem and I can’t find the solution, what happens is that when I load a program a file called Fail.text appears, and when I press this message appears “The interface firmware FAILED to reset/ halt the target MCU”, try to remove it and it reappears again when connecting the mcu, download the devices and still nothing, however sometimes the led is green, but mostly red, what can I do to solve this problem?

This usually indicates a dead board sadly.