I have searched as much as possible about this and have come to the convolution there is something wrong with my pcb design. To me it looks like a striped down version of the sparkfun pro mini 5v 16mHz dev board. I double checked all my traces and components and found everything looks good as far as i can tell.
I am using a olimex stx500v2 clone. and tested by flashing a virgin chip on a uno board successfully. I try to do the same with my 328p on my custom board and cannot connect.
unknown status 0x80
unknown status 0xc9
initialization failed
invalid device id 0x000000
So i thought i had a bad chip. reflowed a new one on and same thing. Thought it was a bad resonator (16mHz btw), reflowed that as well, and still got nothing.
pulled a sparkfun pro mini out, took off the processor and the resonator and reflowed my parts on and voila i was able to upload the boot loader.
I have continuity everywhere i am supposed to. double checked my reset is pulled high. have a constant 5.0v where there is suppose to be power. All grounds check good. I can't see where i screwed up. So i am hopeing someone here will be able to see it.
Here is the avrdude output
c:\Program Files (x86)\Arduino\hardware\arduino\bootloaders\optiboot>avrdude -c stk500 -P com18 -b57600 -p m328p -U lfuse:w:0xFF:m -U hfuse:w:0xDE:m -U efuse:w:0x05:m -v
avrdude: Version 5.10, compiled on Jan 19 2010 at 10:45:23
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "C:\WinAVR-20100110\bin\avrdude.conf"
Using Port : com18
Using Programmer : stk500
Overriding Baud Rate : 57600
AVR Part : ATMEGA328P
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PC2
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 5 4 0 no 1024 4 0 3600 3600 0xff 0xff
flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff
lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : STK500V2
Description : Atmel STK500
Programmer Model: STK500
Hardware Version: 2
Firmware Version Master : 2.10
Topcard : Unknown
Vtarget : 5.0 V
SCK period : 27.2 us
Varef : 5.0 V
Oscillator : 60.433 kHz
avrdude: stk500v2_command(): unknown status 0x80
avrdude: stk500v2_command(): unknown status 0xc9
avrdude: stk500v2_program_enable(): cannot get connection status
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude done. Thank you.
Board Rendering
Dropbox - Error - Simplify your life
schematic
Dropbox - Error - Simplify your life

