PDA

View Full Version : Chiip flashing help


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.

Geo242
03-12-2007, 10:35 PM
Here is close up of my programmer. Can anyone see if I did something wrong?

Xboxmodder999
03-12-2007, 11:08 PM
As far as I can tell, the programmer looks good. The only thing that I can see is that in the scematic, it says to connect the capacitor to wire 25 before it connects to the Chiip connector. You having it connecting to the point at the same time.

I'm not sure if that matters, but I think it is worth trying.

Geo242
03-12-2007, 11:23 PM
I just changed what you suggested, and there is no change in the results. Thanks for the help though.

Geo242
03-13-2007, 12:32 AM
So, I am a retard and bought the wrong resistors. I accidentally bought 220k ohm resistors and not 220 ohm resistors. Doh! I did have some 270 ohm ones, and so I used those and it works perfectly now.

:D :D :D :D :D

Xboxmodder999
03-13-2007, 01:41 AM
Haha, I'm glad you figured it out :)