Hardware Debugging with JTAG on a Raspberry Pi

Hardware Debugging with JTAG on a Raspberry Pi

Our approach is as allows:

Via , we load a tiny helper binary onto the RPi which configures the pins respectively and then parks the executing core in an endless loop, waiting for the debugger to connect. The helper binary is maintained separately in this repository’s X1_JTAG_boot folder, and is a stripped-down version of the code we use in our tutorials. Now connect the Olimex USB JTAG debugger, open a new terminal and in the same folder, type (in that order!)

Source: github.com