tag:blogger.com,1999:blog-6025421110034787979.post1617834496278589643..comments2023-10-30T12:45:55.578+06:00Comments on Microcontroller Blog: Chapter 6: Making your own USB ProgrammerTanvir Ferdousihttp://www.blogger.com/profile/03903693867297865947noreply@blogger.comBlogger20125tag:blogger.com,1999:blog-6025421110034787979.post-26710950072458417912013-10-07T12:54:04.749+06:002013-10-07T12:54:04.749+06:00the atmega8-16pu 22nd pin GND is left unconnected....the atmega8-16pu 22nd pin GND is left unconnected.. why.. can i connect to this ground..?/maalepati.sandeephttps://www.blogger.com/profile/01802454751534642724noreply@blogger.comtag:blogger.com,1999:blog-6025421110034787979.post-10853645361937382482012-02-01T19:42:37.005+06:002012-02-01T19:42:37.005+06:00https://www.facebook.com/ashloverscn
THIS IS MY F...https://www.facebook.com/ashloverscn<br /><br />THIS IS MY FACEBOOK LINKashishhttps://www.blogger.com/profile/06860872308032095914noreply@blogger.comtag:blogger.com,1999:blog-6025421110034787979.post-45139611282462935872012-02-01T19:38:25.178+06:002012-02-01T19:38:25.178+06:00YAAP !!! YAAP !!!
JOIN ME AND VISIT MY USBASP PAGE...YAAP !!! YAAP !!!<br />JOIN ME AND VISIT MY USBASP PAGE ON FACEBOOK<br />I HAVE UPLOADED PICTURES AND VIDEOSAshishhttps://www.facebook.com/ashloverscnnoreply@blogger.comtag:blogger.com,1999:blog-6025421110034787979.post-63856048322471825382012-01-11T14:08:25.962+06:002012-01-11T14:08:25.962+06:00@ Ashish
Thanks, that's a lot of information....@ Ashish<br /><br />Thanks, that's a lot of information. Your ideas will be helpful for us.<br /><br />One thing regarding clock ratings,<br />Actually the things you find in the datasheet are the rated values (Values that will be optimum). Operating over the maximum rated frequency is called overclocking and normally it works! However, the thing I would like you to know is that, it's risky. The AVR might fail unexpectedly anytime although It will do your job for now anyway.<br /><br />You should not overclock when reliability is a concern. Otherwise its completely fine. AVRs can be overclocked to even 20MHz.Tanvir Ferdousihttps://www.blogger.com/profile/03903693867297865947noreply@blogger.comtag:blogger.com,1999:blog-6025421110034787979.post-6472547763395311842012-01-07T01:04:31.436+06:002012-01-07T01:04:31.436+06:00AND IF U HAVE MESSED THE WRONG CLOCK U MAY TRY TO ...AND IF U HAVE MESSED THE WRONG CLOCK U MAY TRY TO USE A OLD WORKING AVR AS A CLOCK SOURCE ,ITS NOTHING HI FI U JUST NEED TO WRITE A PIN TOGGLE PROGRAM WITHOUT A DELAY (JUST SWITCHING THE PIN LOW AND HIGH AND BURN IT TO THE WORKING MICRO CONTROLLER,NOW CONNECTING THE PIN OF THE WORKING MCU WHICH U ARE TOGGELING WITH THE PROGRAM TO THE DEAD ATMEGA XTAL1 PIN (ALSO AT THE SAME TIME DO NOT CONNECT ANY THING TO XTAL PIN 2),NOW CONNECT GND AND VCC OF DEAD MCU WITH GND AND VCC OF WORKING MCU RESPECTIVELY NOW PROGRAM THE DEAD MCU ,IT SHOULD WORK IF UR CLOCK SOURCE IS MISS SOURCED WITH A EXTERNAL OCCILATOR ,AND IF NOT U R NEEDING A HI VOLTAGE PROGRAMMER U CNA MAKE IT IF UR USING ARDUINO ,<br /><br />ITS SIMPLE AS A PIECE OF A CAKE GO TO THE LINK<br /><br />http://mightyohm.com/blog/2008/09/arduino-based-avr-high-voltage-programmer/<br /><br />AND REMEMBER THE WORDS ATMEGA8L CAN ALSO BE USE IN USBASP PROGRAMMER ,ashishhttps://www.blogger.com/profile/06860872308032095914noreply@blogger.comtag:blogger.com,1999:blog-6025421110034787979.post-7299160469168097212012-01-07T00:51:46.768+06:002012-01-07T00:51:46.768+06:00MY DEAR FIRENDS AND TANVIR DADA I HAVE SUCCESFULLL...MY DEAR FIRENDS AND TANVIR DADA I HAVE SUCCESFULLLY SEEN USB ASP WORKING WITH ATMEGA8L PU<br /><br />DONT NOT WORRY ABOUT THE CLOCK SPEED IT WILL WORK FINE,IT DIDNT SHOW TO WORK BESAUSE U DIDNT CONFIGURE THE EXTERNAL CRYSTAL FUSE FOR THE MCU ,U NEED TO SET THE EXTERNAL CRYSTAL FUSE THEN ONLY IT WILL WORK THE REASON IS ATMEL COMPANY MAKE DEFAULT FUSE SETTINGS AS INTERNAL 8MHZ OCCILATOR FOR THE MCU,AND ALSO LET ME TEL U I HAVE SEEN AT MAVY PLACES PEOPLE TELLING THAT ATMEGA8L IS A LOW VOLTAGE MCU AND IT ONLY CLOCKS AT 8MHZ AND BLAH BLAH BLAH, BUT ITS NOT SO THE REASON UR CLOCKING AT 8MHZ IS THE DEFAULT FUSE SETTINGS WHICH IS MAKEING UR ATMEGA TO CLOCK THROUGH INTERNAL OCCILATOR THE REASON UR IC NOT DETECTING AS USB ASP IN DEVIDE MANNAGER AS A NEW HARDWARE ,SO DO NOT WORRY MAKE UR PROGRAMMER WITH ATMEGA8L ALSO ,JUST BE CARE FULL NOT TO CHOOSE A WRONG CLOCK SOURCE OR UR AVR WOULD GO DEADF TO ISP (AS U MAY DISABLE THE RESET PIN) OR UR AVR WOULD STOP WORKING THROUGH CRYSTAL OR INTERNAL OCCILATOR (AS U MAY CHOOSE A WRONG CLOCK SOURCE FOR EXAMPLE EXTERNAL CLOCK OCCILATOR WHICH WILL REPLACE SETTINGS FOR A EXTERNAL CRYSTAL AND UR AVR WILL START LOOKING FOR A CLOCK SOURCE ON XTAL 1 PIN ,SO NOW KNOWINGLY U CAN GUESS WHAT IS THE PROB UR AVR IS LOOKING FOR A CLOCK SOURCE BUT WHAT U HAVE IS A CRYSTAL ATTACHED SO NOTHING WILL WORK,NOW COMING TO THE MAIN TOPIC THAT IS WHAT IS THEN DIFFERENCE BETWEEN ATMEGA8 AND ATMEGA8L<br /><br />SO REMEMBER "ATMEGA8L" ONLY MEANS TO SAY U CAN ALSO WORK AT LOW VOLTAGE BELOW 1.5V IF UR WORKING AT 8MHZ SPEED ,I HEARD PEOPLE ALSO SAYING THAT DATA SHEET IS TELLING THAT ATMEGA8L CAN ONLY WORK AT 8MHZ,BUT ITS NOTHING LIKE THAT IT IS THE ABOVE REASONS WHY UR CHIP IS WORKING AT 8MHZ AND DATA SHEET ONLY MENT TO SAY IS THAT "U CAN ALSO WORK WITH ATMEGA8L BELOW 1.5V IF UR RUNNING UR PROGRAM AT 8MHZ",<br /><br />NOTE:ALL ATMEGA SERIES OF AVR CHIP CAN CLOCK UP TO 16MHZ DO NOT WORRY AND TRY (BUT REMEMBER NOT TO FORGET TO CHECH THE CORRECT FUSE BUT AT THE SAME TIME HANDLE FUSE WITH CATE CUT IT MAY DESTROY UR AVR CHIP PERMANNENTLY )ashishhttps://www.blogger.com/profile/06860872308032095914noreply@blogger.comtag:blogger.com,1999:blog-6025421110034787979.post-25718288851050408912011-12-18T14:18:34.219+06:002011-12-18T14:18:34.219+06:00i need to have a boot loader which will work with ...i need to have a boot loader which will work with internal 8 mhz occilator , <br />i dont get any mcu above 8 mhz support i told it to u previously ,nale ami bose thaktan na amr programmer ta to toyri hae jeo ,ki karbo bolo to ,dhatttttttttttttttttttttttttt, :(ashishhttps://www.blogger.com/profile/06860872308032095914noreply@blogger.comtag:blogger.com,1999:blog-6025421110034787979.post-82487144326343617312011-12-18T14:14:55.253+06:002011-12-18T14:14:55.253+06:00cuz i found that i have to compile my program emul...cuz i found that i have to compile my program emulating my mcu type in avr studio, <br /><br />if ig o mad now seriously i will start editing the bootlaoders of arduino for my mcu ,ashishhttps://www.blogger.com/profile/06860872308032095914noreply@blogger.comtag:blogger.com,1999:blog-6025421110034787979.post-40794475936149106712011-12-18T14:11:09.514+06:002011-12-18T14:11:09.514+06:00and aei rakham hai ki je when im coding i have to ...and aei rakham hai ki je when im coding i have to mention my cpu clock speed nai to program mcu te run karbe na,ashishhttps://www.blogger.com/profile/06860872308032095914noreply@blogger.comtag:blogger.com,1999:blog-6025421110034787979.post-1833963160834646702011-12-17T18:46:17.540+06:002011-12-17T18:46:17.540+06:00To Ashish,
I have never worked with arduino or bo...To Ashish,<br /><br />I have never worked with arduino or bootloaders. Currently I can't help you as I am passing some busy weeks of my semester. If I get free time later, I will surely try to help you out.<br /><br />There are some crucial fuses that enables or disables ISP programming. So you should always be careful while dealing with fuses. Also, wrong oscillator settings might make the uC unusable. Sometimes, the AVRs get locked for unknown reasons while editing fuses with serial or parallel programmers. I faced it. But then I reset the fuses with a Universal Programmer and the AVR was OK again.<br /><br />You can always contact me in this comments section. You can also send me emails. My email address is given in my blogger profile.<br /><br /><br />Good Luck..Tanvir Ferdousihttps://www.blogger.com/profile/03903693867297865947noreply@blogger.comtag:blogger.com,1999:blog-6025421110034787979.post-50993573153624364672011-12-09T17:14:19.261+06:002011-12-09T17:14:19.261+06:00jadi arduino banano jai with atmega 8L or atmega 1...jadi arduino banano jai with atmega 8L or atmega 16 a pu tale o habe amar kaj ta ,<br /><br />ar parle ama ke bootloader ponyprog diyea ki kare burn karte hai bhujiyea diyo ami pony prog te hex file open kare flash memory te burn kari ar external crystal occilator 8 to 16 mhz settings diyea wri8 kari tao dekhi hai na ,tuimi akbar dekhbe i hope so arduino baniyea cho but ami boot loader ta externaly burn karte chai with pony prog using dasa or si prog programmer<br /><br />tumi to bese bhalo video upload o karo amr janno akta vudeo toutorial baniyea diyo parle that how to burn arduino boot loader in atmega 8 with fuse settings and use with rs232 module ,ashishhttps://www.blogger.com/profile/06860872308032095914noreply@blogger.comtag:blogger.com,1999:blog-6025421110034787979.post-29720429885792976592011-12-09T17:02:38.656+06:002011-12-09T17:02:38.656+06:00tai bhuji tale to amar wast gelo mcu ta ar aikhane...tai bhuji tale to amar wast gelo mcu ta ar aikhane kichu pawa o jai na,tar mane ami ki ar kori ,arduino bootloader install kara jabe ki ,in atmega8L ,ACTUALI AMI PROTHOM BAR KAJ KARCHI tai asubide hatche ,and plz say that fuse settings bhul hole ki kono prob hai ,karon kal ratri bela i was messing with the fuse an sudednly my avr stoppped responding ,ami serial programmar baniyea use karchilam ,ar normaly fuse settings ki rakhte hai ,<br /><br />and pllzzz im on fb tomar jadi id hai amay request pathiyea diyo dada , amar id holo<br /><br /><br />ashloverscn@gmail.com<br /><br />link<br /><br />http://facebook.com/ashloverscnashishhttps://www.blogger.com/profile/06860872308032095914noreply@blogger.comtag:blogger.com,1999:blog-6025421110034787979.post-41295569758824409042011-12-02T03:18:15.890+06:002011-12-02T03:18:15.890+06:00To Ashish,
Currently I don't have any ATmega...To Ashish,<br /><br /><br />Currently I don't have any ATmega16. But I believe that it will work with usbasp. AVRDUDE supports this model and it has the similar ISP interface like the other AVRs. So it should work. If I get an Atmega16 someday and find out that it does not work, I will let you know.<br /><br /><br />Secondly, ATmega8L does not operate over 8 MHz, so it will not work. Atmega8-16PU model is compatible for this frequency as it can operate up to 16MHz clock.<br /><br />I think you are from Dhaka. If so, keep looking in Patuatuli and Stadium Market(Including the the market around the swimming pool). I buy most of them from Patuatuly. Both the models of ATmega8 are normally available. It may be hard to find. ATmega88 can also be used but its not available here.<br /><br />The firmware was written for Atmega8 and Atmega88 only. If you want to use it with other micro controllers, you will need to modify the source code yourself which may be a tedious job for a beginner. If you can do it, you can use it with any model that operates at 12 MHz or more. The firmware and its original codes are available at.<br />http://www.fischl.de/usbasp/<br /><br />Finally, thanks for asking.Tanvir Ferdousihttps://www.blogger.com/profile/03903693867297865947noreply@blogger.comtag:blogger.com,1999:blog-6025421110034787979.post-45348272465877590192011-11-30T15:04:37.333+06:002011-11-30T15:04:37.333+06:00arr akti kathaamar kache atmeg8L ache 12mhz crysta...arr akti kathaamar kache atmeg8L ache 12mhz crystal diyea habe ki karon aeikhane sudhu 2 te mcu pawa jai tat is atmega8L ar akta holo atmega16A<br /><br />ar aer chara kicchu pawa jai na , plz ]]<br /><br /><br />aeita amay janabe ,,<br /><br />amar akta o usb programmer nai ar amma ke serial port program karwar janno relativer er bari jeta hai bar bar, <br /><br />plz help karbe,ashishhttps://www.blogger.com/profile/06860872308032095914noreply@blogger.comtag:blogger.com,1999:blog-6025421110034787979.post-5231726092224721802011-11-30T14:51:09.132+06:002011-11-30T14:51:09.132+06:00sune chi na ki usb asp atmega 16 er sathe compatib...sune chi na ki usb asp atmega 16 er sathe compatible noi ,ate ki tumi test kare cho,dada,zodi karo ni akk bar kore dekhibe aeita requeat rohilo,ashishhttps://www.blogger.com/profile/06860872308032095914noreply@blogger.comtag:blogger.com,1999:blog-6025421110034787979.post-73650302505321125222011-10-19T21:56:06.207+06:002011-10-19T21:56:06.207+06:00To Anonymous,
Tumi ki usbasp properly install kors...To Anonymous,<br />Tumi ki usbasp properly install korso? Then, ei blog er Chapter 7 e deya ase AVRDUDE e kivabe sobkisu test korte hoi.<br /><br />How to connect to the target:<br />1. Target AVR microcontroller er sathe usbasp er je ISP header (J3) er 5 ta line properly connect korte hobe. RESET, MOSI, MISO, SCK ebong GND must be connected to the respective pins. <br /><br />2.Target Microcontroller e ekta 5V regulated supply diye power up korte hobe. Remember, target er GND ebong usbasp er GND must be same.<br /><br />Connection sob thik thakle, usbasp ebong avrdude properly installed thakle ebong microcontroller er power supply thikmoto deya hole problem hobar kotha na.<br /><br />Finally, thank you for asking and let me know if it works!Tanvir Ferdousihttps://www.blogger.com/profile/03903693867297865947noreply@blogger.comtag:blogger.com,1999:blog-6025421110034787979.post-37140048979654400082011-10-19T20:00:44.944+06:002011-10-19T20:00:44.944+06:00vaia eta tow banailam but target board kivabe conn...vaia eta tow banailam but target board kivabe connect korbo? bolben ki// ami connect korar por msg ase// "could not power on target IC"<br /> how to solve this?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6025421110034787979.post-64127289331588017892011-10-04T20:37:18.813+06:002011-10-04T20:37:18.813+06:00odvut shundor.....you r not a big boss, you r the ...odvut shundor.....you r not a big boss, you r the big boss....Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6025421110034787979.post-56619372801184479602011-10-04T14:39:36.410+06:002011-10-04T14:39:36.410+06:00Thanks Erfan vai.....Thanks Erfan vai.....Tanvir Ferdousihttps://www.blogger.com/profile/03903693867297865947noreply@blogger.comtag:blogger.com,1999:blog-6025421110034787979.post-88002661940144141932011-10-04T11:35:26.734+06:002011-10-04T11:35:26.734+06:00its great lalon vai...go aheadits great lalon vai...go aheadইরফানhttps://www.blogger.com/profile/15375416726178424273noreply@blogger.com