beautypg.com

General problems – Atmel STK500 User Manual

Page 11

background image

11

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 depressed,
the chip should fit nicely into the
bottom of the socket.

The code isn't
running.

The AVR has
no/wrong clock
source.

According to the clock fuse setting,
select the appropriate clock source
on STK500 and STK505. Check the
OSCSEL jumper on STK500 and
clock switch on STK505. 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 operating
voltage).

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 STK505.

Place the crystal in the socket on
STK505. Set the clock switch to the
HF position.



Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or
otherwise, to any intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET
FORTH IN ATMEL’S TERMS AND CONDITIONS OF SALE LOCATED ON ATMEL’S WEB SITE, ATMEL ASSUMES NO LIABILITY
WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE,
OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE,
SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS
INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF
ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
Atmel makes no representations or warranties with respect
to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and product
descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein. Unless
specifically provided otherwise, Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel’s products are
not intended, authorized, or warranted for use as components in applications intended to support or sustain life.

© Atmel Corporation 2005. All rights reserved. Atmel®, logo and combinations thereof, Everywhere You Are®,

AVR®, AVR Studio® and others, are the registered trademarks or trademarks of Atmel Corporation or its

subsidiaries. Other terms and product names may be trademarks of others.