Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] Mega8 programing problem

2004-09-29 by Dave VanHorn

At 04:23 PM 9/29/2004, Daniel Boyer wrote:

>I am trying to program a mega8 chip (actually I have tried 3 different
>ones) and I keep getting errors entering programing mode.  I am using
>the STK500 board and AVR Studio version 4.09.  The chips are the flat
>quad package and I think that is where my problem is arising since I
>must use program off of the stk500 board (which I have never done
>before).  I made a quick pcb
>(http://www.dpicts.com/ForumPics/mega8a-2.jpg) to attach to the 6 pin
>connector on the stk500 to program the chip.  I am not changing any
>jumpers or anything on the stk500 (maybe this is my problem).  I have
>made 4 different PCBs thinking that I had a trace wrong or broken, but
>all pcbs and all three chips have failed.  Anyone have any suggestions
>as to what I might be doing wrong?

First, check that you're connecting the data to the DI and DO pins, NOT MOSI and MISO.
Second, check the clock rate on the programmer, slow it down a bit. If the part is running on the internal 1MHz osc, the STK500 or AVRISP can outrun it at the faster speeds.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.