Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Articles

ARDUINO PROJECT: BOOTLOADER

14 ARDUINO PROJECT: BOOTLOADER

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

kll February 21 2013 28 reads Print
Sign In
Not a member yet? Click here to register.
Forgot Password?
Users Online Now
Guests Online 1
Members Online 0

Total Members: 1
Newest Member: kll