Pages: [1]   Go Down
Author Topic: How can I use the Arduino as an ISP to program ATtiny85 through AVRdude?  (Read 920 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 60
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I want to program the ATtiny85 with some V-USB code, but I don't want to spend $15+ for an AVR programmer. I know I can use an Arduino as an ISP to program other Arduinos, but I don't know how to use it as an ISP programmer with avrdude. For example I would want to do "avrdude -c arduino -B 1 -p t85 -U flash:w:main.hex" through the command prompt on Windows, but I have no idea how. Can anyone help?
Logged

California
Offline Offline
God Member
*****
Karma: 13
Posts: 629
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Click the Start button and Run or type in the Search box for Cmd or Command.  Then change directories till you can get to the directory below:

Code:
\arduino-1.0.1\hardware\tools\avr\bin\avrdude -c arduino -B 1 -p t85 -U flash:w:main.hex
Logged


South Texas
Offline Offline
Edison Member
*
Karma: 8
Posts: 1023
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Search on the web for Arduino as ISP and do some reading. You should be able to find answers to most of your problems.

It's not that difficult and has been done many times by other folks who used that approach.
Logged

Pages: [1]   Go Up
Jump to: