ATTiny2313 Programmer

Go To Last Post
15 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hey everyone,

I've just recently started learning about electronics and I'm about to dive into the world of AVR. I've got a couple of ATTiny2313's on the way and I'd like to build a programmer for them as cheaply as possible. I've noticed a lot of material on how to build a Parallel interface from the PC to the AVR but I haven't seen any definite schematics.

Searching around lead me to this: http://www.instructables.com/id/... However the comments are showing mixed results. Can anyone point me in the right direction?

Thanks!

Ben

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

See the Tutorial Forum, https://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=36591

But I recommend that you buy a decent programmer if you plan to keep on using AVR's

Plons,
the same

A GIF is worth a thousend words   They are called Rosa, Sylvia, Tricia, and Ulyana. You can find them https://www.linuxmint.com/

Dragon broken ? http://aplomb.nl/TechStuff/Dragon/Dragon.html for how-to-fix tips

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks for the reply, I'm curious though... what is the advantage to the more expensive programmer solutions? Am I limiting what I can do by going with the cheap version?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

uidzer0 wrote:
Can anyone point me in the right direction?

The absolute best, most economical, least frustrating, and fastest way to start programming an AVR is to download the latest version of AVRStudio and, most importantly, spend the $40.00US on an ATAVRISP-MK II. You can get it at Digi-Key.

There are probably 100 threads here, in the halls of the AVRFreaks forums that have covered "Home Brew " ISP programmers. Almost without exception, those threads are filled with high frustration to the OP, and those attempting to help the OP get the damn thing going.

You'll have your challenges enough, along the AVR journey - without adding the needless aggravation and frustration of building a "Sub-standard " third rate ISP programmer.

Do yourself a favor... Heed my advice!!!

You can avoid reality, for a while.  But you can't avoid the consequences of reality! - C.W. Livingston

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:
Thanks for the reply, I'm curious though... what is the advantage to the more expensive programmer solutions? Am I limiting what I can do by going with the cheap version?
The PPPD (as I named it) works fine. But. BUT.
When you start using AVR's, there are so many things that can go wrong: amongst all the programming stuff and fuses, you have to learn to use the programmingsoftware as well (AVRdude, PonyProg, CodeVision, BascomAVR).
That's one issue. The second is: the PPPD needs to be bit-banged. So you may encounter problems with WinXP, as that OS doesn't allow direct access to the parallel port. Third issue: many PC's don't come anymore with a parallel port.

Many beginners run into trouble. That's quite common for beginners. No big deal, they'll learn. But the extra problems that can occur by using the PPPD or the serial variant can cause a lot of frustration.
If you are patient, have enough time, and work accurate, there is IMO nothing to stop you from building your own programmer. And if you decide to build a PPPD, then please build the one I worked out in the thread. I recently edited the first post there, and jump to the link provided. Use the thread itself to make up your mind about home-built or off-the-shelf.

Nard

A GIF is worth a thousend words   They are called Rosa, Sylvia, Tricia, and Ulyana. You can find them https://www.linuxmint.com/

Dragon broken ? http://aplomb.nl/TechStuff/Dragon/Dragon.html for how-to-fix tips

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks guys, once I got the chip and saw how it all came together making the programmer was pretty simple after all. I decided to go with a 'bsd' version which seems great so far.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:
I decided to go with a 'bsd' version which seems great so far.
Not quite clear to me what you mean with 'bsd' version.

A GIF is worth a thousend words   They are called Rosa, Sylvia, Tricia, and Ulyana. You can find them https://www.linuxmint.com/

Dragon broken ? http://aplomb.nl/TechStuff/Dragon/Dragon.html for how-to-fix tips

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Nard, from avrdude.conf:

# Parallel port programmers.

programmer
  id    = "bsd";
  desc  = "Brian Dean's Programmer, http://www.bsdhome.com/avrdude/";
  type  = par;
  vcc   = 2, 3, 4, 5;
  reset = 7;
  sck   = 8;
  mosi  = 9;
  miso  = 10;
;

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

O dear o dear o dear .... I see some trouble ahead. But oh well, it's OP's choice.

Thanks Cliff

Nard

A GIF is worth a thousend words   They are called Rosa, Sylvia, Tricia, and Ulyana. You can find them https://www.linuxmint.com/

Dragon broken ? http://aplomb.nl/TechStuff/Dragon/Dragon.html for how-to-fix tips

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Plons wrote:
O dear o dear o dear .... I see some trouble ahead. But oh well, it's OP's choice.

Thanks Cliff

Nard

Haha, I'm still waiting to find out what is going to happen here but I guess I'm going to learn the hard way! I'm still learning electronics in general so building the programmer was a learning experience in itself.

Thanks again guys

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Plons wrote:
O dear o dear o dear .... I see some trouble ahead. But oh well, it's OP's choice.

Thanks Cliff

Nard

Naaa! It's no trouble for me!!! I said my piece and I stand by it.

But I can see a long winding road ahead for the unsuspecting - if not today, next week, or even next year. It'll come from behind, at the most inopportune time! And then there will be the typical plea's for help and the countless pages of discussion about where the problem lay. Everyone will be theorizing about this, that and, some other thing. In the end, a new programmer will built. Why? I guess because "You can lead a horse to water, but you can't make it drink! "

You can avoid reality, for a while.  But you can't avoid the consequences of reality! - C.W. Livingston

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

If you lead them to Arrow, can you make them shell out $39 for an STK500?

Probably not.

Chuck Baird

"I wish I were dumber so I could be more certain about my opinions. It looks fun." -- Scott Adams

http://www.cbaird.org

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I was not aware that the MKII is half price.....

Now I am really depressed :?

I bought a knock off from canada and oh well

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

"Step N is required before you can do step N+1!" - ka7ehk

 

"If you want a career with a known path - become an undertaker. Dead people don't sue!" - Kartman

"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?"  - Lee "theusch"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB, RSLogix user

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Maybe make a cheap parallel programmer, and use it once to program a bootloader. Then program with the bootloader after that. Simple and easy.

I liked the ATTiny2313, but I liked the ATMega48/88/168 better. Still a small footprint, but tons more space. I must say though, I used an ISP programming, then went to debugwire (using a Dragon).

-Tony

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Why not use a Butterfly running ButtLoad?