JTAG Debugging

This is a very simple exercise whose purpose is to get you acquitted with JTAG debugging on AT90CAN128 microcontroller. The result must be presented in a report with screenshots of AVR Studio and the working code.

Bugged code

The following code should execute a light keyboard, but when the buttons are pressed nothing happens. Using AVR JTAGICE mkII and the AVR Studio tool, find out why.