debojitk
Newbie level 3
- Joined
- May 14, 2013
- Messages
- 4
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,317
Hi,
i am trying to burn bootloader on atmega8l with arduinoISP. I connected 17,18,19 of atmega8 (mosi, miso, sck) with 11,12,13 pin of arduino. reset pin of atmega8 to pin 10 of arduino. a 10uf cap between reset and ground. No external crystal, as i was using internal crystal oscillator.
I was successfully able to burn bootloader on the atmega8. But today onwards i am getting very weird device signature mismatch issue on avrdude while trying to upload bootloader. Then I used -F option and got follwoing error:
.
I am using follwoing command line for avrdude:
The board info from arduino i am using is:
I am no more able to burn bootloader to the chip. How should I counter this issue.
Please help.
Thanks in advance.
Debojit
i am trying to burn bootloader on atmega8l with arduinoISP. I connected 17,18,19 of atmega8 (mosi, miso, sck) with 11,12,13 pin of arduino. reset pin of atmega8 to pin 10 of arduino. a 10uf cap between reset and ground. No external crystal, as i was using internal crystal oscillator.
I was successfully able to burn bootloader on the atmega8. But today onwards i am getting very weird device signature mismatch issue on avrdude while trying to upload bootloader. Then I used -F option and got follwoing error:
Code:
avrdude: verifying lock memory against 0x3F:
avrdude: load data lock data from input file 0x3F:
avrdude: input file 0x3F contains 1 bytes
avrdude: reading on-chip lock data:
Reading | | 0% 0.00savrdude: Send: V [56] X [58] . [00] . [00] . [00] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
Reading | ################################################## | 100% 0.05s
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
0x3f != 0x00
avrdude: verification error; content mismatch
I am using follwoing command line for avrdude:
Code:
avrdude -Cavrdude.conf -e -F -v -v -v -v -patmega8 -cstk500v1 -P\\.\COM6 -b19200 -e -Ulock:w:0x3F:m -Uhfuse:w:0xc4:m -Ulfuse:w:0xe4:m.
Code:
atmega8noxtal.name=ATmega8-noxtal @8MHz
atmega8noxtal.upload.protocol=stk500
atmega8noxtal.upload.maximum_size=7168
atmega8noxtal.upload.speed=38400
atmega8noxtal.bootloader.low_fuses=0xe4
atmega8noxtal.bootloader.high_fuses=0xc4
atmega8noxtal.bootloader.path=atmega8_noxtal
atmega8noxtal.bootloader.file=ATmegaBOOT.hex
atmega8noxtal.bootloader.unlock_bits=0x3F
atmega8noxtal.bootloader.lock_bits=0x0F
atmega8noxtal.build.mcu=atmega8
atmega8noxtal.build.f_cpu=8000000L
atmega8noxtal.build.core=arduino
atmega8noxtal.build.variant=standard
I am no more able to burn bootloader to the chip. How should I counter this issue.
Please help.
Thanks in advance.
Debojit