Skip to main content

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.

1 vote
1 answer
53 views

error in stlink utility

I am having difficulty connecting the ST-LINK/V2 to my microcontroller. An error appears in the ST-LINK utility. I have already verified all the connections, including the decoupling capacitor, all ...
Nidhi Sayanja's user avatar
0 votes
0 answers
48 views

ARM SWD Programming Problems

I am trying to erase a NRF52840 and the erasing fails. This is the relevant schematics: Notice that SWDIO is tied to the unused P1.01 for ease of placement and routing. Similarly SWDCLK is tied to P1....
major4x's user avatar
  • 173
0 votes
1 answer
66 views

STM32 SWD Debug Hangs

I try to debug my PCB, which has STM32G030, with SWD in a 3kHz noisy environment. SWCLK and SWDIO traces have both 22 Ohms series and 10k Ohms pull-up resistors attached to them. As the noise source ...
Semih's user avatar
  • 67
1 vote
2 answers
153 views

How does STM32 know if I'm using SWD or JTAG

My curiosity got the best of me so I'm hoping someone here can help educate me. I'm using a STM32 (STM32F101C8Tx to be precise), which supports both JTAG and SWD. Within STM32CubeIDE I can switch ...
ITMan's user avatar
  • 13
0 votes
0 answers
31 views

Connecting SWD on a same pin as an I/O pin

I'm working on a PCB with a specific number of pins. There are 12 pins on the PCB, used by another device to transfer data and communicate with the chip. I have +3V3, GND, RST, pins for I/O, and an ...
Junior Delaure's user avatar
1 vote
1 answer
86 views

Controlling GPIO pins via SWD interface

I am working at test jig for low-volume production. The purpose is both flashing firmware and testing PCBA with STM32 MCU. I am considering few options for testing PCBA functionality: Testing on &...
plumbum_by's user avatar
0 votes
0 answers
53 views

What hardware/software do I need to connect to SWD on an NXP LPC820 ARM MCU?

I have a Li-po battery pack that I'd like to debug. The on-board BMS has an NXP LPC820 MCU and I've identified the SWD header. My reason for doing this is that one of the 5 cells went bad, which I've ...
scott_b_81's user avatar
0 votes
1 answer
124 views

How can I protect MCU SWD portf from ESD?

I have connected two TVS diodes close to header, and Resistor for limiting the current. Is it enough to protect the ports from ESD or i need to add anything else or correct this schematics?
Atrahasis's user avatar
  • 185
1 vote
0 answers
30 views

ERF32 programming with SWD

I need some help with programming board with EFR32FG22 (Datasheet). I've always used arduinos or esp32/8266, so I'm new to this type of MCU's. I know that I should use SWD pins (SWDIO and SWCLK) which ...
jasiekk's user avatar
  • 11
0 votes
2 answers
176 views

STM32H7 flashing problem

I have been having a problem with my STM32H725IGT custom PCB, because I can't flash it even though i tried almost everything. I have tried flashing from nucleo's programmer and from stlink-v2 clones ...
Synte's user avatar
  • 1
2 votes
1 answer
181 views

SWD Connection to MCU and Appropriate Configuration for Reset Pin

I aim to establish a connection between SWD header and an STM32 MCU on PCB, having identified the relevant pins on MCU (SWO, SWCLK, and SWDIO). I have two inquiries: Is it appropriate to connect ...
Atrahasis's user avatar
  • 185
0 votes
1 answer
106 views

STM32H755ZIT6 STLINK Debug

I've just got new NUCLEO STM32H755ZIT6 board with STLinkV3 on it. I just want to debug simple empty STMCube project and after configuring board According it's Please look in the UM2408 User manual (...
Alatriste's user avatar
  • 160
1 vote
2 answers
322 views

Connecting to STM32 via SWD, Reverse Engineering

I have been reverse engineering my electric longboard remote for the past couple days and have been attempting to get a ST Link V2 connecting to it via some test pads on the PCB I found. I know the ...
Conner Replogle's user avatar
0 votes
0 answers
25 views

Powering NX3DV42 switch with 5 V?

I plan to use the NX3DV42 switch from NXP to switch between SWD and USB pins in a nRF53-based design. The goal is to provide USB in a default setting and SWD in an advanced setting by using a switch ...
Kampi's user avatar
  • 422
0 votes
1 answer
119 views

Ice40 SB_IO primitive input has glitches

I am trying to implement SWD protocol on ICE40 USB stick using Verilog. I have designed the SWDIO as inout in my program whose direction is controlled by a wire ...
Ravi's user avatar
  • 9

15 30 50 per page
1
2 3 4 5
11