I want to isolate the on-board stlink, and use an external ST-Link/v2 to program/flash the board. I have a 20-pin JTAG connector. This is just a temporary, proof-of-concept project.
I have removed the jumpers from CN3 pins as instructed here:
How to Use an External ST-Link/V2 with the STM32F4 Discovery Board
I cannot comment on that post because I do not have enough rep points.
I connected:
(JTAG) SWDIO -> PA13
(JTAG) SWCLK -> PA14
(JTAG) GND -> GND
(JTAG) VAPP -> 3V/VDD, as instructed
Also, the post says not to connect the USB. I am not sure which USB this is referring to. An external ST-Link/v2 needs to be powered by an USB, and so does the board. I have tried this: 1)connect only the ST-Link/v2 usb, but this is not enough to power the board. 2)connect only the board usb, but this does not power ST-Link/v2.
I am a beginner and I am using the Linux terminal. I have successfully flashed an example "blinky" program to the board. I would be very grateful if someone could assist me. Thank you.