Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

[SOLVED] Problem with Atmega8L programming

Status
Not open for further replies.

layzee

Newbie level 4
Joined
Mar 18, 2010
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Kolkata, West Bengal
Activity points
1,315
Recently I built an AVR programmer based on the one suggested at AVR Programmer and also got myself a new Atmega8L-8PU. I tried programming it with both PonyProg and AvrDude but none of them are detecting the AVR. I even got another Atmega8L-8PU but the outcome was identical. Could there be a problem with the crystal ?
 

mister_rf

Advanced Member level 5
Joined
Feb 26, 2008
Messages
1,874
Helped
1,040
Reputation
2,088
Reaction score
953
Trophy points
1,393
Location
Romania
Activity points
11,528
Did you connect external +5V voltage supply for AVR chip?
Have you check polarity of zener diodes?
 
  • Like
Reactions: layzee

    layzee

    points: 2
    Helpful Answer Positive Rating

alexan_e

Administrator
Joined
Mar 16, 2008
Messages
11,895
Helped
2,021
Reputation
4,158
Reaction score
2,031
Trophy points
1,393
Location
Greece
Activity points
64,377
The factory setting for the mcu clock used is internal RC, you don't need a crystal so this isn't the problem.
You also have to connect the 5v of the ICSP plug to a 5v power supply, this is an input for the voltage and you have to provide it for the correct operation, it is not an output.
Check is the MISO/MOSI are connected properly.

Alex
 
  • Like
Reactions: layzee

    layzee

    points: 2
    Helpful Answer Positive Rating

layzee

Newbie level 4
Joined
Mar 18, 2010
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Kolkata, West Bengal
Activity points
1,315
Thanks guys... I thought that the 5V and GND pins were outputs from the programmer. I'll add a 7805 this time and check...
 

nandhu015

Advanced Member level 5
Joined
Feb 11, 2006
Messages
1,965
Helped
300
Reputation
600
Reaction score
224
Trophy points
1,353
Location
India
Activity points
9,826
Thanks guys... I thought that the 5V and GND pins were outputs from the programmer. I'll add a 7805 this time and check...
and dont forget to connect your powersupply ground to the programmer ground.
 
  • Like
Reactions: layzee

    layzee

    points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top