Go Down

Topic: Using arduino board like programmer in AVR Studio (Read 709 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.
http://www.gammon.com.au/electronics

Go Up
 

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.
Name:
Email:

shortcuts: alt+s submit/post or alt+p preview