Yahoo Groups archive

AVR-Chat

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

Thread

AVRISP -> AtTiny Communication Problem

AVRISP -> AtTiny Communication Problem

2010-01-15 by Kenny M

Sorry this post is a bit long.
I'm new to all this so be gentle LOL :)

I'm working on my first project, which I've built and is working.
All that's missing is the chip to control it.

I've got a few AtTiny15's and an AVR-ISP v2 (usb)

So built a target board and connected all the programmer pins to the appropriate pins on the chip.
I also connected my 5V+/Gnd to the chip.

Now this is where I get confused,
I've found so many different schematics on the net...

1) This one just says connect everything as above and program
2) Run a 4.7kohm between reset and vcc.
3) Run a 4.7kohm & 10uf between reset and vcc.
4) Run a 4.7kohm & 22pf between reset and vcc.
5) Run a 4.7kohm & 10uf between reset and vcc, and an 800ohm resistor to all the other connections.

I've only tried 1 and 2, since I don't have the caps I'm trying to figure out what I need before I head to the store.


Right now AVR Studio does see something, because it can read/write the speed of the unit. But everything else is just says an error occured.

I'd appreciate any help.

Thanks,

Kenny

Re: [AVR-Chat] AVRISP -> AtTiny Communication Problem

2010-01-16 by H. Carl Ott

On Fri, Jan 15, 2010 at 2:09 PM, Kenny M <kenny782@yahoo.com> wrote:

>
>
> Sorry this post is a bit long.
> I'm new to all this so be gentle LOL :)
>
> I'm working on my first project, which I've built and is working.
> All that's missing is the chip to control it.
>
> I've got a few AtTiny15's and an AVR-ISP v2 (usb)
>
> So built a target board and connected all the programmer pins to the
> appropriate pins on the chip.
> I also connected my 5V+/Gnd to the chip.
>
> Now this is where I get confused,
> I've found so many different schematics on the net...
>
> 1) This one just says connect everything as above and program
> 2) Run a 4.7kohm between reset and vcc.
> 3) Run a 4.7kohm & 10uf between reset and vcc.
> 4) Run a 4.7kohm & 22pf between reset and vcc.
> 5) Run a 4.7kohm & 10uf between reset and vcc, and an 800ohm resistor to
> all the other connections.
>
> Unless you have some serious noise problems you don't need any cap on
reset.
You may or may not need a resistor to vcc ( I have to check the data sheet),
but a 10k resistor will work, and will not cause any problems.
 4.7k should also work, but the value is a little low for ISP.

Check your ISP programming speed in studio.  It must be less the 1/4 your
AVR's clock speed.
 And double check all your connections. It always seems tricky getting this
stuff to work the first time. After a while it gets easier (well,
mostly/usually/hopefully).

> __._,_.__
>

-- 
carl
--------------------------------------------------------
Henry Carl Ott   N2RVQ    hcarlott@gmail.com


[Non-text portions of this message have been removed]

Re: [AVR-Chat] AVRISP -> AtTiny Communication Problem

2010-01-16 by John Samperi

At 06:09 AM 16/01/2010, you wrote:
>Sorry this post is a bit long.

So you think I wouldn't see this? I'm everywhere. :-)


Regards

John Samperi

********************************************************
Ampertronics Pty. Ltd.
11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
Tel. (02) 9674-6495       Fax (02) 9674-8745
Website  http://www.ampertronics.com.au
*Electronic Design * Custom Products * Contract Assembly
********************************************************

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.