DangerousPrototypes / BusPirate5-firmware

Bus Pirate v5 Firmware
MIT License
141 stars 43 forks source link

RTT - integrate RTT as a debug output channel #113

Open henrygab opened 1 month ago

henrygab commented 1 month ago

See https://forum.buspirate.com/t/feature-rtt-for-debug-output-was-3rd-com-port/651/10

Resources:

henrygab commented 2 weeks ago

Notes on host-side usage of RTT, using openOCD on linux based system:

Details

1. Run openOCD: `openocd -f interface/cmsis-dap.cfg -f target/rp2040.cfg -c "adapter speed 5000"` 2. Connect to telnet `telnet localhost 4444` 3. Send command to program `program ./build/src/bus_pirate5_rev10.elf` 4. Enable rtt server `rtt setup

` `rtt start` `rtt server start`

TODO: