Continue to Site

Welcome to EDAboard.com

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.

[AVR] how to program atmega8 using arduino as ISP??

Status
Not open for further replies.

Deexith Hasan

Advanced Member level 4
Joined
Oct 24, 2014
Messages
111
Helped
4
Reputation
8
Reaction score
3
Trophy points
18
Activity points
740
how to program atmega8A using arduino(atmega328p) as ISP?

i'm having my hex file generated from winavr.. i dont have programmer so i'm using arduino as programmer and uploaded ISP on arduino......

in avrdude ATMEGA8A is not identified and its showing signature of ATMEGA328p of arduino

how to solve this??
 

Have you checked arduino website? On the website you able to see how to set up the hardware to program your chip.
 

yup i configured my arduino as ISP.....and connected VCC and gnd,reset,MOSI,MISO,SCK pins of both atmega8a and atmega328p(arduino which is programmed as isp)........i checked my code(simple led blink) in proteus......i'm using winavr so i didnt burn bootloader on atmega8a...

and typed in cmd
Code:
C:\Users\ADMIN>avrdude -p atmega8 -P com11 -c arduino -U flash:w:main.hex

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.02s

avrdude: Device signature = 0x1e950f
avrdude: Expected signature for ATMEGA8 is 1E 93 07
Double check chip, or use -F to override this check.

avrdude done. Thank you.

got signature of ATMEGA328p(arduino) not ATMEGA8a y??
 

Also, it is not clear from your description, but pin 10 of the arduino is connected to the ATmega8 reset pin. Usually, a 10uf capacitor is needed between the Arduino reset pin and ground.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top