Pages: 1 [2]   Go Down
Author Topic: Standalone Arduino 328P, Uno board as programmer  (Read 5975 times)
0 Members and 1 Guest are viewing this topic.
Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 513
Posts: 26247
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

"13 to 13, 12 to 12, 11 to 11, 10 to RESET, GND to GND, +5 to +5."

Master pins are listed first, yes?
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

SF Bay Area (USA)
Online Online
Tesla Member
***
Karma: 124
Posts: 6633
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
"13 to 13, 12 to 12, 11 to 11, 10 to RESET, GND to GND, +5 to +5."
Master pins are listed first, yes?
Yes.  Note that the "reset" connection (from pin 10 of the "programmer" Arduino to RESET on the "target" arduino") is the only one that has different signals on each end...
Logged

Offline Offline
Edison Member
*
Karma: 8
Posts: 1341
If you're not living on the Edge, you're taking up too much space!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It should say that in the Readme on Github.
Which Sketch do I use for Fusebytes?
Logged

If you fall... I'll be there for you!
-Floor

Skype Brighteyes3333
(262) 696-9619

SF Bay Area (USA)
Online Online
Tesla Member
***
Karma: 124
Posts: 6633
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
It should say that in the Readme on Github.
It says it in the source code.  Note that the original intent was that you'd go from the programmer system to a 6pin programmer cable that would then plug into the ISP connector, so the current documentation (in the source code) is worded with that in mind.

Quote
Which Sketch do I use for Fusebytes?
https://github.com/WestfW/fusebytes
Logged

Offline Offline
Edison Member
*
Karma: 8
Posts: 1341
If you're not living on the Edge, you're taking up too much space!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It says that it SHOWS the values.  Can we change them?
Logged

If you fall... I'll be there for you!
-Floor

Skype Brighteyes3333
(262) 696-9619

Offline Offline
Edison Member
*
Karma: 8
Posts: 1341
If you're not living on the Edge, you're taking up too much space!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

@Crossroads - It'll work with my new chips?  The hex in the Optiloader sketch is compatible?
Logged

If you fall... I'll be there for you!
-Floor

Skype Brighteyes3333
(262) 696-9619

SF Bay Area (USA)
Online Online
Tesla Member
***
Karma: 124
Posts: 6633
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Fusebyte shows the fuse values (and some other info.)  You can't change them with a sketch; you need a programmer and programmer software (eg ArduinoISP and AVRDude.)
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 513
Posts: 26247
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Sbright,
Yes, a 328 at 16 MHz is a 328 at 16 MHz.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

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

Hi I have an Arduino UNO with a fried atmega328 and I replaced it with a 168 I had laying around which already had a bootloader in it. I used the board settings at http://arduino.cc/forum/index.php?topic=28218.0 to enable programming it via the IDE. Now I wanted to program some new 328's on a breadboard of their own. I tried ArduinoISP and WestfW's optiLoader, but with no success.  smiley-confuse

Any ideas? One possible issue would be that the 168s not running optiboot (got it from sparkfun a year or two ago), but it can be programmed by the aforementioned board settings, so I'm not sure how else to tell.

 
Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 197
Posts: 12737
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


After uploading the ArduinoISP sketch, what did you do to disable auto-reset?
Logged

Pages: 1 [2]   Go Up
Jump to: