[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] m128 can not be programmed

From: Brian Dean
Subject: Re: [avr-gcc-list] m128 can not be programmed
Date: Sat, 14 Dec 2002 23:54:32 -0500
User-agent: Mutt/1.4i

On Sat, Dec 14, 2002 at 07:06:00PM -0800, Sander Pool wrote:
> While programming (half a second or so)
> - RESET goes low
> - SCK shows clock activity on actual m128 pin
> - MOSI shows activity
> - MISO seems to show activity but I'm not 100% sure
> Does anyone have any ideas on what else I can measure? This is my first SMD
> double sided board that I baked myself so I had to redo some of the m128
> pins a few times. Perhaps it overheated?

Double check that MOSI and MISO from the programmer are actually
connected to the correct pins.  I got these wrong on an early board
that I made (Revision A of http://www.bdmicro.com/, fixed now on REV
B).  The pinout on page 2 of the ATmega128 data sheet refers to MOSI
and MISO as pins 12 and 13 respectively.  However, for serial
programming, MOSI and MISO actually map to pins 2 and 3 respectively
(PDI & PDO on Port E) (See page 300, Table 128).  Thus, the datasheet
is confusing at best.

Brian Dean                                      address@hidden
avr-gcc-list at http://avr1.org

reply via email to

[Prev in Thread] Current Thread [Next in Thread]