Pages: [1]   Go Down
Author Topic: Using arduino board like programmer in AVR Studio  (Read 625 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 30
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 180
Posts: 8084
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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").
« Last Edit: April 26, 2012, 07:27:25 am by johnwasser » Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Offline Offline
Newbie
*
Karma: 0
Posts: 30
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

So is there possible to using arduino board like USBasp?
Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 452
Posts: 18694
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Pages: [1]   Go Up
Jump to: