You are on page 1of 34

AVR Serial Port Programmer

About AVR Programmer

This simple COM PORT based AVR atmega Programmer will allow you to painlessly transfer hex programs to most ATMEL AVR microcontrollers without sacrificing your budget and time. It is more reliable than most other simple AVR programmers available out there and can be built in very short amount of time. AVR programmer consists of in-circuit serial programmer (dongle) and small pcb with a DIP socket where you can fit your microcontroller and have it quickly programmed. You may also use this programmer as a stand alone in-circuit serial programmer that can be used to conveniently program AVR microcontrollers without removing them from the target circuit. Entire AVR programmer has been build with using common parts and fits in the case of the serial connector. The socket pcb has been created to fit a 28-DIP AVR ATmega8 microcontroller, but you can build a socket pcb for any other AVR microcontroller out there. This AVR programmer is compatible with a popular PonyProg software that shows you a status bar of the programming progress.

AVR In-Circuit Serial Programmer Schematic

AVR Socket PCB

There are two connections; ICSP that connects to AVR Programmer, and external +5V supply

Ensures that the chip is receiving exactly +5V voltage and provides very reliable error free programming. +5V voltage supply for AVR chip may be provided from external power supply or even better - directly from USB Pony Prog :The Programming software

To be able to send hex file from your computer to AVR microcontroller you will need to download and install PonyProg2000. After the installation, the first thing you will need to do is configure PonyProg to work with our AVR Programmer. To do this go to "Setup" menu and select "Interface Setup". The following window will be shown and highlighted areas show you exactly which options should be selected.

In the next step select "AVR micro" and your microcontroller type that you will be programming (ex. ATmega8

At this point PonyProg configuration is complete and we can open hex program with which AVR microcontroller will be flashed. Go to "File" menu, select "Open Program (FLASH) File ...", and point to the hex file to open it up. You should see hex numbers as shown on the screen below. If you haven't connected AVR Programmer dongle to your computer's serial port yet, then now is the time. Make sure that AVR Programmer is physically connected to your AVR microcontroller through Socket PCB or through ICSP 6-PIN connector. Finally click on the highlighted icon "Write Program Memory (FLASH)", or go to "Command" menu and select "Write Program (FLASH)". !! IF your Flash(.hex) file have special configuration bits Then you have to configure those bits manually.

Click on "Yes" button to confirm the programming.

Now sit tight, relax and watch the programming progress on the status bar. PonyProg will program AVR microcontroller and verify if the hex file was transferred without any errors. For your information this process shouldn't really take more than 10 to 30 seconds. This depends on the size of the program that you're trying to flash.

After programming is completed "Write successful" window will be shown letting you know that AVR microcontroller has been programmed, and is now ready to be used.

Programming The Security and Configration Fuse bit (if needed)

First click on the sercurity and configration button in the tool bar, a dilog box will apper as shown in the image blow.

To read the current security bit from the devive please click Read button in the securit and configration bits dialog box now you are ready to change the configration bits To caclulate these ceck box values accoring to your needs or to claculte by use hfuse and lfuse please visit this page Click here just check and uncheck the boxes accoring to your setting and click write button.

now you are ready to go If somebody need more help then please make a comment Posted by Gaurav Chaudhary at 9:02 PM Email ThisBlogThis!Share to TwitterShare to Facebook Labels: Atmel AVR, COM Port Programmer, Programmer, Serial Port Programmer 97 comments:

1. RishirajMay 10, 2011 10:56 PM which zener diode should we choose to pull down down the signal level on MOSI and SCLK ...i think zener may hinder the fast switching of signals on sclk and mosi lines..does that happen Reply

2. Gaurav ChaudharyMay 11, 2011 07:06 AM hi rishiraj you can use any zener you have,, when i made this i use general 5v1 zener.. you can use the fast swithcing zener. its fine. Reply

3. Joel M. PintoJun 9, 2011 07:40 AM Hi! I found this post really useful for beginners and would like to advise them that this programmer might have problems if used with a USB to serial converter. I tried it a while ago on my laptop which does not have a serial port. Consider buying a PCMCIA to serial adapter for a laptop, commonly available at a reasonable cost at computer stores. It works with it with no problems like decreased speed (usually programs in around 1 minute). Joel Reply

Replies

1. gan007Feb 19, 2012 11:21 PM Can you please tell me why this wont work with a USB to SERIAL cable. I built this circuit and I tried to brun my ATMEGA32 but it does not work. The pony prog tries to write. I dont see the status bar moving forward and after some 3-4 minutes it shifts to verifying and then no progress further. My laptop does not have a serial port hence i use a USB to SERIAL cable. I can program my 8051 with the same cable. The cable works fine. Can you please help???

2. Gaurav ChaudharyFeb 20, 2012 10:57 PM Hi if you want a programmer with USB support then. Why didn't you use my USBasp programmer and I also have a special USBasp programmer which support 80515 too check this link for USB avr and 8051 programmer http://www.circuitvalley.com/2011/06/usb-8051-avr-microcontrollerprogrammer.html

3. Gaurav ChaudharyFeb 20, 2012 11:00 PM This programmer will work only with avr mcu and. Cant't program 8051 Reply

4. Gaurav ChaudharyJun 10, 2011 01:52 AM Hi Joel you are absolutely correct, this programmer will not work with a usb to serial port converter.. i will soon post a usb based AVR & 8051 programmer Reply

Replies

1. gan007Feb 19, 2012 11:09 PM Hi Gaurav, Can you please tell me why this wont work with a USB to SERIAL cable. I built this circuit and I tried to brun my ATMEGA32. But my laptop does not have a serial port hence i use a USB to SERIAL cable. I can program my 8051 with the same cable. The cable works fine. Can you please help??? Reply

5. vikramJun 12, 2011 11:45 PM very nice. can i use this schematic for atmega2560? Reply

6. Gaurav ChaudharyJun 13, 2011 12:43 AM hi vikram you can use this schematic for atmega2560 if there is any problem just make a comment

keep visiting my blog for more microcontroller poject soon i will post more than 50 Reply

7. KristijanJun 18, 2011 02:19 PM I made programer but PonyProg is not recognizing it. I`m getting error Device is missing or unknown device -24. I think something is wrong with AVR Socket PCB i checked 4Mhz

quartz with scope and it`s not oscillating. Maybe you got some ideas what to tray to solve this problem ? Reply

8. Gaurav ChaudharyJun 18, 2011 09:55 PM hi Kristijan The error you are getting is really common, i know may guys to face this due the reasons blow i first recommond you to check all the connection properly,lot of people get this problem due to lose soldering after checking the soldering connection connect the programmmer to com port and do i/o setting as per the imge shown then click on the probe in i/o setting dialog box (without connecting the target microcontroller) if probe retrun with passed then it's fine but if probe result "test failed" then there is a problem with the programmer harware it self now if all the above is okey but you still face the problem check the vlotage level at the programmer (this programmer need external power supply to work) are you giveing the external power to both the programmer and the target microcontroller and to conferm that weather the crystal is working or not please use a mulimeter and check the frequency if you still face any trouble then let me know Reply

9. SumantaJun 19, 2011 09:23 AM Hello Gaurav, I am redirected here from " http://diy4fun.blogspot.com/2009/01/simple-serialprogrammer-for-avr.html " by you and your blog is quite useful. Thank-you. :) But since I have already made the design specified by MIROSLAV BATK(diy4fun.blogspot.com) and there are some differences in the circuit diagram( the connection to the base of BC547, does it cause any major problem... Even I am getting the same problem of "missing or unknown device -24" , but my hardware is

OK, and i got the "Probe OK" test passed :) The reason might be that I have not connected the crystal. Is the crystal necessary ??? And why only 4Mhz , not anything else ? Please let me know, I am a robotics enthusiast and love work out on these.. :) Reply

10. Gaurav ChaudharyJun 19, 2011 10:39 AM hi Sumanta When i start dealing with mcu years ago this was my first programmer i also face the same error as you face , but that was due to lose soldering connection and external power supply was not connected to the programmer circuit, that error was debugged as i recheck the connection ,power and target system crystal 2-3 times , i keep using this circuit for months before upgrading to the usb based programmer and i know may people who face same error due to confusion in the pin numbering of the serial port pin,,you can visit my PIC serial port programmer page to conform the serial port pins about the transistor i can say that,,this programmer dos't work at too high speed(target programming clock) so any general purpose transistor can be used as specified in my schematic. i my self tested this programmer with 3 of these transistors. and the crystal is required for providing the clock to the target mcu Reply

11. Gaurav ChaudharyJun 24, 2011 02:57 AM Hi Guys i request you to please post the results of dubuging after my advice. it can help other people to work out things much easy. Reply

12. Marcelo/PorksJun 27, 2011 11:55 AM Hi. I'm trying to make this serial programmer without using the crystal for 'the external clock'. Is this supposed to work?

Once I'm using an ATmega8535 and it has an internal source clock. I understood that I only need the [1] and connect the wires to the pins of the microcontroller [2]: wire --> pin RESET --> 9 +5V --> 10 SCK --> 8 MISO --> 7 MOSI --> 6 GND --> 11 I changed the microcontroller in the PonyProg2000 (Menu Device --> AVR micro --> ATmega8535). With all this done and connected. I tested like you said (Menu Setup --> Interface Setup... --> button probe) and the "Test Ok" message appears. I really made a double check of the wires and I connected the programer to an external source of power. But when I try to read or write at flash I receive the answer: "Device missing or unknown device (-24). Reply

13. Gaurav ChaudharyJun 27, 2011 08:33 PM hi Marcelo/Porks Marchel Plese tell me what is the level of Vce of the transistor (between emitter and collector) when you power up the programmer and when you hit the programming button please check if the transitor is okey? and insted off internel clock i suggest you to please connect the external crystal. did you have any frequency meter or something??? please verify that the crystal is on it's frequency and one more thing with frequency meter put the frequency meter's gnd prove to circuit's gnd and other prove to first MOSI then MISO and then CLK and clik the programming button ,,then look for any frequency change ((we are not measureing any freq here lust looking for any change)) if the fmeter display stay the same the there is a problem of interface cable between pc and the hardware and please check for pin nummbering of the serial por once more most people do mistke right

there tell me if this work, if not then tell me about those voltage level i will let you know more Reply

14. Gaurav ChaudharyJun 27, 2011 08:37 PM hi Marcelo/Porks one more thing please connect the avcc pin(30) to Vcc and pin 31 to gnd Reply

15. Marcelo/PorksJun 28, 2011 04:26 AM Hi Gaurav, I saw your comment right now, thanks! But it was not necessary. Yesterday I tried to replace every single component that I used and I found a bad zener diode. Somehow the diode was not working correctly. So, I just replaced that diode and everything worked fine. Thanks again. NOTE: I tried to use the programmer with the software 'avrdude' but it not worked (-c siprog). The avrdude failed sometimes in diferente steps. So I find out that I need to use the option '-i 100' (It causes a delay on the process). I found someone saying the same thing when he used an Athlon X4 (That's my case). Sorry for the noise and thanks again. Your programmer works properly. Reply

16. Gaurav ChaudharyJun 28, 2011 04:29 AM Thank you it was my pleasure to assist you

Reply

17. parth pandyaJul 1, 2011 03:11 AM hey gaurav is rs232 and db9 connectors are same thing .I want to use the same thing you have used in picture.So tell me it's name.And can I use this programmer with at89c51 and at89s51. Reply

18. Gaurav ChaudharyJul 1, 2011 05:00 AM parth pandya DB9 is type of connector. rs232 is a protocol (standered) of serial communication. in this this rs232 protocol based communication is used whihc db9 type of connectors now a days most computer have rs232 port(serial port) in db9 type of connectors, but in old day there is a possiblity that the rs232 may be implemented on db15 or db25 also and the plastic case you see in the image is call DB9 Cover just take a female db9 connector and a cover and you are ready to go, this cover cost 10-15 INR and db9 connctor also cost 10-15 INR from delhi. it can't programm 89s series of mcu you can see another one http://microembeded.blogspot.com/2011/06/usb-8051-avr-microcontroller-programmer.html The link above will take you to another page of my blog this programmer support 89s series with usb interface Reply

19. parth pandyaJul 2, 2011 04:59 AM thank you very much sir.you solve my confusion between rs232 and db9.You suggest me your usb programmer but i am just a third year it seems very much advanced to me.I just want to start with AT89c51 because 8051 is in our college course so I will be very much thankful if you can suggest me any programmer for that.Means how i can load program to the AT89c51.

Sir I want a complete project guide means starting from writing the program in c genrating the HEX file and send it to AT89C51. I know I am asking you so many silly questions but My so called proffers also don't know anything about this whole. Jay Hind.Jay Bharat Reply

20. Gaurav ChaudharyJul 2, 2011 09:38 AM Hi parth i will post a compleate step by step tutorial on code writing and programming of 8051 mcu but please tell me what programming language you are using , assembly or what?? and i will look for a 8051 serial port based programmer for you asap. but the programmer which i suggest you is really simple all you need to do is make this serial port based avr programmer buy a atmega8 and then goto usb 8051 progammer page download the firmware , burn into the newly buyed atmega8, connect as per the circuit and you are with your programmer. but still you want a progammer for 8051 with a serial interface i will soon give you that. if you have any question about any thing please fell free to ask me. Reply

21. prashantJul 2, 2011 12:28 PM i have chacked all the things .. bt i am still getting the -24 error i am buiding serial programmer Reply

22. Gaurav ChaudharyJul 2, 2011 02:16 PM

Hi prashant plese measure the voltage arround the mcu, frequency between the crystal points. and one more thing with frequency meter put the frequency meter's gnd prove to circuit's gnd and other prove to first MOSI then MISO and then CLK and clik the programming button ,,then look for any frequency change ((we are not measureing any freq here lust looking for any change)) please check the diode and the transistor for any missplace or fault may be you should try all this on another computer may be with another traget mcu too plese let me know about the voltage between the target mcu plese free to ask any thing you want. Reply

23. prashantJul 3, 2011 12:31 AM thanks a lot..... now programmer is reading the mcu .... and i want to move 2 dc motors using l293d but i m nt getting the program for this..... can u help me with it Reply

24. Gaurav ChaudharyJul 3, 2011 06:13 AM prashant that's rellay good you debug this you need the circuit and program to interface the motor using l293D yes i will post this within 3-4 days. if the 3-4 days is too long then tell me i will try to cut this time. Thank you Reply

25. prashantJul 3, 2011 08:30 AM

great!! bt plzz cut the time nd send asap ..... and also tell me that l293d can be use to run 3 motors??....thnxs! Reply

26. Gaurav ChaudharyJul 3, 2011 09:06 AM hi prashant would you please explain why do you need these mortor, 2. which mcu you are useing ( i will try to post with 8051 3 which pgoramming language you prefer 4 do you need speed control over the mortor or just the direction of the mortor Reply

27. prashantJul 4, 2011 04:43 AM i am making a robot for wich i need 3 motors i m using atmega 16 and want to use same programming hexadecimal one in pony prog i need speed control in 2 motor and other can b just simple ..direction.. Reply

28. Gaurav ChaudharyJul 4, 2011 04:52 AM Hi prashant i will get you a circuit with in 1-2 days, i will give you for atmega 16 mcu and c language i will get you hex code too with one l293d you can control only 2 motor if you want direction to be changed.

so for total three motors you need two l293D and i will use pwm to control mortor speed Reply

29. prashantJul 7, 2011 02:54 AM thanxs waiting for ur ckt....... Reply

30. Gaurav ChaudharyJul 7, 2011 03:07 AM parashant actually i was busy in other things i will post asap Reply

31. VanangamudiJul 7, 2011 05:33 AM I think i should prefer serial port programmer to usb programmer. but i'm using ubuntu. how can i use this circuit tp program my mcu Reply

32. prashantJul 7, 2011 06:28 AM ok but waiting for the ckt Reply

33. prashantJul 9, 2011 08:03 AM still no ckt !!!!!??

Reply

34. parth pandyaJul 12, 2011 06:49 AM Sir,I have decided to make a project with AT89S52 which has the pins MOSI and MISO so can I use this AVR Serial Port Programmer for my project.And sir I also want to know that can I use one c programing code of AT89c51 for AT89S52 the code is about LCD interfacing. Reply

35. VenkyJul 13, 2011 09:11 PM Hi... It works... :-).. Thanks... Will this circuit work? http://www.sourabh.sankule.com/tutorial/avr/serial_prog.html Is there any risk involved? Reply

36. Sukalyan SahaJul 14, 2011 01:35 PM I have made the programmer as described here. When I connect the prorammer to the serial port (without target)the voltages at the SCK and MOSI lines are -0.7V. Is this all right? In the datasheet the maximum negative votage at any pin is given as -0.5V. So Iam confused. Please clarify. When I select 'Read All' option from ponyprog(without target), the voltages at SCK and MOSI becomes 1.1 to 1.2V after the 'device missing' message. Are these voltage levels correct? In hyperterminal window when I press 'connect' the voltages at SCK and MOSI becomes 4V. So is my programmer all right? I haven't tried to program with it yet. Reply

37. Gaurav ChaudharyJul 15, 2011 12:18 PM Venky yes this did work i have tested and used this

you can go though the comments for your conformation Reply

38. Gaurav ChaudharyJul 15, 2011 12:25 PM hi sukalyan are you checking with dso or multimeter multimeter can't show you exact value if there is low to high and high to low transaction you just go ahead and try programming and the question about the max negative voltage. the data sheet says max negative voltage is -.05 volts it means you can't put the signal less then -0.5 volts with reference to ground when max voltage is vcc+0.5 it means if you are running your mcu at 5v then you can't give the signal more then 5.5 volts if you still have question please free to ask me Reply

39. Sukalyan SahaJul 15, 2011 08:05 PM Thank you sir for your support. I realized the fact that a dc multimeter cannot show proper voltages later. Now, I am running the uc at 5v. But after connecting the serial port the voltages at mosi and sck is -0.7v (<-0.5v).Is it okay for the uc? I will try to program with it. Reply

40. Sukalyan SahaJul 16, 2011 12:00 AM Thank you sir, it worked. Thanks for your support. Reply

41. Sukalyan SahaJul 16, 2011 09:53 AM Sir, I have constructed both the serial and usb programmer and both are running beautifully. But I am having problems with an atmega16 which was programmed previously with an universal programmer. Ponyprog is flashing the message 'device missing' and eXtreme Burner is 'not able to communicate with the device'. The chip is executing the previously loaded program- hence the chip is not faulty. But how can I rectify the problem? Reply

42. Gaurav ChaudharyJul 17, 2011 02:51 AM Hi Sukalyan i advice you plese try with other atmega16 because i just programmed atmega 16 with the usabasp without any problem and your chp is executing the previously loaded program ,,, you can't reprogram or read this mcu if security setting bits are enabled for protection Reply

43. Sukalyan SahaJul 18, 2011 10:32 AM Thank you sir. Today I reprogrammed them with the required fuse bit settings with a universal programmer. They are working fine now. I really want to appreciate your support to the followers of your blog. Please keep it up. You people give a lot of encouragement to us. Reply

44. Marcelo/PorksJul 27, 2011 02:39 PM Hi Gaurav, In the begin of this page you posted a photo from on side of your circuit [1]. Could you, please post a photo from the other side? I ask this because I'm trying to do a this cuircuit as small as I can and yours seems to be very

tiny. Thanks so much. [1] http://3.bp.blogspot.com/-i0rKB9AtsI/TbrEajrm0RI/AAAAAAAAAFM/uZEIXguQtuw/s1600/Internal.png Reply

45. Gaurav ChaudharyJul 27, 2011 02:43 PM hi marcelo i don't have this programmer any more ,, i don't use this for my work , i have a professional programmer ,, so can't provide you image... sorry these image are just to give a basic idea Reply

46. Marcelo/PorksJul 27, 2011 07:40 PM Ok! Thanks anyway Reply

47. pradeepSep 21, 2011 03:37 AM hi gaurav.. i'm new to this avr. and i tried building this programmer. i got the probe test ok, but i'm still getting the msg as device missing or unknown device -24. i checked al the components as u've suggested but couldn't check the crystal as i cant afford to a freq meter. could u plz suggest another way to check the xtal... Reply

48. Gaurav ChaudharySep 21, 2011 03:39 AM which mcu you are programming? have you checked the voltage level of mcu

if you do't have the freq meter then try to use another crystal Reply

49. pradeepSep 21, 2011 04:11 AM i'm using atmega8 and the voltage level i'm getting for the mcu is a proper 5 volts. and as u said, i'll try changing the xtal and let u know sir. thank u Reply

50. Gaurav ChaudharySep 21, 2011 04:13 AM hi pradeep where are you in india Reply

51. pradeepSep 21, 2011 04:21 AM yes.. bangalore Reply

52. Gaurav ChaudharySep 21, 2011 04:36 AM if you plan to build usb avr programmer then you can send me the atmega8 and then i will program it for you and ship it back for free Reply

53. pradeepSep 21, 2011 04:51 AM

i'm really thank full for your concern sir. but actually i'm planning to build the serial programmer which you have shown.. and i wish to have a programmer of my own cuz that would be helpful for my future programming. so i would like to build the one u've shown as it's a lot simple.. Reply

54. Gaurav ChaudharySep 21, 2011 04:52 AM ok then. i will surly help you to build this one. Reply

55. Aldrin daneOct 3, 2011 08:09 PM Hello, Is this compatible with at89s52??? Reply

56. Gaurav ChaudharyOct 4, 2011 04:56 AM hi aldrin this programmer is not compatible with 89 series of Devices Thank you Reply

57. NIDHINOct 23, 2011 12:23 PM hello, can this circuit program all avr series mcs,at90xxx,at-tiny,etc? Reply

58. vinayNov 5, 2011 12:12 AM Hi, I built the AVR serial programmer and want to use it to program an atmega8 microcontroller to be part of an AVR USB programmer. From what i read it looks like writing the hex file is a two step process. First I flash the hex file and then after successfully writing the hex file, i separately write the fuse bits. IS my understanding correct Sir. Thanks, vinay Reply

59. Gaurav ChaudharyNov 5, 2011 01:34 AM yeah you are correct. burning the hex needs two things but actually they burned together in one step. means open the hex file into software and adjust the fuse bits and click burn button.. Reply

60. vinayNov 5, 2011 05:51 AM Thanks a lot Sir. I shall try it. vinay Reply

61. vbaeroNov 5, 2011 06:42 AM Hi I've ATmega168v and ATmega88v can i use them ? Reply

62. Gaurav ChaudharyNov 5, 2011 10:25 AM sure you can use atmega 88 the zip file that is downloadable from the page does contain .hex file for atmega88 too Reply

63. vbaeroNov 5, 2011 11:55 AM and ATmega168v ? thanks =) Reply

64. ASHIN THEKKEKARANov 8, 2011 04:57 PM Sir I made the programmmer but while setuping the inferface. It flashed a message "" DLPORTIO.SYS is not loaded "" What could be the mistake pls help and thanks in advance Reply

65. Gaurav ChaudharyNov 9, 2011 08:26 PM hi ashin this is pc software problem you must redownload and try to run . thank you

Reply

66. ASHIN THEKKEKARANov 10, 2011 04:08 PM This comment has been removed by the author. Reply

67. ASHIN THEKKEKARANov 10, 2011 04:40 PM Does Windows 7 supports pony prog. Can it be made to work on win 7. What should be done to make it work on windows 7. AsH Reply

68. ASHIN THEKKEKARANov 11, 2011 06:07 AM how to set the program to use serial port. Reply

69. Gaurav ChaudharyNov 11, 2011 07:14 AM Hi ashin how to set the serial port is shown in the images above. if you still have any question please ask Reply

70. ASHIN THEKKEKARANov 12, 2011 06:01 AM

Sir Its working fine now I got the pins wired incorrectly!! Thanks 4 all the help. Ash Reply

71. NIDHINNov 12, 2011 09:50 AM dear sir , i am using usb2serial converter and so i was unable to use this ,i am using atmega8 ,pls help me ,i want to construct USB 8051 (89 series) & AVR Microcontroller Programmer . Reply

72. ASHIN THEKKEKARANov 14, 2011 03:47 AM Sir I am facing a little problem . I cant have +5v steadily. i am getting 4.8 - 5.0v variations.I used a 5v regulator to get 5v to the programmers but it reduces to 4.8 v as i connect it to 5v pin of the programmer circuit. IS this normal and what can we do about it. Ash Reply

73. Gaurav ChaudharyNov 17, 2011 07:19 AM hi ashin 4.8v is fine go ahead any try to program Reply

74.

DhruvNov 17, 2011 10:07 PM Hi, I am getting the problem on clicking probe, it says Test failed!! What should be done? I am using Windows XP SP 2. Please help me asap Reply

75. ASHIN THEKKEKARANov 19, 2011 05:13 PM yes Its programming well!! Thanks 4 all the help u provided with ..... Thank u sir. Reply

76. ag12345Nov 24, 2011 08:15 PM Hi! does it support ATmega8515? thanks Reply

77. Gaurav ChaudharyNov 25, 2011 03:37 AM Yes it does support atmega8515 Reply

78. AVR_BOYJan 2, 2012 07:48 AM Hi! it support ATmega128 ? not use H/W pin Mosi and Miso it use PE0 and PE1 thanks

Reply

79. sandyJan 4, 2012 11:29 AM is there any solution to program using usb to serial convertor??? plz.. help me out.. Reply

80. Vishal K MJan 26, 2012 02:34 AM Does this support AT89S52? Reply

81. ShaunJan 28, 2012 04:20 AM Hey Gaurav, I'm building a USBasp, but I'm aware that it uses an AtMega8 with a software USB bootloader. Since it's a software based USB interface I'm guessing it's speed won't be too high and neither will it be very reliable. Why not develop a usb programmer with a chip that has hardware usb support, like "PIC18F2xxx" series. I'm sure this will be an interesting project for you -> [http://electronicsdiy.com/USB_IO_Board.php] :) With regards, Shaun Reply

82. veggiesFeb 18, 2012 12:03 AM Hi I am using atmega8, downloaded the firmware, i changed the fuse bits following the steps given in your serial programmer tutorial, fuse bits were written ok but after that when I tried to burn the firmware, an error was displayed that "target didn't answer" Kindly help me

Reply Replies

1. Gaurav ChaudharyFeb 18, 2012 05:09 AM Hi, this kind of mcu locking porblem arrive only when you have some wrong fuse bits. If the mcu get locked then nothing much you can do

2. veggiesFeb 19, 2012 05:08 AM thanks for your reply,I have followed all the mentioned steps to configure fuse bits,we have to configure lock bit too?

3. Gaurav ChaudharyFeb 19, 2012 09:05 AM If it is required to burn then lock bit for your hex file then do it otherwise. Leave it like that let me warn you !!!!! if any wrong fuse bit is burned then it may lead you to a useless locked microcontroller. So read the device datasheet 's configuration bits setting. Section. Carefully

4. veggiesFeb 20, 2012 06:07 PM Hi I got my mistake,basically I am using Khazama to burn firmwear in atmega8,to set the fuse but I used fuse bit calculator ,there is some difference in rrading the fuse bit in calculator vs khazama,eg:If calculator show chk mark on any bit its mean you have uncheck these bits in khazma,I hope I deliverd. Reply

83. veggiesFeb 19, 2012 12:02 AM then what can i do now? how can i make my controller working now? Reply

84. Sagar SojitraFeb 25, 2012 02:06 AM Respected Sir, Sir do u know how to use touchpad type keypad instead of matrix keypad..? if yes then pls sir guide me with it to interface it with atmega32. Reply

85. Jishnu.NambissanMar 11, 2012 08:47 AM Can i use this programmer under windows Xp ? i have heard that Xp does not allow direct port access . can i use this with winavr ? Reply Replies

1. Gaurav ChaudharyMar 15, 2012 04:35 AM sure you can use it in windows xp ? i have tested this n working fine Reply

86. SalalMar 15, 2012 11:10 AM does it support atmega644?? Reply

87. Manoj GudiMar 17, 2012 11:24 AM I need help since I m beginner to avrdude in Ubuntu and AVR programming, I plan to make this one What should I select in avrdude that is parameters for -c and -p Please mail me the same... Reply

88. Er. WangduApr 3, 2012 07:53 AM Great... Reply