Supported debug probes

PyAvrOCD has been built to provide access to AVR OCDs by means of Microchip's debug probes. In addition, it also provides a pass-through service for the DIY debug probe dw-link.

Hardware debug probes

The following debug probes are supported by PyAvrOCD:

Switching to AVR mode

Note that Snap and PICkit4 need to be switched to 'AVR mode'. This can be accomplished as follows by using avrdude (>= Version 7.3):

avrdude -c snap_isp -Pusb -xmode=avr

With PICkit4, it is similar:

avrdude -c pickit4_isp -Pusb -xmode=avr

In both cases, you can check whether you were successful by typing the same command again. If you get the message that the debugger is still in 'PIC' mode, the firmware of the debug probe is ancient, and you need to flash new firmware first using MPLAB X.

Downgrading more recent debug probes

If you do not own one of the above debug probes, but you own a PICkit5 or PICkit Basic, you can consider downgrading it to a PICkit4 or SNAP, respectively.