Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
The details are given in the datasheets itself. Roll down to the bottom of the datasheet,, you will find a heading named parallel high voltage programming. In that section you will find the pins used for parallel programming
At first it may be confusing. Dont get panic, try it
thanks for your help .......
when i use mega8 it works
but when i use mega16 or 32 it does not work.........WHY?
Added after 43 minutes:
when i use Mega16 to program it in HVPP mode and click on "Erase Device" Button
on the AVRstudio ( ver 4.14) it shows me below window ....
when i click the program button this shows a window that failed!!
As mentioned by "nandhu015" in his first post here, the programming pins for ATmega 8 and 16 are different. Please confirm that these are connected in the right sequence to the programmer pins in reference to the pins mentioned in the datasheet of M16 or M32.
As Mega 8 is 28 pin and mega 16 is 40 pin, the programming pins are located elsewhere. See the datasheet of the device you need to program and connect the pins of the programmer to the device as mentioned. Good luck