Discussion 02 - AVR Butterfly with MPLAB SNAP In-Circuit Debugger

Professor Robucci

Debugger/Programmer Firmware Upgrade

It seems that everyone had to perform a firmware upgrade

You'll need a jumper wire to temporarily short J3 (mid-right-edge) when requested.
Figure 2.1 https://ww1.microchip.com/downloads/en/DeviceDoc/50002787C.pdf
alt

In MPLAB IDE:
* Debug -> Hardware Tool Emergency Boot Firmware Recovery

Wiring Diagram

AVR Butteryfly Underside View Battery Holder 1 Ribbon U1 Cable 3 m169p 6 MPLAB SNAP BOARD TOPVIEW 7 uUSB pin 9 Ribbon Cable U4 3.3V 10 Piezo Element 8 o 5 o 4 2 5 7 10 6 6 o 8 yellow soldered wire 7 o MICROCHIP 1 NoCon 2 J4 3 4 2 O 4 O 3 J3 5 1

Switch to Hardware Debugger from Simulator

In-Circuit Hardware Debugging