Feb
21
2013
Posted by kll · In Arduino Projects · 10424 Reads ·
using a original ATMEGA328 CPU
from Mouser Electronics i got ATMEGA328P-PU CPU, like its in ARDUINO
and i hope with them to build my own mini arduino.
Because they are original, first step must be to burn the arduino bootloader.
following this manual
ARDUINO ISP
the programmer must be my ARDUINO 2009,
actually because i heard of problems with UNO regarding bootloader..
i did buy that ARDUINO MTL board with 2009 bootloader
at the same time when i ordered the ARDUINO UNO
lucky
the target could be a ARDUINO UNO board with the new / empty CPU or
a breadboard

connect ARDUINO 2009 to USB,
start ARDUINO 22
select FILE / EXAMPLES / ARDUINO ISP
UPLOAD ( DONE UPLOADING 5180 bytes )
now doing the wiring cross D11/12/13, D10 to reset, GND, 5V

start ARDUINO 22
TOOLS / BOARD / test with UNO and DUEMILANOVE
TOOLS / BURN BOOTLOADER / w /Arduino as ISP
but get only:
Error while burning bootloader
avrdude: stk500_getsync() not in sync: resp=0x15
do the wiring to a breadboard
but with same result

now i start ARDUINO 21 version ( no change of wiring... )
upload / burn bootloader / works!!
how i know?
change the cpu from 2009 board with the new burned from breadboard
download BLINK sketch, OK
with the next 2 cpu's i did some tests again for verification,
i could not use ARDUINO 22
i could use select board UNO and download bootloader but could not download sketch after inserted into UNO board or 2009 board, needed overwrite again
but i could download bootloader 2009 when cpu in UNO board!!
and after change it into 2009 board upload sketch ok.
so using breadboard or uno board as target ( cpu holder ) ok
using 2009 as programmer ok with sketch and bootloader from ARDUINO 21 version
you could change CPU from breadboard to 2009 arduinoboard for download sketch and back to run under mini hardware environment
or
use the 2009 board
without CPU as a FTDI
so can continuously work on sketch and circuit
but the tutorial drawing is wrong, it only works with the wire from reset to pin1 cpu
Forum