Para qué se usa
- Encontrar fallas en firmware C/C++
- Grabar sin presionar BOOTSEL
- Consola serial UART al mismo tiempo
Comandos
Start OpenOCD for a Pico 2 (RP2350)
openocd -f interface/cmsis-dap.cfg -f target/rp2350.cfg -c "adapter speed 5000"For an original Pico (RP2040)
openocd -f interface/cmsis-dap.cfg -f target/rp2040.cfg -c "adapter speed 5000"Consejos
- La extensión Pico de VS Code puede abrir el depurador por ti.
- Conecta GND, SWCLK y SWDIO; el puerto UART del probe sirve como consola serial.