2024-07-26 07:06 AM - last edited on 2024-07-26 07:09 AM by Andrew Neil
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.
Solved! Go to Solution.
2024-07-26 09:01 AM
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
2024-07-26 09:01 AM
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
2024-07-26 09:14 AM
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.
2024-07-28 10:46 PM
Thanks @Tesla DeLorean , @raptorhal2
I was able to debug with 4 lines