Geo242
03-12-2007, 08:00 PM
So, I have built my programmer, and my chiip, but I am having some issues flashing it. I have my parallel port set to 'Normal' mode. I am using AVRdude with the batch files posted on the Chiip website. I am using the ATMega8-16PU chip as well. I have checked and rechecked all my connections a million times too.
Here is what happens when I try to flash it.
C:\Documents and Settings\tripolgm\Desktop\Chiip>avrdude -p m8 -F -c sp12 -U fla
sh:w:chiip_firmware_v1_0_beta_4.hex -U lfuse:w:0xE3:m
avrdude: AVR device not responding
avrdude: initialization failed, rc=-1
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0xffffff
avrdude: Yikes! Invalid device signature.
avrdude: Expected signature for ATMEGA8 is 1E 93 07
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 "chiip_firmware_v1_0_beta_4.hex"
avrdude: input file chiip_firmware_v1_0_beta_4.hex auto detected as Intel Hex
avrdude: writing flash (1560 bytes):
Writing | ################################################## | 100% 0.58s
avrdude: 1560 bytes of flash written
avrdude: verifying flash memory against chiip_firmware_v1_0_beta_4.hex:
avrdude: load data flash data from input file chiip_firmware_v1_0_beta_4.hex:
avrdude: input file chiip_firmware_v1_0_beta_4.hex auto detected as Intel Hex
avrdude: input file chiip_firmware_v1_0_beta_4.hex contains 1560 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 0.45s
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
0x12 != 0xff
avrdude: verification error; content mismatch
avrdude: safemode: Fuses OK
avrdude done. Thank you.
I had to set the "-F' switch because it would always just fail at the device signature. Is this normal, or did I do something wrong?
Thanks in advance for your help.
Here is what happens when I try to flash it.
C:\Documents and Settings\tripolgm\Desktop\Chiip>avrdude -p m8 -F -c sp12 -U fla
sh:w:chiip_firmware_v1_0_beta_4.hex -U lfuse:w:0xE3:m
avrdude: AVR device not responding
avrdude: initialization failed, rc=-1
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0xffffff
avrdude: Yikes! Invalid device signature.
avrdude: Expected signature for ATMEGA8 is 1E 93 07
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 "chiip_firmware_v1_0_beta_4.hex"
avrdude: input file chiip_firmware_v1_0_beta_4.hex auto detected as Intel Hex
avrdude: writing flash (1560 bytes):
Writing | ################################################## | 100% 0.58s
avrdude: 1560 bytes of flash written
avrdude: verifying flash memory against chiip_firmware_v1_0_beta_4.hex:
avrdude: load data flash data from input file chiip_firmware_v1_0_beta_4.hex:
avrdude: input file chiip_firmware_v1_0_beta_4.hex auto detected as Intel Hex
avrdude: input file chiip_firmware_v1_0_beta_4.hex contains 1560 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 0.45s
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
0x12 != 0xff
avrdude: verification error; content mismatch
avrdude: safemode: Fuses OK
avrdude done. Thank you.
I had to set the "-F' switch because it would always just fail at the device signature. Is this normal, or did I do something wrong?
Thanks in advance for your help.