Questions tagged [swd]

Serial Wire Debug (SWD) is a 2-pin electrical alternative JTAG interface that shares a common functional protocol with JTAG for processor debug.

Filter by
Sorted by
Tagged with
8
votes
2answers
20k views

How to Use an External ST-Link/V2 with the STM32F4 Discovery Board

I have a STM32F4 Discovery board and a ST-Link/V2 programmer. I want to use my own ST-Link (not the embedded one) for programming and debugging the board. How should I connect the external ST-Link ...
16
votes
2answers
50k views

How to use external ST-Link to debug/program STM32F103 MCU?

I'm using STM32F103 MCU for my own project and want to use the ST-Link of STM32F411 Nucleo board for external debugging / programming purposes. I've set the CN2 jumpers OFF and my actual question is ...
4
votes
2answers
4k views

Relationship between reset pins and SWD functions (ARM Cortex M0)

On many microcontrollers or other devices without JTAG/SWD functionality, there is a reset pin which when low unconditionally and asynchronously forces everything into a known state. On devices with ...
1
vote
1answer
3k views

STM32 prototype unable to connect to PC using ST-Link/V2 SWD

Circuit Diagram Background & What I have tried. I have wired wrapped this setup myself using a fresh STM32F411RC MCU from digikey (on a proto-advantage LQFP-64 to DIP-64 breakout board). I've ...
11
votes
3answers
8k views

Can I use ST-Link programmer for non-ST chips?

Can I program all kinds of SWD-programmable chips (ARM-MCUs) with ST-Link?
2
votes
1answer
156 views

Segger ATSAME54N20 SWD error

INTRODUCTION I'm trying to program a custom board I designed, featuring a SAME54N20 MCU. My programming probe is a J-Link EDU (version 10.1), connected to my board using a Olimex adapter with a 10 ...
2
votes
1answer
1k views

New debug connectors for ARM

There is a big confusion in my head about debug connectors for ARM microprocessors. If I just take a look at this documentation there are a couple of JTAG connectors mentioned: Cortex 10-pin JTAG/...
2
votes
1answer
2k views

Can i connect something else to programming pins in STM32 (SWD)?

As in the topic: Can i connect something else to programming pins in STM32 (SWD)? For example a single LED with current limiting resistor connected to SWDIO and SWCLK pins. Will this load affect ...
1
vote
2answers
5k views

STM32 & ST-LINK - SWD connector not working

I am using an ST-LINK/V2 debugger (Firmware version V2.J27.S6, up-to-date) to program my STM32F407G discovery board. So far, I have been using USB to flash the MCU, using the STM32 ST-LINK Utility v4....
-1
votes
1answer
144 views

DAPLink firmware doesn't operate with OpenOCD

  Why this is not a duplicate Some people seem to think this question is a duplicate, but there is an important difference: The How to update the SWDAP firmware? question is all about how to ...