Go Down

Topic: A 328 to program another 328 (Read 1 time) previous topic - next topic

leo72

Forgotting for a while Arduino, can I use a stand-alone Atmega328 to program another stand-alone Atmega328?

Strange question, isn't it?  :D
If I have 1 Atmega328 on a board with an ICSP conn, if I connect to it another board, can I program the first Atmega using only a uC?
Maybe using RX/TX or I2C, I don't know....

westfw

Sure.  Load ArduinoISP into the "programmer" 328, and it will program the "target" 328 just fine.
There's no reason that a "stand alone 328" can't run Arduino Sketches.

deej

Guys, I was wondering something similar. Id like to burn Arduino sketches directly from an arduino-as-AVRISP to an unbootloaded 328 using the ISP connectors. Do I need to change the preferences.txt file to read:

upload.using = atmega328

or is this handled by the arduinoISP program installed on the programmer?

prawnstar

in preferences.txt,

upload.using = arduinoisp

will do the trick

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