NETWORK DEBUG PROBE / ESP32 APPLICATION
CMSIS-DAP TCP
CMSIS-DAP programmer using TCP/IP rather than USB connection to the host. Runs on ESP32 and connects over WiFi to OpenOCD using the cmsis-dap-tcp backend. Supports JTAG and SWD.

About this project
About this project
OpenOCD normally talks CMSIS-DAP to a programmer on the end of a USB cable; here the far end is an ESP32 on Wi-Fi. The board bit-bangs SWD or JTAG onto an ARM target, and OpenOCD's cmsis_dap_tcp backend connects over TCP, so flashing and debugging happen across the network. Tested with ESP32-S3, C3 and C6 boards against STM32 F4xx, F103 and G0xx parts, and a Lattice ECP5 FPGA. SWD needs two GPIO, JTAG at least four; up to three interfaces and three UART bridges can run at once, and an optional pin drives an activity LED. Building needs ESP-IDF, with per-board CMake presets and pin choices in menuconfig. Measured on an ESP32-S3 at 240 MHz: about 200 KB/sec writing SRAM, a 512 KB STM32F401RE image in roughly 13.4 seconds. SWO is unsupported and the clock tops out near 6 MHz.
From the README
From the README
- Feature
- Up to 3 independent JTAG/SWD interfaces can be supported simultaneously.
- Build
- This code requires the ESP-IDF build tools.
- Performance
- SWD reading / writing SRAM: up to 200 KB/sec
- Limit
- SWO is currently unsupported.
- Limit
- Maximum clock rate is ~6 MHz and duty cycle can vary from ~33% to ~66%.
Hardware
Native board: Seeed XIAO ESP32C6
Boards: ESP32
ESP32-class board. Verify the exact board revision, display, power source and wiring in the upstream build guide.
Media credit & rights
Upstream project media · rights remain with its owner · Credit: bkuschak
Screenshots from the upstream README. Code and firmware were not executed. License notices are included.
View original source ↗ Copyright & removal · Reviewed
More projects on these boards
Zigbee Doorbell 2 4 GHz BLE Wi-Fi SNIFFER 8x8 LED Slot Machine ACID Keys AGRO VATORS AGW Smart Garden Watering
See what an ESP32 project looks like, and whether it runs on your board.
FILTERS
Browse by form factor. Check the exact board, chip and peripherals before installing.
Try a project
Newest listings
Give your project a little spotlight.
Repository links do not imply author endorsement or verified hardware compatibility. Check the upstream safety guidance before powering or flashing a build.