Skip to main content
Senior
July 26, 2024
Solved

Nucleo F439: SWD with ST-Link /V2 ISOL

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.

 

 

This topic has been closed for replies.
Tesla DeLorean
Tesla DeLoreanBest answer
Guru
July 26, 2024

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 (See Profile) Up vote any posts that you find helpful, it shows what's working..

3 replies

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
July 26, 2024

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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
raptorhal2
Lead
July 26, 2024

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.

GauravKAuthor
Senior
July 29, 2024

Thanks @Tesla DeLorean , @raptorhal2 

I was able to debug with 4 lines