8
\$\begingroup\$

I have purchased an ATMega328 from SparkFun with the Arduino bootloader pre-programmed. My intention is to replace the ATMega168 I currently have in my Duemilanove. Is this as simple as swapping the chips, or will I need to take any additional steps? As I recall, I am currently at Arduino 13 but am planning to upgrade to 17 (current version) concurrent with the part swap.

\$\endgroup\$
1
  • 2
    \$\begingroup\$ The upgrade went without a hitch! I realized I had Arduino 12 installed, however, so I had to change things up a bit: -Upgraded Arduino software to version 17 (most recent). -Set up software to work with the current chip (the 168). Verified that communications were working.* -Upgraded the Arduino hardware to an ATMega328p with the Arduino bootloader previously flashed (from Sparkfun). -Verified the software and hardware still played together nicely. *The communication worked, but my software ran out of RAM. I only wanted to verify communication, so I wasn't concerned by this. \$\endgroup\$
    – Lou
    Nov 6, 2009 at 14:55

3 Answers 3

8
\$\begingroup\$

Yes, you may simply switch the chips. Version 13 implemented support for the 328, so an IDE upgrade is not essential.

\$\endgroup\$
7
\$\begingroup\$

Make sure you change the "Tools/Board" setting in the Arduino IDE to "Arduino Duemilanove or Nano w/ Atmega328"

\$\endgroup\$
5
\$\begingroup\$

Yes, you can just swap it in. I've also upgraded a Diecimila without any problems. If you have an AVR programmer (such as the one from Adafruit) you can also upgrade it with a fresh unprogrammed chip.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.