I just finished making the MiniPOV from scratch..So, I do not have the preprogrammed ATTiny2313 chip. I am using a USB to Serial converter cable, on Windows XP. Where do I start to program the chip?
Sorry, I am sure that this is already stated somewhere, but I cannot find specific steps. This is my first micro-controller project.
Thanks,
John
Update: I used the following command, which ... finally worked... once.
C:\WinAVR-20100110\bin>avrdude -p attiny2313 -P com3 -c dasa -U flash:w:minipov.
hex
At the end of the Read cycle I received 3 Veriry errors :
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x005a
0xcf != 0x2d
avrdude: verification error; content mismatch
avrdude: safemode: lfuse changed! Was 64, and is now 0
Would you like this fuse to be changed back? [y/n] y
avrdude: and COULD NOT be changed
avrdude: safemode: hfuse changed! Was df, and is now 0
Would you like this fuse to be changed back? [y/n] y
avrdude: and COULD NOT be changed
avrdude: safemode: efuse changed! Was ff, and is now 0
Would you like this fuse to be changed back? [y/n] y
avrdude: and COULD NOT be changed
avrdude: safemode: Fuses not recovered, sorry
The first time I selected N for all three. This didn't work so, I tried again and used Y. That time it worked. Now when I am trying to program another ATTiny2313 chip with one of the other hex files supplied (mypov.hex, eyebeam.hex) choosing Y or N to these error messages do not work. After I disconnect the serial cable, nothing happens.
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 1.20s
avrdude: Device signature = 0x1e910a
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 "minipov.hex"
avrdude: input file minipov.hex auto detected as Intel Hex
avrdude: writing flash (336 bytes):
Writing | ################################################## | 100% 144.26s
avrdude: 336 bytes of flash written
avrdude: verifying flash memory against minipov.hex:
avrdude: load data flash data from input file minipov.hex:
avrdude: input file minipov.hex auto detected as Intel Hex
avrdude: input file minipov.hex contains 336 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 137.73s
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x005a
0xcf != 0x2d
avrdude: verification error; content mismatch
avrdude: safemode: lfuse changed! Was 64, and is now 0
Would you like this fuse to be changed back? [y/n] y
avrdude: and COULD NOT be changed
avrdude: safemode: hfuse changed! Was df, and is now 0
Would you like this fuse to be changed back? [y/n] y
avrdude: and COULD NOT be changed
avrdude: safemode: efuse changed! Was ff, and is now 0
Would you like this fuse to be changed back? [y/n] y
avrdude: and COULD NOT be changed
avrdude: safemode: Fuses not recovered, sorry
avrdude done. Thank you.


