IDE - 1.0.2
Chip - Atmega328P-PU
I have home made PCB's
i have one ATmega320P-PU chip with Uno bootloader that i got off eBay. and it works fine with the IDE and every thing works as it should
im using a CP2102 UART chip as the USB to Serial interface.
i have connected 2 board as per the instruction on the Arduino sites breadboard bootloader loading examples.
1. i connected my working Uno clone bootloader chip and loaded the ISP sketch from IDE it self, did't download
2. connected the 2nd chip (328p-pu) (compleeted board that works when you plugging a working bootloader chip)
3. use the avrdude to load avrdude -c arduino -p atmega328p -P com4 -U flash:w:ATmegaBOOT_168_atmega328
.hex
it works but has errors
E:\>avrdude -c arduino -p atmega328p -P com4 -U flash:w:ATmegaBOOT_168_atmega328
.hex
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude: Device signature = 0x1e950f
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 "ATmegaBOOT_168_atmega328.hex"
avrdude: input file ATmegaBOOT_168_atmega328.hex auto detected as Intel Hex
avrdude: writing flash (32670 bytes):
Writing | ################################################## | 100% 1.00s
avrdude: 32670 bytes of flash written
avrdude: verifying flash memory against ATmegaBOOT_168_atmega328.hex:
avrdude: load data flash data from input file ATmegaBOOT_168_atmega328.hex:
avrdude: input file ATmegaBOOT_168_atmega328.hex auto detected as Intel Hex
avrdude: input file ATmegaBOOT_168_atmega328.hex contains 32670 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 4.44s
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
0xff != 0x0c
avrdude: verification error; content mismatch
avrdude: safemode: Fuses OK
avrdude done. Thank you.
when i connected the newly programed chip
i get the following error when trying to upload
Binary sketch size: 1,084 bytes (of a 32,256 byte maximum)
avrdude: stk500_getsync(): not in sync: resp=0x00
if i use "avrdude -c avrisp" i get the same error when programing.
OS - Windows Vista