Yahoo Groups archive

AVR-Chat

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

Thread

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

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

2010-01-21 by Kenny M.

Feel free to jump in I need all the help I can get lol

1. Are you certain that your target micro is OK? 
   I can't be 100% sure I guess. I bought a batch of 14 and I've have tried 4 of them.

2. Check that you ISP Freq is no more the 1/4 of the CPU clock freq
   By default it picked 125khz which everyone seems to agree with.
   But I tried various smaller numbers too, all the way down to hz.

3. Check that you have the connection correct - 
3a. In particular check MISO and MISO (I still get them the wrong way around!)
   I've rewired this thing 20 times to be thourough lol
   MISO on the chip to MISO on the ISP and vice versa.
3b. Not sure what your target micro is but note that some (eg. atmega128) do not use MISO/MISO pin for programming 
    AtTiny15L

4. What exactly is the error message from AVR studio? I always first try to 'Read Signature' (from the 'Main tab') 
Yeah I've been using read signature too, I get:
   Setting mode and device parameters.. OK! 
   Entering programming mode.. FAILED! 
   Leaving programming mode.. OK! 
Not too helpful lol

Thanks,

Kenny
Show quoted textHide quoted text
----- Original Message -----
From: "Ivan Vernot" <ivernot@optushome.com.au>
To: AVR-Chat@yahoogroups.com
Sent: Wednesday, January 20, 2010 11:01:12 PM GMT -05:00 US/Canada Eastern
Subject: RE: [AVR-Chat] Re: AVRISP -> AtTiny Communication Problem

Hello, 
Sorry to jump into the middle of the thread but I just wanted to say that in my experience the AVRISP MkII is quite robust and (knock on wood) I have had no reliability problems with it ever. 

Apologies if this has already been covered but have you checked - 
1. Are you certain that your target micro is OK? 
2. Check that you ISP Freq is no more the 1/4 of the CPU clock freq 
3. Check that you have the connection correct - 
3a. In particular check MISO and MISO (I still get them the wrong way around!) 
3b. Not sure what your target micro is but note that some (eg. atmega128) do not use MISO/MISO pin for programming 
4. What exactly is the error message from AVR studio? I always first try to 'Read Signature' (from the 'Main tab') 

HTH 
Ivan Vernot

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

2010-01-21 by Ivan Vernot

> -----Original Message-----
> From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On
> Behalf Of Kenny M.
> Sent: Thursday, 21 January 2010 4:49 PM
> To: AVR-Chat@yahoogroups.com
> Subject: Re: [AVR-Chat] Re: AVRISP -> AtTiny Communication Problem
> 
> Feel free to jump in I need all the help I can get lol
> 
<snip>

> 3b. Not sure what your target micro is but note that some (eg.
> atmega128) do not use MISO/MISO pin for programming
>     AtTiny15L
> 
> 4. What exactly is the error message from AVR studio? I always first
> try to 'Read Signature' (from the 'Main tab')
> Yeah I've been using read signature too, I get:
>    Setting mode and device parameters.. OK!
>    Entering programming mode.. FAILED!
>    Leaving programming mode.. OK!
> Not too helpful lol
> 

Hmm, this is funny.
Can you tell us more detail about your target hardware. Is it 'known good'?
How you have the ATTiny15L connected? (Do you have a schematic?)

You mentioned LEDs on the AVRSIP. What colour are they? Frankly I do not
take much notice of them (when it just works) but there is a detailed
description of the status leds for the AVRISP in the AVR Studio 'AVR Tools'
Help file. 

Do you have an oscilloscope? If so check you might check then signals coming
from the programmer.

I am stumped. You need to first determine whether it's the AVRISP or the
target hardware (FWIW my gut feel is that it's not the ISP). Do you have
other target hardware you can try with?

What part if the world are you located in? 
I am in Sydney AU, you are welcome to drop into my office and we can spend a
few minutes with my AVRISP to check your hardware.

Ivan
Show quoted textHide quoted text
> Thanks,
> 
> Kenny
> 
> ----- Original Message -----
> From: "Ivan Vernot" <ivernot@optushome.com.au>
> To: AVR-Chat@yahoogroups.com
> Sent: Wednesday, January 20, 2010 11:01:12 PM GMT -05:00 US/Canada
> Eastern
> Subject: RE: [AVR-Chat] Re: AVRISP -> AtTiny Communication Problem
> 
> Hello,
> Sorry to jump into the middle of the thread but I just wanted to say
> that in my experience the AVRISP MkII is quite robust and (knock on
> wood) I have had no reliability problems with it ever.
> 
> Apologies if this has already been covered but have you checked -
> 1. Are you certain that your target micro is OK?
> 2. Check that you ISP Freq is no more the 1/4 of the CPU clock freq
> 3. Check that you have the connection correct -
> 3a. In particular check MISO and MISO (I still get them the wrong way
> around!)
> 3b. Not sure what your target micro is but note that some (eg.
> atmega128) do not use MISO/MISO pin for programming
> 4. What exactly is the error message from AVR studio? I always first
> try to 'Read Signature' (from the 'Main tab')
> 
> HTH
> Ivan Vernot
> 
> 
> 
> 
> 
> 
> ------------------------------------
> 
> Yahoo! Groups Links
> 
> 
>

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

2010-01-21 by John Samperi

At 05:13 PM 21/01/2010, you wrote:
>I am stumped.

I gave up about a week ago....and if I can't fix it who can? :-)




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
********************************************************

Re: AVRISP -> AtTiny Communication Problem

2010-01-21 by bit_tricks

Kenny-

1.  Can you confirm that the LED status light on the shell of your programmer is glowing green?  There is a second green LED on the interior of the programmer.  Both should be lit when everything is properly working.

2.  What happens when you try to read the device signature in AVR Studio?

Just for the record, I too have been fortunate enough to have used multiple AVR programmers, including the STK500, AVRISP, Dragon, and several AVRISPmkII's, without having one fail.  However, I've never operated one outside of its limits to test robustness.

Rick

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.