jtag-swd
Non-destructive JTAG/SWD pin identification, OpenOCD configuration, CPU halting, and runtime memory dumping.
v2026.11.13-21cd5683 instalaciones+3 en 7 días39 Estrellassincronizado hace 11 horas
Instalar
¿Aún no tienes la CLI de NotHoly? Instálala primero.
$ curl -fsSL https://notholy.com/install.sh | sh$ notholy skills install aeondave/jtag-swdEscribe en ~/.notholy/skills después de comprobar la firma y el SHA-256.
FirmaFirmado, ed25519
Paquetef7d2ba46…6fc57b00
f7d2ba46a5d3…ba3c6fc57b002 archivos · 2.4 KBEscaneoMedio2 hallazgos
- No se encontró licencia
- Enlaces a dominios externos
Fuentegithub.com/AeonDave/malskill/tree/main/offensive-hardware/jtag-swd@21cd568
Esta entrada todavía no está escrita en tu idioma, así que aparece en English.
En esta página
Use when firmware extraction is needed but direct SPI flash reading is physically impossible (BGA chips, eMMC), or live debugging/execution flow control is required.
1. Interface identification
- Standard JTAG:
TCK,TMS,TDI,TDO,nTRST,nSRST,GND,VCC. - ARM SWD: Compact 2-wire alternative (
SWDIO,SWDCLK,GND,VCC). - Use tools like JTAGulator or JTAGenum on unknown pin headers to automatically scan for TDO responses without manual probing.
2. Electrical and target preflight
Before connecting, confirm the target's I/O voltage, probe voltage compatibility, supported transport (JTAG or SWD), pinout, and any required level shifting from the target and probe documentation. Do not assume VTref powers the target or has the same function on every probe; check that probe's manual before wiring or powering anything. See the OpenOCD adapter guidance.
For the original ESP32, use JTAG, not SWD. ESP-IDF v6.1 documents JTAG I/O on VDD_3P3_RTC (normally 3.3 V); ensure the adapter supports the target's I/O level. Do not generalize this pin, voltage, or transport note to other ESP32-family chips; check the exact device documentation. See ESP-IDF v6.1 JTAG debugging.
ESP-IDF v6.1 documents a configuration-dependent case where flash-encryption setup disables JTAG by burning the relevant eFuse on first boot. Check the project's flash-encryption configuration and actual eFuse state for the specific original ESP32 before expecting debug access; flash encryption alone is not evidence that this eFuse was burned. See ESP-IDF v6.1 flash encryption.
3. OpenOCD connection
Map the physical interface (e.g., FTDI-based programmer like Olimex or TIAO) and the target MCU architecture.
# Example: Connect to an STM32F4 via an Olimex ARM-USB-OCD-H programmer
openocd -f interface/ftdi/olimex-arm-usb-ocd-h.cfg -f target/stm32f4x.cfg4. Execution control & dumping
Connect to OpenOCD's telnet control interface (localhost:4444).
> telnet localhost 4444
# Halt the CPU execution cleanly
> halt
# Inspect CPU state and registers
> reg
# Dump specific memory region (e.g., 1MB starting from flash base 0x08000000)
> dump_image firmware.bin 0x08000000 0x100000
# Resume normal execution
> resume5. Risks & Considerations
- Watchdog Timers: Halting via JTAG may trigger hardware watchdogs, causing abrupt resets.
- Read-out Protection (RDP): Microcontrollers (especially STM32/NRF) often set internal fuses disabling JTAG debug access or flash reads. Bypassing requires chip-specific glitching workflows.
References
- references/stm32-rdp-bypass.md — Load when an STM32 Read-Out Protection (RDP) prevents memory extraction in OpenOCD.
Archivos de esta versión
references/11.6 KB
- stm32-rdp-bypass.md1.6 KB
- SKILL.md3.1 KB
Permisos
| Permiso | Declarado | Hallado en el escaneo |
|---|---|---|
| Lee archivos | No | No |
| Escribe archivos | No | No |
| Ejecuta comandos de shell | Sí | Sí |
| Usa la red | Sí | Sí |
| Usa conectores | No | No |
| Controla un navegador | No | No |
Hallazgos del escaneo
Revisado el 13 nov 2026
- MediaLicencia · No se encontró licencia
- InfoEnlace · Enlaces a dominios externos
Un escaneo limpio baja el riesgo, pero no prueba que el paquete sea seguro. Lee lo que instalas.
| Versión | Publicada | Commit | SHA-256 | Firma | Cambio de permisos |
|---|---|---|---|---|---|
| v2026.11.13-21cd568 | 13 nov 2026 | 21cd568 | f7d2ba46 | Firmada | – |
Más de AeonDave
Todo de este publicadorMás en Móvil, firmware y hardware
Ver la categoríaPregunta todo lo que tu alcance permite.
Crea la cuenta, añade créditos y haz la primera pregunta en el chat o en la terminal.
- 1/3
Crea la cuenta
Individual o empresa. Puedes pasar a empresa después sin perder saldo ni claves.
IndividualEmpresa - 2/3
Añade créditos
Con tarjeta. Pagas por token, sin suscripción.
$5.00recarga mínima - 3/3
Pregunta
En el chat, o instala el CLI y ejecuta notholy login en tu terminal.
$ notholy login