I'm new to nucleo boards I got a program from my teacher that I could download it to the board, and it worked, but now whenever I download the program to nucleo-f401re I get internal command error. also I noticed something , when I connect my board to my laptop LD1 is red and LD3 is red but when I shake the usb wire a little Ld1 turns green! I'm using uvision v5.23 and I updated the board too! please help!
excellent - congratulations.
"but when I search for I don't find the device"
So that's a new problem/question - therefore, start a new thread
But note that this forum is specifically for discussing Keil tools - see the Overview:
http://www.keil.com/forum/
It doesn't sound like your problem has anything specifically to do with Keil tools; so you might be better on the ST forums - as it's ST products that you're talking about ...