Well I got some spare time tonight to try this out..
(re: 3.3v chip running @ internal 8MHz clock)..
and I pretty much got the same results I had read about.. although many maintain this 'should' work..
so maybe Im missing something? or overlooking something?..etc..
1.) brand new, ATmega 328P (DIP) chip form digikey (never been touched, no bootloader, factory should be 3.3v @ 8MHz internal clock) (this is a test in a DIP to walk through the process..in the end this will be done on a SMD TQFP ATmega 328P chip)
2.) no crystal/no 22pF caps
3.) Arduino board pin >>> Target board pin
D10 >>>> RESET
D11 >>>> D11
D12 >>>> D12
D13 >>>> D13
GND >>>> GND
+3.3v >>>> VIN on breadboard...
(I have also tried to use the +5v output on the Arduino Duemilnove board to power the target board.. still no luck on burning a bootloader:
I get this message: avrdude: stk500_getsync(): not in sync: resp=0x15
I read about shorting the REST on the MAIN Arduino board.. by using a 100Ohm resistor between RESET & GND.. did that.. still didnt work..
got this message:
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
as 'anyone' really burned a +3.3v @ 8MHz (internal clock) bootloader to a blank/new chip.. using the Arduino IDE before? and NOT have to install crystal/caps (even temporarily) to get it to work??
to recap the project.. her are some notes:
1.) the pcb's will be all assembled (SMD TQFP main chip).. before any bootloading and sketch uploading 'happen' (why Im trying to walk though the process now and work out any kinks)
2.) the Arduino circuit is supposed to be 'minimum'.. I have several couplign caps on each VCC/AVCC/AREF lines.. (but Im too crowded.. I need to loose as many caps as I can)
Caps to keep:
- caps on VIN/GND...
- the 1 cap on the micro SD socket VCC/GND lines
- DTR cap
- RESET resistor
other coupling caps and the cap for the speaker line.. are under scrutiny currently.. as I need space to place some more solder pads..
what of the remaining caps is safest to get rid of and in what order?
3.) has micro SD card on-board... really only other component than minimal Arduino circuit.. idea is to run chip @ +3.3v/8MHz (INTERNAL CLOCK) .. so I dont need any lever shifting or voltage divider to use SD card.. (minimal components)
Here is a quick schematic of my circuit:
ANY ideas on what is causing problems for me NOT to be able to burn a bootloader to my new chips?
Im not even sure what else I can trouble shoot?
thanks!
update:
I read it wrong..
this:
I read about shorting the RESET on the MAIN Arduino board.. by using a 100Ohm resistor between RESET & GND.. did that.. still didnt work..
is supposed to be this:
I read about shorting the RESET on the MAIN Arduino board.. by using a 100-120Ohm resistor between RESET & +5v.. .. NOT GND!!!!!!!
follow the outlined steps above..and use the resistor in the CORRECT placement and you wont any trouble like I did!
thanks!
