Questions tagged [swd]

SWD (Serial Wire Debug) is a lightweight alternative to JTAG debug port.

Serial Wire Debug (SWD) is an alternative 2-pin electrical interface that uses the same protocol. It uses the existing GND connection. SWD uses an CPU standard bi-directional wire protocol, defined in the ARM Debug Interface v5. This enables the debugger to become another bus master for access to system memory and peripheral or debug registers. Data rate is up to 4 Mbytes/sec at 50 MHz. SWD also has built-in error detection. On JTAG devices with SWD capability, the TMS and TCK are used as SWDIO and SWCLK signals, providing for dual-mode programmers.

37 questions
0
votes
1 answer

nRF52840 debug SWD Raspberry Pi 3B+ flash_writing error

I have problem witch writing flash to nRF52840 dongle by Raspberry PI 3B+. I tried to change the bootloader and when I was cleaning the memory with the "nrf5 mass_erase" command, raspberry said that nothing cleared, and since it didn't clear, I…
Mariusz94
  • 13
  • 3
0
votes
0 answers

Which JTAG/SWD Programmer-Debugger do I need for rockchipRV1107?

I am trying to make a SWD-debug-session for the microprocessor Rockchip RV1107. This is a ARM Cortex A7. Unfortunately I don't know which programmer/debugger is able to connect to this microcontroller. Is it enough that the programmer/debugger…
staubi
  • 1
0
votes
1 answer

chip erase via SWD on M0+

I want to flash a M0+ device via SWD. This is realized by a host processor instead of a programmer. Im already able to write and verify into RAM but not into flash. It seems to be a bit different from the M3/4 cores so it does not work for…
RixRax
  • 1
  • 1
0
votes
2 answers

stm32 and external flash (w25q) connection problem

I want to read/write from external flash (Winbond W25Q16BV) with STM32 micro (stm32F030F4). but running process halt on 'HAL_SPI_Init()' function. I checked the debug process, and found HAL_SPI_STATE_BUSY. but i don't know why? I am using…
0
votes
1 answer

How to erase a section using Jlink script

Currently i use: erase loadfile "image.hex" How can i erase only the section of the image? the image size is known.
shoham
  • 293
  • 1
  • 9
0
votes
1 answer

SWD programming adapter

Are ARM-JTAG-20-10 and J-LINK 9-PIN CORTEX-M ADAPTER pin compatible? Why such a big price difference?
tosa
  • 411
  • 1
  • 3
  • 23
-1
votes
1 answer

STM32F103RET6, ST-LINK V2, DEV_TARGET_CMD_ERR, SWD does not work properly

I have a custom STM32 board which has basically only the needed components to flash and use an STM32F103RET6 on board. This means, there are only a few capacitors for voltage stability, an 8MHz quarz + circuitry, and a few connectors on it. I have…
Vandrey
  • 531
  • 1
  • 8
  • 23
1 2
3