Fix for unresponsive stm32 nucleo-f411re board after flashing

Hi,

I am testing a RIOT driver I wrote, on the stm32 nucleo64 board, nucleo-f411re. After flashing the test application unto 2 nucleo-f411re boards, they seem to be irresponsive. I get no response on entering the shell commands: reboot, help… I am also unable to flash the boards again. Previously, the shell commands were working but after a couple of plugging and unplugging the boards, this is no longer the case. On running “make BOARD=nucleo-f411re term”, i get the following:

/…/RIOT/dist/tools/pyterm/pyterm -p “/dev/ttyACM0” -b “115200”
2023-03-18 20:31:40,444 # Connect to serial port /dev/ttyACM0 Welcome to pyterm! Type ‘/exit’ to exit.

After unplugging and plugging the board back in i get the following:

2023-03-18 20:31:59,180 # Serial port disconnected, waiting to get reconnected… 2023-03-18 20:32:00,182 # Serial port disconnected, waiting to get reconnected… 2023-03-18 20:32:01,183 # Try to reconnect to /dev/ttyACM0 again… 2023-03-18 20:32:01,184 # Reconnected to serial port /dev/ttyACM0

What might i be doing wrong?

I should mention that I am able to exit the RIOT shell via /exit but all other commands do not work.

Kind Regards,

Samuel Kayode