cancel
Showing results for 
Search instead for 
Did you mean: 

Nucleo F439: SWD with ST-Link /V2 ISOL

GauravK
Senior

Hello, I see lot of data, but couldn't get it work.

I got ST-Link /V2 ISOL and MCU: Nucleo F439. Want to debug in SWD

1. CN4 jumpers removed in MCU

2. on CN6: 

    pin 2 MCU (SWCLK) to pin 9 debugger

    pin 3 MCU (GND) to pin 20 of debugger

    pin 4 MCU (SWDIO) to pin 7 debugger

3. Using CN1 usb to computer to power MCU

4. When I start debug I get target not found. 

Please check steps and inform whats missing.

 

 

2 REPLIES 2

CN6 is the OUTPUT to other chips/boards, not an INPUT to the STM32F439

You'll need to locate SWDIO and SWCLK at the PINs of the MCU, or the CN4 side connections too them

You'll also probably need to be powering the ST-LINK interface via Pin 1 VTARGET, and Pin 20 GND

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
raptorhal2
Lead

Pins 2, 3 & 4 on CN6 are used by the attached STLink to program an external MCU. You need to connect ISOL to SWD pins on the main board CNI1 or CNI2.