0
\$\begingroup\$

As seen from the above question, I need to know how to use an Arduino Nano to burn the bootloader onto an Atmega chip. The Arduino website only shows how to do it from an Arduino Uno chip configuration.

Does anyone know what I can do?

Anindo Ghosh
50.8k8 gold badges108 silver badges205 bronze badges
asked Jul 9, 2013 at 15:04
\$\endgroup\$
4
  • \$\begingroup\$ Could you add the link to the Arduino bootloader tutorial? \$\endgroup\$ Commented Jul 9, 2013 at 15:08
  • 1
    \$\begingroup\$ And this is why I hate Arduino - slight differences in configuration leave users dumbfounded without step by step instructions. \$\endgroup\$ Commented Jul 9, 2013 at 17:33
  • \$\begingroup\$ @KurtE.Clothier - That's because the great majority of the Arduino docs say "do this", not "this is why you do it this way". You wind up with lots of procedural stuff with no explanation as to the why, which is the part that's essential to translating from one piece of hardware to another. \$\endgroup\$ Commented Jul 9, 2013 at 21:31
  • 3
    \$\begingroup\$ The only reason to use an Arduino to program another Arduino is "it's 10:30pm Saturday night and my programmer broke." You need a real ISP programmer. Buy a 30ドル Atmel programmer, or a 20ドル pololu/sparkfun/adafruit programmer, or at least a 10ドル eBay programmer. \$\endgroup\$ Commented Jul 9, 2013 at 21:52

2 Answers 2

2
\$\begingroup\$

Here is one of the versions of the tutorial: http://arduino.cc/en/Tutorial/ArduinoToBreadboard

This assumes the ArduinoISP sketch works on a nano. It should if its the nano also has an ATMega328 processor.

Connect the same pins by function as specified for the UNO. D10 to pin 1, D11 to pin 17, D12 to pin 18, and D13 to pin 19. These are the PDIP 28 package pin numbers. You will have to do something to the nano to deactivate reset when programming the bootloader. This is because it's wired to reset whenever anything connects to the serial port, which is great for loading in sketches, but you don't want it to reset when you go to program the bootloader. I believe the tutorial calls for putting a 10uf capacitor on the reset line of the uno. I have also seen versions calling for a resistor 110 ohms on reset to 5V. Disable reset after loading in the ArduinoISP sketch.

answered Jul 9, 2013 at 21:38
\$\endgroup\$
-1
\$\begingroup\$

You can try the below link..

http://www.martyncurrey.com/?p=633

This schematic works better.

enter image description here

Chetan Bhargava
4,6325 gold badges29 silver badges40 bronze badges
answered Oct 13, 2014 at 7:48
\$\endgroup\$
1
  • \$\begingroup\$ Welcome to EE.SE. Link only answers are discouraged, you should edit some of the relevant points into your answer. \$\endgroup\$ Commented Oct 13, 2014 at 7:57

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.