Searching \ for '[avr:] AVR ISP' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/index.htm?key=avr+isp
Search entire site for: 'AVR ISP'.

Exact match. Not showing close matches.
PICList Thread
'[avr:] AVR ISP'
2004\06\06@160321 by Shawn Wilton

flavicon
face
Has anyone here managed to get the AVR ISP programmer to work?  I'm
having a hell of a time.  I can't get it to put the chip in to program mode.

I'm trying to use a ATTiny 13.  Just keeps giving an error that it can't
go in to programming mode.

-Shawn

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics

2004\06\06@163849 by BryanW

flavicon
face
----- Original Message -----
From: "Shawn Wilton"
Sent: Sunday, June 06, 2004 9:00 PM
Subject: [avr:] AVR ISP


> Has anyone here managed to get the AVR ISP programmer to work?  I'm
> having a hell of a time.  I can't get it to put the chip in to program
mode.
>
> I'm trying to use a ATTiny 13.  Just keeps giving an error that it can't
> go in to programming mode.
>
> -Shawn

Hi,

Which AVRISP are you using? The kanda one (which is a direct LPT dongle) or
the Atmel version that connects to the serial port.

Bryan Whitehouse - Software Engineer
Embedded Results Ltd.
http://www.kanda.com

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics

2004\06\06@164721 by Shawn Wilton

flavicon
face
Atmel.  The one for the circuit cellar contest.  I've rewired this thing
at least 15 times, but no matter how you apply the power the damn thing
powers up so there's now way to tell which pins are which.  I'm figuring
that the pin with the red wire coming in to it is number 1.  The
opposite side it actually comes in though.  Picture below.


 ----
>|12| - red wire / grey wire
 |34| - grey/grey
 |56| - grey/grey
 ----

Is that correct?  I've tried this with three separate Tiny13's and a
Tiny15L.  None will go in to program mode.  I'm using a home built 5v
power supply complete with a 7805 and smoothing caps.

Also using a 20k resistor tied between reset (pin 1) and Vcc on the avr.

Any ideas?

-Shawn




BryanW wrote:

> {Original Message removed}

2004\06\06@174328 by BryanW

flavicon
face
{Quote hidden}

I don't have much knowledge of the ATMEL version, but if you goto the
AVRtools folder and open the HTML helpfile there the AT AVRISP docs
explaining such things.

Sorry I can't be of more help.

Also have you tried going to http://www.avrfreaks.com, posting a message there may
get a satifactory result.

Bryan Whitehouse - Software Engineer
Embedded Results Ltd.
http://www.kanda.com

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics

2004\06\06@174537 by Shawn Wilton

flavicon
face
Yeah, I've been through all the docs at least 3 times over.  I've tried
the AVRISP docs as well as the datasheets for the tiny13 and the tiny15L



BryanW wrote:

>>{Original Message removed}

2004\06\06@181103 by Hopkins

flavicon
face
part 1 2331 bytes content-type:text/plain; (decoded 7bit)

My AVR ISP worked ok straight out of the box - programmed a ATtiny12, the
only glitch I had was the 5v supply was a little noisy and the programmer
would fail occasionally. I put a 100n capacitor on the 5v supply and the
programmer works every time now.

Have you read the AVR ISP Hardware description in the help files?

Have attached a jpg of the connector wiring.

You observation about the red wire is correct in that it goes to pin 2 of
the connector - this is the 5v supply and you supply 5v to the programmer
and chip to be programmed.

Hope this helps.

*************************************************
Roy Hopkins   :-)

Tauranga
New Zealand
*************************************************
> >>Atmel.  The one for the circuit cellar contest.  I've rewired this thing
> >>at least 15 times, but no matter how you apply the power the damn thing
> >>powers up so thereAt's now way to tell which pins are which.  I'm
figuring
{Quote hidden}

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.699 / Virus Database: 456 - Release Date: 4/06/2004

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics




part 2 5483 bytes content-type:application/octet-stream; (decode)

2004\06\06@181725 by Shawn Wilton

flavicon
face
Yeah, I've been through the help files and I've seen those pictures.  In
fact they're hanging on the wall.  I just can't get this thing to work
for the life of me.  I can't tell if the damn thing is wired correctly
because I don't know what the default orientation is and even then the
thing won't work no matter how I hook it up.  Only thing I can think of
is all these chips arrived with SPI disabled.  Any ideas on how to test
that?  I would like to try high voltage spi, as I have a 12v source
sitting right here, but besides applying that to the reset pin, I don't
know how else to hook it up.  Can I just take the sck pin and diode
connect it to the pb4 pin for clki?

As a side note, the thing is lighting up and being id'd by AVRStudio, so
that should be ok.  It does fail an attempted firmware upgrade though.

-Seriously frustrated,
-Shawn

Hopkins wrote:

{Quote hidden}

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics

2004\06\06@183214 by Hopkins

flavicon
face
My AVR ISP completed the firmware up grade OK - This could be a problem with
your programmer as you may now have a programmer that has crashed part way
through the firmware upgrade.

Can you READ Signature under the ADVANCED tab as this will then tell you if
the AVR ISP is communicating with your chip.

*************************************************
Roy Hopkins   :-)

Tauranga
New Zealand
*************************************************
{Quote hidden}

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.699 / Virus Database: 456 - Release Date: 4/06/2004

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics

2004\06\06@183836 by Shawn Wilton

flavicon
face
This stupid thing has never worked.  Tried the app note here:
http://www.avrfreaks.net/Tools/ToolFiles/234/DN_010.pdf and it still
fails verification.  WTF.

No, can't do anything that communicates with the Tiny13 I'm trying to
program.  No communicado what so ever.

When I short the pins on the isp as in the app note, light flashed for a
brief second then goes out and never comes back on.  I'm wondering if
this is a hardware problem with the isp.  Perhaps it was broken to begin
with...

Grrrrr.




Hopkins wrote:

{Quote hidden}

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics

2004\06\06@185324 by Hopkins

flavicon
face
I can program a Tiny12 directly connected to the program and a 5v supply.
No other components except a 100n capacitor across the 5v rails.

The fact that yours can't complete the firmware upgrade would be my first
point to sort out.
Try emailing spam_OUTavrTakeThisOuTspamatmel.com

Other wise goto the http://www.avrfreaks.com and ask on there forums.

*************************************************
Roy Hopkins   :-)

Tauranga
New Zealand
*************************************************

{Quote hidden}

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.699 / Virus Database: 456 - Release Date: 4/06/2004

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics

2004\06\06@185532 by BryanW

flavicon
face
----- Original Message -----
From: "Shawn Wilton" <.....shawnKILLspamspam@spam@BLACK9.NET>
To: <PICLISTspamKILLspamMITVMA.MIT.EDU>
Sent: Sunday, June 06, 2004 11:37 PM
Subject: Re: [avr:] AVR ISP


{Quote hidden}

So it detects the programmer and not the target?

http://www.avrfreaks.com/phpBB2/viewtopic.php?t=20490&sid=54c76dcfda858fcad3058cfa5a279440

is a topic on Dead AVRISP after a firmware upgrade. Unless this is you :)

If it detects the programmer from AVRstudio, then it has to be the target
device that is faulty. Of course at this point my sales manager would get me
to point you at our AVR programmers, but as you got it for the comp... :)
Maybe Atmel should have stuck with the Kanda AVRISP after all. ;)

I don't have an AT AVRISP to try this on, but I'm sure that as per the
STK500 boards connection it should say if it found the target hardware, in
this case the AT AVRISP. If it doesn't then its possible the 1200 or the
8535 is buggered, from what i see in other posts on the avr forum.

Bryan Whitehouse - Software Engineer
Embedded Results Ltd.
http://www.kanda.com

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics

2004\06\06@185944 by Shawn Wilton

flavicon
face
Well, after realizing something, I've fixed it.  <sheepish grin>

To save face, I'm not going to say what it was though.  :-P

BryanW wrote:

> {Original Message removed}

2004\06\06@190428 by Hopkins

flavicon
face
> Well, after realizing something, I've fixed it.  <sheepish grin>
>
> To save face, I'm not going to say what it was though.  :-P
>
> BryanW wrote:

Ohhh come on how did you fix it - I wont tell anyone else :-)

*************************************************
Roy Hopkins   :-)

Tauranga
New Zealand
*************************************************



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.699 / Virus Database: 456 - Release Date: 4/06/2004

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics

2004\06\06@190740 by Shawn Wilton

flavicon
face
No way.  i'll give you all a hint though.  I have these radio shack
boards with these predefined traces, and I designed a built a custom
adapter for the bread board to interface using pin headers with the 2x3
cable that comes with the AVR Isp.  I think you can figure out the rest....

Hopkins wrote:

{Quote hidden}

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics

2004\06\06@200044 by Hopkins

flavicon
face
Did the firmware upgrade work?

If not you may still want to investigate why.

This will enable the programmer to work with a wider verity of the newer
chips.

*************************************************
Roy Hopkins   :-)

Tauranga
New Zealand
*************************************************
> No way.  i'll give you all a hint though.  I have these radio shack
> boards with these predefined traces, and I designed a built a custom
> adapter for the bread board to interface using pin headers with the 2x3
> cable that comes with the AVR Isp.  I think you can figure out the
rest....
>



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.699 / Virus Database: 456 - Release Date: 4/06/2004

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics

2004\06\06@201328 by Shawn Wilton

flavicon
face
Yeah, I had to flash it a couple of times before it worked.  Not quite
certain why, but that's what it took.



Hopkins wrote:

{Quote hidden}

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics

2004\06\06@213742 by Herbert Graf

flavicon
face
> Has anyone here managed to get the AVR ISP programmer to work?  I'm
> having a hell of a time.  I can't get it to put the chip in to
> program mode.
>
> I'm trying to use a ATTiny 13.  Just keeps giving an error that it can't
> go in to programming mode.

       Not sure what to say. Are you certain you have the wiring correct? Just
wired up mine and gave it a go on the 162, works perfectly. My blink-a-led
program works fine. Now for the fun stuff... :) TTYL

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics

2004\06\06@213742 by Herbert Graf

flavicon
face
> Yeah, I've been through all the docs at least 3 times over.  I've tried
> the AVRISP docs as well as the datasheets for the tiny13 and the tiny15L

       What are your current wiring assignments? Can you list which pins on the
MCU you've connected to which pins on the programmer? Are you using the 6
pin or 10 pin programming header? TTYL

----------------------------------
Herbert's PIC Stuff:
http://repatch.dyndns.org:8383/pic_stuff/

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics

2004\06\06@213951 by Herbert Graf

flavicon
face
> Yeah, I've been through the help files and I've seen those pictures.  In
> fact they're hanging on the wall.  I just can't get this thing to work
> for the life of me.  I can't tell if the damn thing is wired correctly
> because I don't know what the default orientation is and even then the
> thing won't work no matter how I hook it up.

       The orientation in the picture is looking DOWN on the programming header on
your circuit, the connector the cable from the programmer connects to. TTYL

----------------------------------
Herbert's PIC Stuff:
http://repatch.dyndns.org:8383/pic_stuff/

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics

More... (looser matching)
- Last day of these posts
- In 2004 , 2005 only
- Today
- New search...