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,
KennyShow 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