General problems

Problem Cause Solution
Some of the port pins are not working The AVR is not properly mounted in the ZIF socket Make sure the chip is properly aligned in the socket. When the spring-loaded latch is released, the chip should fit nicely into the bottom of the socket.
The code isn't running The AVR has no or wrong clock source. According to the clock fuse setting, select the appropriate clock source on STK500 and STK504. Check the OSCSEL jumper on STK500 and clock switch on STK504. If you are using a crystal in one of the sockets, check that it is firmly mounted in its socket.
The AVR will not run on x MHz, but works ok on lower frequencies The clock frequency is exceeding the clock rate of the AVR (at a certain operatingvoltage). Check that you are running the AVR within specifications. Check the speed grade of the AVR and consult the datasheet for operating frequencies and voltages.
The AVR will not run on x MHz, but works ok on lower frequencies. I have a x MHz crystal mounted on STK500 Crystals should be placed in the crystal socket on STK504 Place the crystal in the socket on STK504. Set the clock switch to the HF position