Go Down

Topic: Not able to burn bootloader on atmega8 (Read 1 time) previous topic - next topic

Paresh Mathur

I have a atmega8-16PU. I made a arduino compatible on breadboard (itp.nyu.edu/physcomp/Tutorials/ArduinoBreadboard). I can program it using AVRDude but I am not able to burn the bootloader on it.

I am using the Arduino NG or Older w/ ATMega8 option as the board.And using the parallel programmer. It shows the following error

avrdude: AVR device not responding
avrdude: initialization failed, rc=-1
avrdude: Yikes!  Invalid device signature.
avrdude: Expected signature for ATMEGA8 is 1E 93 07
avrdude: AVR device not responding
***failed;  
avrdude: verification error, first mismatch at byte 0x0000
        0xca != 0xff
avrdude: verification error; content mismatch

The signatures should match as I can program it using the avrdude (tested by burning a C program on it).

rick@Sophiya:~/Desktop/led test$ sudo make program
avrdude -p atmega8 -P /dev/parport0            -c pony-stk200       -E reset  -U flash:w:blink_led.hex

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e9307
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed
        To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "blink_led.hex"
avrdude: input file blink_led.hex auto detected as Intel Hex
avrdude: writing flash (108 bytes):

this shows that the board is working.

Please help me with this problem.

private_click

did u burn the fuses for xtal and lock/unlock ?
what programmer do you have?

Paresh Mathur

#2
Apr 04, 2010, 11:46 am Last Edit: Apr 04, 2010, 11:51 am by rick2047 Reason: 1
I don't know what the first one means (do you mean the edits in the preferences file?) but i just added the ICSP parallel ports programmer like this http://arduino.cc/en/Hacking/ParallelProgrammer to the breadboard

(actually I had one left around which came with an atmega32)

Paresh Mathur

I just checked my makefile which I use to program and it uses the pony-stk200 protocol with avrdude.

Can change stk500 to pony-stk200?

Coding Badly


You may have to add your programmer to the programmers.txt file.

In boards.txt, use the "Arduino NG or Older w/ ATMega8" entry to create a new one that uses your programmer.

I think instructions are here...
http://www.arduino.cc/en/Hacking/Programmer


Be sure to modify the files when the Arduino IDE is NOT running.

Go Up
 

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.
Name:
Email:

shortcuts: alt+s submit/post or alt+p preview