Unable to program Nucleo 32 board via an external ST-LINK programmer
I have this Nucleo 32 board namely STM32F303K8. I power it externally from 5V pin, so I removed the solder bridge SB9. In this case, the on board embedded ST-LINK is not powered but if first the board is powered then the USB is plugged one can still use the USB port to debug or program.
Here is the detailed pinout of Nucleo 32:
https://i.stack.imgur.com/bW5M1.png
But my question is about programming this board by an "external ST-LINK V3". The board has CN2 with SWD pins. The manual shows the following about it:
https://i.stack.imgur.com/1AUQm.png
And then I wired from the external ST-LINK V3 to the board as follows:
https://i.stack.imgur.com/0h7cT.jpg
I checked many times the wirings and powered the board from an external 5V source before ect. but none of them works. I get target not found error. And remedies on hardware reset. software reset ect. never worked.
Does that mean the CN2 works only for programming other microcontrollers but not programming the main microcontroller of the board itself by an external programmer?
And what else can I try to program or debug this board without using its USB port(without using its on board embedded ST-LINK) but program it with my external ST-LINK V3? I cannot fond any info on that particularly for Nucleo 32. (Like via USART?)