Sonsivri

Electronics => AVR, 8051 Family and ARM Area => Topic started by: ambo on February 24, 2008, 07:42:24 07:42



Title: Which AVR programmer for a newbie in AVRs?
Post by: ambo on February 24, 2008, 07:42:24 07:42
Hi,  I'm just an electronics hobbiest and although I have some background in PICs, I'm planning to study AVRs as it seems that most of the good projects always comes out first implemented in AVRs.  Can someone recommend me a good link for a DIY programmer for AVRs.

Thanks in advance.


Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: abbas1707 on February 24, 2008, 10:58:49 10:58
try pony prog


Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: BaNDiTT on February 24, 2008, 09:49:16 21:49
PonyProg will the right choice ;)
it is really simple n usefull


Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: Jeckson on February 25, 2008, 06:38:16 06:38
You can used STK200/300 with only 74HCT244 or similiar like:
74HC245(much from old computer boards...)
74HCT541
.etc


Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: Todporn on February 25, 2008, 08:38:32 08:38
Hi all,
           I've builded this programmer myself. It's an ISP USB programmer (no need for external powersupply.. just plug-in to the USB port).  It works very well for me.  You maybe interested...  There is one drawback about building this programmer though.  You need to find a way to program (hex code which is downloadable from the website) the ATMEGA8 on the programmer board.

www.rototron.info/?Page=USBAVR/USBAVR.ASPX


Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: kolin on February 25, 2008, 11:23:48 11:23
Hello,
I strongly recommends to build USBasp. It's simple, very fast and will be supported in future. Build it on breadboard, it's still simple or if you want to build PCB, choose one of implementation. I've made custom PCB based on http://www.fischl.de/usbasp/usbasp_gr.rar, by adding zener diodes and reset button. I successfully build one (by toner transfer) and it's working like charm. When target chip is running more than about 4MHz, you can use fast SCK. This would shorten programing time under 2s. I attached my version of USBasp board in Eagle, excel sheet with prepared labels to stick to ISP cable, and original firmware and driver package.


Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: rendra on February 27, 2008, 11:14:49 11:14
hi  please consider to use AVRPROG as ISP AVR programmer.If using codevision AVR at setting programmer choose Atmel AVRprog(AVR910)


Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: kolin on February 28, 2008, 08:06:08 20:06
hi  please consider to use AVRPROG as ISP AVR programmer.If using codevision AVR at setting programmer choose Atmel AVRprog(AVR910)
Hi, AVR910 isn't ideal choice. I have one and when new chip arrives, you have to reprogram firmware of programmer for support of new devices. But new firmware isn't released by atmel. I have problem with this when I accidentally destroyed my AT90S8515. New one was ATmega8515 which was not supported by AVR910. I have to borrow another programmer to update my own. I don't recommend it. And it is slow.
When you need it USB, you have to use converter (FTDI, Prolific...). USBasp is much better. Works perfect also on linux.


Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: Jeckson on February 29, 2008, 02:37:28 02:37
>Hi, AVR910 isn't ideal choice.

It was needed the AVR MCU



Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: SGordon on March 02, 2008, 05:27:33 05:27
Is any programmers  provide in circuit debugger Function's ?


Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: sacoroxo on March 03, 2008, 11:13:01 23:13
This site http://babelfish.yahoo.com/translate_url?doit=done&tt=url&intl=1&fr=bf-home&trurl=http%3A%2F%2Fs-huehn.de%2Felektronik%2Favr-prog%2Favr-prog.htm&lp=de_en&btnTrUrl=Translate describes a very simple Serial / ICSP for AVR to be used with Ponyprog.

Regards.



Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: hifni_g on April 30, 2008, 09:48:29 09:48
hi ambo,
For the first time i've build ponyprog programmer... very simple programmer and no processor...
Now i am using USBasp programmer  which i build by help ponyprog programmer..
USBasp is AVR device programmer via USB interface, and have more AVR device we can program using this programmer..

Here the file about USBasp



Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: MiCrO-BiT on April 30, 2008, 07:40:12 19:40
is stk500


Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: bendjy on April 30, 2008, 08:23:06 20:23
Hi

I think STK200/300 is good and easy for building.

bendjy


Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: free on April 30, 2008, 11:02:17 23:02
Can USBasp support for ATmega644 ?




Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: hifni_g on May 02, 2008, 04:17:13 04:17
USBAsp is support ATMega644


Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: belepojegy on May 02, 2008, 07:54:05 07:54
HI!

I would recommend USBProg from Embedded Projects. It works fine and you can download many firmwares for it, for example: ISP, OpenOCD debugger, USB to RS232 converter and so on, the only bad thing is with it, that it is relativly expensiv because the ftdi chip. And you have to program a bootloader for the atmega32.

Good luck!


Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: HiDux on May 04, 2008, 07:18:54 07:18
http://electroprog.ru/index.php?nma=catalog&fla=stat&cat_id=13&page=1&nums=19


Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: ambo on May 08, 2008, 01:02:34 13:02
Thank you all for your replies.  Now I'm torn between USBASP and USBPROG.  But I think I will build a USBASP first as its much simpler.


Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: samir on May 09, 2008, 05:32:22 05:32
Thank you all for your replies.  Now I'm torn between USBASP and USBPROG.  But I think I will build a USBASP first as its much simpler.
AVR JTAG CLONE WOULD BE BETTER CHOICE

http://www.siwawi.arubi.uni-kl.de/avr_projects/evertool/index.html

And compatible with AVR Studio


Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: mylogin on May 09, 2008, 04:29:03 16:29
We use parallel port AVR programmer, just connector, wire, some resistor, and no other parts, works great and cheap.  works with most of the compilers/tools.  just search the web. (your computer should have a parallel port)


Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: bambo_o on May 16, 2008, 02:11:04 02:11
AVR ISP with STK200/300 pinout (connect it to STK200/300 eva board)

http://www.lancos.com/e2p/betterSTK200.gif

Posted on: May 16, 2008, 03:05:05 03:05 - Automerged

I use this USB programmer.
very fast programmer

site: http://www.fischl.de/usbasp/

schematic: http://www.fischl.de/usbasp/bilder/usbasp_circuit.png


Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: ert686868 on May 20, 2008, 07:42:09 19:42
At89... series good choose, i think

Posted on: May 20, 2008, 08:40:20 20:40 - Automerged

easy prog 5 i used before
Good programmer for promming in circuit design


Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: joprinz on May 21, 2008, 02:38:51 02:38
If you are a beginner then Ponyprog is the easiest to begin with. The serial programmer circuit on the pony programmer website is very easy to make and works pretty well. It supports pretty much all of the widely used AVRs. Its FREE too
www.lancos.com/prog.html (http://www.lancos.com/prog.html)

Hope this info is useful!

Good Luck!


Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: LabBoy on May 23, 2008, 12:24:04 12:24
You can make hardware and software by yourself.
visit this link --> http://lea.hamradio.si/~s56wix/avrprog/


Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: yikaikai on June 22, 2008, 04:44:07 16:44
I found proteus + iccavr can do it


Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: 30f4011 on July 06, 2008, 01:11:50 13:11
Use Atprog (Avr LPT programmer)  , Software :Isp prog.
connections----
                                PC-Parallel-S.                                             Contoller (Side)
                           Reset - Pin 5--------------------------------->RESET
                                Data out - Pin 2--------1Keesistor------------>MOSI
                           Clock - Pin 3-----------1Kres----------------->SCK
                                Data in - Pin 10--------------1kRes----------->MISO
                                Gnd - Pin 18---------------------------------->Gnd

for more details goto http://www.ikalogic.com/isp.php
 


Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: deveshsamaiya on May 31, 2010, 08:40:48 20:40
three AVR programmers one parallel and two serial port
here is the link...

http://www.electroons.com/tag/avr-programmer/


Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: pak on July 06, 2010, 09:47:52 09:47
In my opinion, pony2000 is the best low cost programmer for the entry level and avr dragon is the best choice debugger for the adv level. When avr dragon is used, have a look at this site http://www.aplomb.nl/TechStuff/Dragon/Dragon.html first.

happy mcu programming

pak


Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: pushycat on July 06, 2010, 04:46:36 16:46
For bieginner level and ease, you may also try the USB asp which works on the USB port and too is capable of programming the 89S series with some firmware modifications. www.fischl.de/usbasp


Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: ambo on May 17, 2011, 03:14:54 15:14
Well after 3 years when I initially asked this question, I never really got to build my own h/w programmer.  

For one, I already have a universal programmer that supports most avrs (but this is out-circuit programming)  and then I was able to buy a cheap rs232 avrisp version 1.

Then until about 6 months ago, I got hold of a AT89S52 programmer which turns out to be actually an USBASP except that the pins are all wrong such that it wont work on standard avr programming headers.  I had to make an adapter cable to make it work with AVRs.  Guess it uses a modified usbasp f/w.

Until a few weeks ago, I chanced upon the following link while searching google for an avrisp mkii clone.

The USB AVR Lab at http://wiki.ullihome.de/index.php/USBAVR-ISP/de.  Now this h/w programmer I really have to build and actually built.  By changing f/w using the s/w bootloader, it can function as an avrisp mkii, an usbasp, a jatgice mkii,  i2c logger, oscilloscope, usb-ttl.



Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: alberto110 on July 01, 2011, 01:00:54 13:00
how can i program atmega8A ( A version  ) . i have stk300 and codevision avr .
thanks


Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: rsync on July 01, 2011, 08:42:35 20:42
how can i program atmega8A ( A version  ) . i have stk300 and codevision avr .
thanks

You cant . ATMEGA8 can be programmed with parallel port using 10-way ribbon cable connect to avr dragon.


Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: sherazi on January 28, 2013, 11:33:10 11:33
USBASP is also a nice one you can use it with avrdude and it wont cost much if you buy a ready made also


Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: dcsmrgun on May 29, 2013, 09:59:09 21:59
For $50 you can get the AVR Dragon which will both program and in circuit debug your 8 bit AVR micros.

Unless you're seriously strapped for cash I don't see any reason why any cheaper alternative should be that much more enticing. Plus the ability to step through your code is really nice if you're just learning to program AVR. I wouldn't really recommend anything else, unless you are the sort of person that prefers to build a device yourself. And even then I'd say to just suck it up and spend the fifty ;)


Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: Wuschel on May 30, 2013, 11:07:47 11:07
A good low cost USB <-> AVR Programmer is mySmartUSB light
The Programmer can emulate the STK500v2 or AVR910/911 protocol
Code:
http://shop.myavr.com/index.php?sp=article.sp.php&artID=200006


Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: pickit2 on April 07, 2014, 09:52:21 21:52
Hi

I think STK200/300 is good and easy for building.

bendjy
Member since 2007 and this (was) is your last post in forum...
little more than a mine is bigger, than your's post.


Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: Old_but_Alive on April 08, 2014, 06:16:40 06:16
I would recommend buying a solution which allows you to debug as well as program.

I just noticed amba's post which although in German, is worth investigating.

I personally use the Atmel JTAGICE3 and found it excellent.

I dont like the  JTAGICE MK II as it is not robust, we have blown a few.


Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: micropcb on April 08, 2014, 09:34:47 09:34
I have been using the following very cheap programmer/debugger (AVR debugger clone) listed on ebay at

http://www.ebay.com/itm/AVR-USB-Emulator-debugger-programmer-JTAG-ICE-for-Atmel-/160826021353?pt=LH_DefaultDomain_0&hash=item2571fa55e9#ht_2205wt_1344

If someone is working with AVR Studio 4.18 or earlier and the controllers used are amongst the following :
ATMega16, ATmega16L, ATMega162, ATmega162V, ATmega165, ATmega165V, ATMega169, ATmega169V, ATMega32, ATMega323, ATmega323L, ATmega32L, ATMega64, ATmega64L, ATMega128, ATmega128L, AT90CAN128

then this is pretty good for the price.

Best regards.


Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: krishna.velu on July 23, 2014, 09:36:32 09:36
This is not only programmer, This contains AVR-Jtag-ICE 1 debugger also.

http://www.scienceprog.com/avrjtag-clone-in-action

I've made one and Its working seamlessly. The only concern is the supported devices are limited.

Try this.


Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: Marcustv on July 23, 2014, 05:03:39 17:03
I bought the programmer USBASP BAITE on the site aliexpress.
It has a really low price.

notes:
The programmer does not work well with firmware BAITE, is necessary change the firmware to Frischi (is very easy to do).  :D
If you want, you can change de type fo the firmware and transform it into a AVRISP mkII mk2 clone.
You can find the AVRISP mkII mk2 clone always for sale on the site Aliexpress sold from huts.

The advantage of the AVRISP mkII mk2 clone is that you can use it directly from the development of WINAVR unlike the USBASP that for it to work it needs an external program.


Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: Marcustv on July 26, 2014, 08:08:44 08:08
This is the link of the programmer

http://www.aliexpress.com/item/1LOT-1PCS-USBasp-AVR-Programmer-1PCS-10PIN-65CM-Wire-1PCS-10Pin-TO-6Pin-Adapter-Free-shipping/901230476.html

http://www.aliexpress.com/item/Free-Shipping-USB-programmer-AVRISP-mkII-mk2-clone-ATMEL-AVR-Fit-51-Series-ATmega-PWM-ATtiny/1758679438.html

and these are the link for the firmware to make the change

For change USBASP Baite (no good this firmware) on USBASP compatible you can use:

Frischi firmware http://www.fischl.de/usbasp/
Romolo Firmware http://openrcforums.com/forum/viewtopic.php?f=10&t=1363#p29615  (better)

FUSE
L=FF
H=D9

-----------------------------------------------------------------------------------------------

For transform USBASP on MKII MK2 clone

http://www.projectik.eu/index.php/elektrotechnika/microprocesory/item/download/40_b92f9002c44aa27971ee5392b066ff00

FUSE

atmega8  low  high   EF  C9 = no eesave, no boden, bodlevel 2.7V, 16k+4msec
atmega8  low  high   1F  C1 = si eesave, si boden, bodlevel 4.0V, 16k+0msec

-------------------------------------------------------------------------








Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: Crackn on October 16, 2014, 06:13:28 06:13
For transform USBASP on MKII MK2 clone

http://www.projectik.eu/index.php/elektrotechnika/microprocesory/item/download/40_b92f9002c44aa27971ee5392b066ff00

FUSE

atmega8  low  high   EF  C9 = no eesave, no boden, bodlevel 2.7V, 16k+4msec
atmega8  low  high   1F  C1 = si eesave, si boden, bodlevel 4.0V, 16k+0msec

-------------------------------------------------------------------------

Fixed Link:
http://www.projectik.eu/index.php/elektrotechnika/microprocesory/item/129-avr-isp-programator-na-usb-ver100


Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: Marcustv on December 08, 2014, 07:19:39 07:19
The programmer MKII is managed directly from the development environment AVR Studio, without needing to use external programs required for other types of programmers ;D


Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: naserturk on June 17, 2015, 09:33:34 21:33
hello  :)
I have USBASP with additional zif socket and its realy help full because it is really fast (up to 5kBytes/sec) and works in multiple  platforms like  windows 8 and 8.1 Linux and Mac OS X.

It is USB and you can use it with your notebook and windows based tablet

and with last firmware that you can find in second link it will support Atmel Tiny Programming Interface (TPI) protocol too

you can build your own version by using this schematic :
(http://www.fischl.de/usbasp/bilder/usbasp_circuit.png)

and program your programer micro controller chip ( brain of your programmer ) with hex file that
you will find inside this archive file  : http://www.fischl.de/usbasp/usbasp.2011-05-28.tar.gz (http://www.fischl.de/usbasp/usbasp.2011-05-28.tar.gz)

and
I recommend this program for using as your programmer interface software :http://khazama.com/project/programmer/KhazamaAVRProgrammer.rar  8)
 (http://khazama.com/project/programmer/KhazamaAVRProgrammer.rar  8))
with best regards
naserturk


Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: Mega32 on June 18, 2015, 04:29:00 16:29
This thread was over an year old, don't you think the OP has gotten his prorammer by now ?

Btw: With a cost of less than 2$, and free shppping, i would not concider DIY - i'd just buy one
http://www.ebay.com/itm/201035834899

Mega32


Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: pickit2 on June 18, 2015, 04:54:51 16:54
This thread was over an year old, don't you think the OP has gotten his prorammer by now ?

Btw: With a cost of less than 2$, and free shppping, i would not concider DIY - i'd just buy one
http://www.ebay.com/itm/201035834899

Mega32
So Funny OP is Muted in line for the purge..

Quote from: ambo link
Well after 3 years when I initially asked this question, I never really got to build my own h/w programmer. 

For one, I already have a universal programmer that supports most avrs (but this is out-circuit programming)  and then I was able to buy a cheap rs232 avrisp version 1.

Then until about 6 months ago, I got hold of a AT89S52 programmer which turns out to be actually an USBASP except that the pins are all wrong such that it wont work on standard avr programming headers.  I had to make an adapter cable to make it work with AVRs.  Guess it uses a modified usbasp f/w.

Until a few weeks ago, I chanced upon the following link while searching google for an avrisp mkii clone.

The USB AVR Lab at http://wiki.ullihome.de/index.php/USBAVR-ISP/de.  Now this h/w programmer I really have to build and actually built.  By changing f/w using the s/w bootloader, it can function as an avrisp mkii, an usbasp, a jatgice mkii,  i2c logger, oscilloscope, usb-ttl.
He was Just A Waste of Space


Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: Martin Miranda on February 15, 2020, 11:31:48 11:31
i always suggest to buy the avr ICE. it's a small investment but you'll have the debugging capabilities.


Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: Mr. Spock on February 16, 2020, 12:26:22 00:26
i always suggest to buy the avr ICE. it's a small investment but you'll have the debugging capabilities.

Not supported by latest IAR Tools


Title: Re: Which AVR programmer for a newbie in AVRs?
Post by: Martin Miranda on February 17, 2020, 01:39:26 01:39
Not supported by latest IAR Tools

:(
ouch.