parellel port ISP troubles

1 post / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I was quite happy to recieve my Olimex stuff quicky from Optimal (canadian distrubuter)

I picked up the AVR-P20-10Mhz development board, the AVR-PG2 programmer, and an AT90S1200 chip to muck with until i can order some tiny2313s from digikey.

So i typed up some assembly from one of the guides, compiled it in AVRStudio, and tryed AVRDude to program the chip. however it seems to fail every time.

I've left the jumper J1 open, I checked the voltage regulator, tryed the different parallel port modes (ECP, EPP, standard) and also tryed a different computer. No luck AVRdude still fails.

What is it that i'm doing wrong? I've been reading this forum and the spark fun boards but haven't found anything.

Below is the output from AVRDude, Thanks

-=-=-

C:\blink>avrdude -p 1200 -c stk200 -P lpt1 -U flash:w:"blink.hex":a

avrdude: AVR device initialized and ready to accept instructions

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

avrdude: Device signature = 0x1e9001

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.hex"
avrdude: input file blink.hex auto detected as Intel Hex
avrdude: writing flash (16 bytes):

Writing | ### | 6% 0.00s ***failed;
Writing | ######### | 18% 0.09s ***failed;
Writing | ################ | 31% 0.19s ***failed;
Writing | ###################### | 43% 0.28s ***failed;
Writing | ############################ | 56% 0.38s ***failed;
Writing | ################################## | 68% 0.47s ***failed;
Writing | ######################################### | 81% 0.56s ***failed;
Writing | ############################################### | 93% 0.66s ***failed;
Writing | ################################################## | 100% 0.75s

avrdude: 16 bytes of flash written
avrdude: verifying flash memory against blink.hex:
avrdude: load data flash data from input file blink.hex:
avrdude: input file blink.hex auto detected as Intel Hex
avrdude: input file blink.hex contains 16 bytes
avrdude: reading on-chip flash data:

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

avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0001
0xc0 != 0x00
avrdude: verification error; content mismatch

avrdude: safemode: Fuses OK

avrdude done. Thank you.