USB AVR programmer to program ATmega and AT-89-S-51 series microcontrollers

Status
Not open for further replies.

avinash.kashyap

Junior Member level 3
Joined
Jan 11, 2011
Messages
30
Helped
8
Reputation
16
Reaction score
8
Trophy points
1,298
Activity points
1,642
As my previous post, this time also I haven’t done anything new for the experienced members but newbies might find this post very useful. I’ve made a USB AVR programmer to program ATmega and AT-89-S-51 series microcontrollers. This is based on the schematics available on the Fischl’s website, but I’ve done some changes after experimenting and have mentioned the changes between the Fischl’s diagram and the modified one.
Now, lets get down to the business, this is the schematic available on Fischl’s website,

The very next diagram is the modified version, which I’ve constructed. I’ve left the pins +5V and GND (from the 6pin output)on the diagram with tags only and these are to be connected to their respective places. And the output connector pins have been tagged as they are to be connected with the target chip’s respective pins.
The changes done:
On Fischl’s website the code is provided for ATmega8 and ATmega48 but I’ve used ATmega8L successfully with the same code as for ATmega8 and it makes it really cheaper and it also works great. Though datasheet says that ATmega8L’s limit is 8MHz crystal but in this programmer it’s working at 12MHz and working really well.
As other changes, the self programming jumper between pin 1 and pin 16 is completely removed, the 10 pin ISP output socket is modified to become a 6pin socket (because I basically needed 6 pin output), the slow SCK mode jumper from the pin 25 is also completely removed, the pins 20, 22 are disconnected, the 100n capacitor at pin7 is also removed.
I don’t recommend:
The programmer will continue to work if you remove the 4.7uF capacitor and the 3.6V Zener diodes but I’ll not suggest these changes as these might leave your programmer prone to any surges or fluctuations (from power’s end or device’s end) , even when we are feeding the programmer from the very steady USB port’s power, then too. (I would really like some experienced member to comment or share knowledge on this paragraph because my knowledge is very limited in this context.)

Now some photographs of the real construction,



Following are the board files in pdf format, designed by me,
View attachment USB ATmega Bottom Copper.pdf
View attachment USB ATmega Top Copper.pdf
(The size of the board is 28mmX60mm. Print the board as full, 100% or no scale or according to the similar option available with your printer.)
And this is the code which you have to burn on the ATmega8L chip. This code is taken from the Fischl's website, and is availabe there too, this is the link
https://fischl.de/usbasp

And this is the HEX File: View attachment usbasp.atmega8.2009-02-28.rar

This hex file has to be written on the chip. You can use following serial programmer to burn the hex file on the chip for the first time, it's very easy to make and would take only 20mins, even I used this for the first time,
AVR Programmer

I suggest you to visit Fischl's website for more designs which can be used with the same code available on Fischl's. You can use ATmega48, ATmega8 too.
So, happy burning...
 

Re: A USB AVR/ ATmega/ AT-89-S-51 Programmer + ISP/ ICSP Capability

thanks for all these suggestions I will look at it.
 

    V

    Points: 2
    Helpful Answer Positive Rating
Re: A USB AVR/ ATmega/ AT-89-S-51 Programmer + ISP/ ICSP Capability

hi
this is cool!
thanks
bye
 

Re: A USB AVR/ ATmega/ AT-89-S-51 Programmer + ISP/ ICSP Capability

hi every one i m anew user here i wNTED TO MAKE A BURNR FOR MY ATMEGA 16 CHIP.. PLZZZ HELP
 

Re: A USB AVR/ ATmega/ AT-89-S-51 Programmer + ISP/ ICSP Capability


Is there any need of copying .dll ,.sys , .inf or any kind of file in "C" drive? if needed please explain.
i do not know how to enable USB boot loader?
Which software i will use to program the chip?(Extreme Burner?)
 

Re: A USB AVR/ ATmega/ AT-89-S-51 Programmer + ISP/ ICSP Capability

sir,
i have maded the orignal usbasp by the auther on Fischl’s website but i dun n
know what to do next.. means how to program it and make fuses....i used to program it by genius programmer a universal programmer but iam having problem with it that is why i am making usbasb and their are other reasons too.....i program with it and program is always written and i can read also from microcontroller but iam unable to get output when i attach it too circuit.. may b my programmer is bad but it is new...well its a different matter but i want to experiance usbasp as it is opensource so i like to make it and experiance it
 

Re: A USB AVR/ ATmega/ AT-89-S-51 Programmer + ISP/ ICSP Capability

solved the problem....i was making mistake in fuse bits..
 

Re: A USB AVR/ ATmega/ AT-89-S-51 Programmer + ISP/ ICSP Capability

I have a doubt, The Firmware which u have given, Is that for both 8051 & AVR, or it is only for AVR
plz reply me
 
Last edited by a moderator:

Re: A USB AVR/ ATmega/ AT-89-S-51 Programmer + ISP/ ICSP Capability

it is only for AVR...
 

Re: A USB AVR/ ATmega/ AT-89-S-51 Programmer + ISP/ ICSP Capability

"This code is taken from the Fischl's website, and is availabe there too, this is the link
https://www.fischl.de/usbasp/
HEX File: usbasp.atmega8.2009-02-28.rar

...and to be able to program AT-89-S with this programmer you can download the HEX file from the following link:"


-
sir, I have a doubt, the link you pointed has a lot of codes,when i got it downloaded. so which one i have to select in order to make my Usbasp fit for both at89xxx series and atmegaxx series controllers...
can u please mention in which folder the real code exists?
it'll be much helpful since I'm a newbie in this field
thank u
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…