Go Down

Topic: Using arduino board like programmer in AVR Studio (Read 733 times) previous topic - next topic

Fajkowsky

Hello ,is there possible to replace atmega with arduino bootloader to "clean" atmega 328P(without arduino bootloader) on board and program it with avr studio in C? I checked this tutorial - http://www.jayconsystems.com/forum/viewtopic.php?f=15&t=18 but i must have arduino bootloader on atmega.

Thanks

johnwasser

#1
Apr 25, 2012, 05:36 pm Last Edit: Apr 26, 2012, 02:27 pm by johnwasser Reason: 1
If you don't have a bootloader on the chip you need an In-circuit Serial Programmer (ISP or ICSP) device.  You can emulate one with an Arduino and the ArduinoISP sketch (Files->Exampels->ArduinoISP) or buy one from China for under $10 on eBay (look for "USBasp").
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Fajkowsky

So is there possible to using arduino board like USBasp?

Nick Gammon

Yes, any of the SPI-based programmers will (should) do it, including a spare Arduino if you have one lying around.

Exactly as johnwasser said.
Please post technical questions on the forum, not by personal message. Thanks!

More info:
http://www.gammon.com.au/electronics

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!

Arduino
via Egeo 16
Torino, 10131
Italy