Troubleshooting

Problem

Cause

Solution

Nothing is displayed on the LCD

The LCD module isnot enabled in the AVR device

Check the LCD initialization

Nothing is displayed on the LCD

The update frequency is not correct

Verify that the clock prescaling corresponds with the clock-source

Nothing is displayed on the LCD

The battery is dead

Battery

Some segments on the LCD seems do disappear

Your fingers are touching the LCD pins or PORTD

Hold the AVR Butterfly on the edge of the PCB, without touching the LCD pins.

Serial programming does not work

ISP cable not connected properly to the ISP footprint

Connect the ISP cable according to Programming

Serial programming does not work

STK500 target voltage error

Refer to the ATmega169 datasheet for for the Serial Programming Voltage limits. Adjust the target voltage on the STK500 accordingly.

Parallel programming does not work

Cables not connected properly

Refer to Figure 4 for correct parallel programming set-up.

Parallel programming does not work

STK500 target voltage error

Refer to the ATmega169 datasheet for for the Serial Programming Voltage limits. Adjust the target voltage on the STK500 accordingly.

1

See the Application Note AVR065 LCD driver for the STK502 LCD on how to control the LCD-display, or the Application Note AVR064 STK502 A temperature monitoring system with LCD output Or program the application that comes with the AVR Butterfly.