Hi Mark,
What version of Studio are you running? We found that 4.05 doesn't work
properly with newer STK500's (we believe it is because the newer version of the
STK500 is running version 2 of the communication protocol - I still have a
couple experiments to do to verify this, which will be done on Feb. 26).
Regards,
Jim McGinn
----- Original Message -----
Jim McGinn
----- Original Message -----
From: Mark NowellSent: Wednesday, February 16, 2005 9:41 AMSubject: Re: [AVR-Chat] STK500 ISP failureI'm sure it's a dumb question that's going to resolve this and I have
therefore checked (again....) that I've got 0V on Pins 3,5,21 (GND) and 5V
on 4,6 (VCC) and 18 (AVCC).
I just found a thread on AVRFreaks regarding a similar programming problem
where, in the end, a 500kHz clock into XTAL1 fixed the ISP problem because
the AVR had the wrong (external) clock fuses set. Is this a line worth
pursuing?
Thanks again,
Mark
----- Original Message -----
From: "Kathy Quinlan"
To:
Sent: Wednesday, February 16, 2005 4:23 PM
Subject: Re: [AVR-Chat] STK500 ISP failure
>
> Bruce Parham wrote:
>
>>
>> Dumb question: Are ALL of the power and ground pin connected???
>
> Doh forgot to ask that one :|
>
>
>> Bruce
>>
>> Mark Nowell wrote:
>>
>>>Kat
>>>
>>>My older board is for DIP M8 whereas the new board has TQFP M168 - I
>>>don't
>>>actually have a TQFP M8, nor the tools (or eyesight) to solder one in.
>>>The
>>>design of new and old board are obviously not exactly the same but
>>>they're
>>>very similar and (schematically) identical so far as the ISP programming
>>>lines are concerned.
>
> Fun times ahead, ok as pointed out above, check all ground and VCC pins,
> check that MISO is MISO etc (make sure the PCB does not have pins
> swapped or pins miss counted (did that once on a PCB as I had numbered
> the BGA pins wrong :(
>
> Make sure the chip is oriented AROUND THE RIGHT WAY (I had a batch of
> PCB's hand assembled where all the QTPF parts were 90 deg out :(
>
>
>>>The M168 chips were put in for me by hand, so I'm prepared to believe
>>>there
>>>might be assembly faults but I can't find them - if I've got the
>>>necessary
>>>lines connected, and no excessive load on them, shouldn't I expect ISP to
>>>work anyway?
>
> NO the SPIEN fuse may have not been set (which has happened on past
> chips, I think the sample T26's had this problem)
>
>>>I have just taken my JTAG ICE mk-II out of its wrapper and tried the
>>>debugWire interface (not enabled). It also has a facility to enable
>>>debugWire via ISP but this won't work either - AVR Studio suggests
>>>checking
>>>;that the SPIEN fuse is enabled.
>
> DAMN
>
> Regards,
>
> Kat.
>
> --
> ---------------------------------------------------------------
> K.A.Q. Electronics Website: www.kaqelectronics.dyndns.org
> IM: Yahoo: PinkyDwaggy MSN: katinka@kaqelectronics.dyndns.org
> For Everything Electronics Phone: 0419 923 731
>; ---------------------------------------------------------------
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005
>
>
>
>
> Yahoo! Groups Links
>
>
>
>