To program the chip using the 6 pin header you'll need an Atmel AVRISP mkII programmer. This connects between your computers USB port and the 6 pin header. You will also need AVR Studio, a feww download from the Atmel website.The initial programming of the chip must be done at the slowest speed! You'll see what this means after you download the software and try it out.You can put a "sketch" onto the CPU with this programmer, but then there will be no bootloader and you'll have to do it this way each time.
lso, remember that the Atmel programmer can not power your device! You need to power it using its power jack or another USB cable. Make sure the device on your breadboard is powered. Also, you didn;t mention any caps on your crystal. Check out the Uno schematic and make sure your support circuitry is correct on your breadboard.In fact, forget the breadboard and start with a known working Arduino.
forget about AVRDUDE for now. That can only work once you successfully have a boot loader installed.
can I use a quicker speed
Quotecan I use a quicker speed You should be able to use a quicker speed as soon as you have reprogrammed the fuses to use your 20MHz crystal instead of the default internal 1MHz clock...
Binary sketch size: 1168 bytes (of a 126976 byte maximum)/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avrdude -C/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega1284p -cstk500v2 -P/dev/cu.usbserial-A900aeDN -b115200 -D -Uflash:w:/var/folders/TV/TVIbXQREG6GdFXOVaACCOE+++TI/-Tmp-/build8524607269580543963.tmp/Blink.cpp.hex:i avrdude: Version 5.4-arduino, compiled on Oct 9 2007 at 11:20:31 Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ System wide configuration file is "/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf" User configuration file is "/Users/darren/.avrduderc" User configuration file does not exist or is not a regular file, skippingavrdude: AVR Part "atmega1284p" not found.Valid parts are: m6450 = ATMEGA6450 [/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:11538] m3250 = ATMEGA3250 [/Applications/A.......................
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16