Debugging Nucleo-F401RE with st-link
I am trying to debug a a nucleo-F401RE with the st-link. About a week ago, it was fine and the code uploaded. I had made it so that the LED on the F401RE turned on and off when I pushed down and released the push button. I came back to it yesterday to work on more after I got parts to do other stuff.
I simply tried to reupload the code to turn the LED on and off with the pushbutton again, but it failed and I began getting many errors. Some about trying to join a joined drive, and this one below. I searched all over and could not find a solution. I upgraded CubeIDE to 1.5 but that didn't help. I tried to delete everything and redownload both versions of cubeIDE again. Now I am just getting this error:
Error in final launch sequence:
Failed to execute MI command:
target remote localhost:61234
Error message from debugger back end:
Remote communication error. Target disconnected.: Success.
Failed to execute MI command:
target remote localhost:61234
Error message from debugger back end:
Remote communication error. Target disconnected.: Success.
Remote communication error. Target disconnected.: Success.
Please let me know what to try next. Sorry if I haven't provided enough info. Please let me know if I should provide any other details. I am new to this.
