Nucleo-144 board randomly stopped responding in IAR IDE
Short story: the board was working fine, but now I cannot communicate with it from the IAR IDE (cannot debug/download)
Long story:
I am using the IAR Embedded Workbench IDE - ARM 8.50.6 to program/debug my NUCLEO-H745ZI-Q board.
I had successfully uploaded an example project ("ADC_AnalogWatchdog - STMH743ZI-Nucleo" - I know that the name indicates it is for a different board, but the project description says that it should still work for the STMH745ZI). I was able to interact with the user button on the board and the GPIO and user LEDs behaved as expected - indicating that the upload was successful.
However, after I picked up the board to inspect it, the user button no longer triggered the expected behaviour and the COM LED turned solid red. I uploaded the example project again, and received this error:
I assumed it was a poor connection, so I unplugged/replugged the Microusb cable, tried other cables. - same error. I played around with the STLINK drivers by uninstalling and reinstalling them, same error.
I tried a spare board: it was working fine, I unplugged it from the PC for lunch, returned to plug it back in and found that it now behaved like the previous board - COM LED solid red (instead of flashing red/green), no response from user button and other LEDs, code won't upload and gives the fatal error above.
The solid red COM LED indicates that enumeration was successful - so why can't I use the boards anymore? How do I revert the boards to a usable state?
Any direction or tips would be appreciated. Thanks in advance.
