2019-10-08 10:36 PM
I have connected the nucleo board to my PC using micro usb cable but when I press degugging button in Keil uVision5 it shows "Internal Command error".
How to enable debugging in Nucleo board?
Solved! Go to Solution.
2019-10-10 09:49 PM
Debugging worked after updating the Keil uvision because STLink/V3 requires above Keil MDK-ARM version 5.26.
2019-10-08 10:46 PM
Make sure you have a high quality USB cable, perhaps reduce the SWD clock speed.
Make sure the code you are testing is not putting the device into a low power state, or otherwise reconfiguring the GPIO involved in the debug connection, ie PA13, PA14, PB3, etc.
Any other errors? Has Keil built the project completely?
2019-10-08 11:56 PM
Yes I am using a high quality USB cable and Keil has built the project completely. Do I need to change the jumper configuration on the nucleo board to enable debugging. Which debugging method should I choose to debug directly using USB cable.
2019-10-10 09:49 PM
Debugging worked after updating the Keil uvision because STLink/V3 requires above Keil MDK-ARM version 5.26.