I built an arduino from scratch using a guide I found on the ITP Physical Computing website (can't post a link as the forum will not allow it)
I also bought a USB to Serial TTL Cable from coolcomponents.co.uk
I completed the build and checked all the connections which showed as fine, I checked the power supply board as being ok and then I fitted the pre-programmed ATmega 328 with arduino bootloader. Powered it on and it the LED starts flashing immediately, on and off steady as I would hope to see with the blink program.
So I tried to upload a new sketch and I get the following error message:
Binary sketch size: 914 bytes (of a 30720 byte maximum)
avrdude: stk500_getsync(): not in sync: resp=0x00 avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51a
The serial device installs as com 6 and I have set it to 19200 in the preferences file. I'm trying to upload the blink no delay sketch as a test.
So I'm thinking maybe i'm doing something wrong as even using different timings for pressing the reset switch isn't working so using spares I built the parallel programmer (not ideal but I have no other programmer to hand right now)
I then replaced the pre-programmed ATmega 328 with a blank one (which I originally planned to program using the first when it was working) However when I try to program it I get:
avrdude: AVR device not responding avrdude: initialization failed, rc=-1 avrdude: Yikes! Invalid device signature. avrdude: Expected signature for ATMEGA328P is 1E 95 0F avrdude: AVR device not responding ***failed; avrdude: verification error, first mismatch at byte 0x0000 0x3f != 0x00 avrdude: verification error; content mismatch
Looking these up on Google I have tried a few things like changes in the Windows XP registry for the parallel port, making sure no programs are polling serial/parallel port and some other stuff
I have tried changing the bootloader that is being uploaded to 168/328/deumilanove/lillypad etc but no luck.