Go Down

Topic: How can i use WINAVR to program my ARDUINO UNO ? (Read 2089 times) previous topic - next topic


I am currently doing an embedded systems course in AVR programming. I have an Arduino Uno which i want to use as a substitute of the board they want us to buy..only problem is i dont know how to program it without using the ARDUINO IDE...Please help if you have any idea.


Jan 13, 2011, 02:23 pm Last Edit: Jan 13, 2011, 02:48 pm by pwillard Reason: 1
1) remove bootloader (which technically will happen as soon as you use the ICSP connector to program it.)
2) Write code, compile to hex
2) use AVRDUDE (command line) to upload hex file using ICSP connector attached to any one of a number of programmers (STK200 compatible, or The Adafruit USBtinyISP, etc)

FYI:  YOU WILL NEED AN AVR ICSP PROGRAMMING DEVICE.  The boot loader eliminates this requirement and that's what makes this option popular.

Arduino is a pretty generic AVR development board when the bootloader is removed.  Any questions you have would best be answered at AVRFREAKS forums.

Using a non-Arduino bootloader is beyond what I'm willing to talk about... again... go to AVRFREAKS... that's your best source of info.


Or... upload your code from the command line with just the USB connection using the bootloader and AVRDude. :)
This... is a hobby.

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131