1

I have a bricked Arduino Uno and I want to try to flash the bootloader. I'm trying to figure out how to do it. On this tutorial from SparkFun you can see this diagram:

Spark Fun layout

They also show this table of the pinout

SparkFun Pinout

That seems simple enough but it's totally different than the official tutorial, "Circuit (targeting Arduino Uno, Duemilanove, or Diecimila)"

Schematic between two Arduinos

Which also says

An Arduino board serving as an ISP to program the ATmega on another Arduino board. On the Arduino Uno, you'll need to connect a 10 uF capacitor between reset and ground (after uploading the ArduinoISP sketch). Note that you need access to the reset pin on the target board, which isn't available on NG or older boards.

So do I need a 10 uF capacitor between reset and ground? How do I put a 10 uF capacitor in between reset and ground when, in this configuration, reset is connected to PIN 10? Why are there two configurations? What's the upsides and downsides to either of them?

Evan Carroll
  • 455
  • 1
  • 6
  • 16

2 Answers2

1

The wiring is actually identical. It just uses the ISP header (2x3 pins) on the target board, instead of the pins 5v, GND, RST, 11, 12, 13. Just like the table you added says.

The downside to using the ISP header, is you need a male to female wire for connecting. Upside is you can easily take of these 6 pins, and connect it to a different arduino to be programmed.

I always needed to add a capacitor between RESET and GND. The exact value isn't that critical.

The reset pin is the one to the left of 3v3.

Gerben
  • 11,332
  • 3
  • 22
  • 34
1

Take a look at my circuit for a minimal "Arduino":

Minimal circuit

The top image in the question uses the ICSP header, which you can see from the schematic "mirrors" pins on the processor. That is:

  • SCK is D13
  • MISO is D12
  • MOSI is D11
  • Reset on the target goes to D10 on the programming board
  • Vcc and Gnd are connected

Trace out the wires to the ICSP header and you will see.


So do I need a 10 uF capacitor between reset and ground?

No you do not.


I have a bricked Arduino Uno and I want to try to flash the bootloader.

See my page about programming a bootloader.


Why are there two configurations?

Just different ways of connecting the same thing to the same thing.


What's the upsides and downsides to either of them?

No difference.

Nick Gammon
  • 38,901
  • 13
  • 69
  • 125