Go Down

Topic: Programing Atmega without uno in PCB (Read 1 time) previous topic - next topic


What do I have to do to program the uno when it's in a PCB. I would like to get the parts as few as possible and the steps as few as possible. I plan to use the SM atmega. I understand that I have to put the ICSP header on, but is that all I have to do or is that all I have to do to load the bootloader.

My understanding is that I would need to program the bootloader first, through the ICSP. Then connect to the serial "port" of the Arduino through a usb to serial or something like that to download my sketch.

Is there a way I can just compile a file that has the bootloader and my sketch in it? or just program my sketch without the bootloader?

That also makes me wonder what does the arduino compiler create for an output file, and where is it?

If this has been discussed could someone point me in the right direction, I am not sure what key words to use, program generates too many hits to sort through.

Thanks, -Tim



Connect Ground from uno to Ground on stand alone (pin 7 or 22)
connect uno Rx to pin 2
connect uno Tx to pin 3

upload while holding reset on uno
(remember tio tap reset on standalone when sketch size is shown in IDE)
It should upload to standalone

http://www.uk-pcb.co.uk - UK Based PCB Fab & Assembly Company
Design & Assembly work undertaken - Arduino repairs & testing - PM for details. Arduino & C# PC programming.


Hi Drew,

I tried using your instructions, but couldn't make it work. I also tried other variations / permutations:
- connecting the Vcc
- connecting Gnd to Reset on the Uno,
but, but all no luck.

Have you tested on Uno yet? On the tutorials page http://arduino.cc/en/Tutorial/ArduinoToBreadboard there was a note that: "Note that these techniques only work with the Arduino Duemilanove w/ an ATmega328, not the Arduino Uno (or older Arduino boards w/ an ATmega168)." . So it appears that the different boards have quite a different make up.



The links you gave have helped well...

Go Up