by i-Bot » Tue Nov 15, 2011 12:27 am
by i-Bot
Tue Nov 15, 2011 12:27 am
There seem to be a few options for programming the Pro Mini. They all seem to work, but some are easier than others to use. The Pro Mini has a 6 pin connector for programming. These pins are Gnd, Vcc, TxO, RxI, CTS and DTR. CTS is not really used and connected to GND.
The minimum programming connection is to connect to to Gnd, TxO, and RxI. The AVR Dude programming software used by both Arduino and ARP uploader need these three pins. The Vcc pin can optionally be powered from the 5V USB power.
The DTR pin provides a reset function to the board. If DTR is not connected, then you need to press the Reset button on the Pro Mini aat the right time in the programming cycle. DTR can be driven by DTR or by RTS if DTR is not available.
I use an FTDI cable which provides RTS and is pinned to plug in directly if you mount a 6 way header on the board.
http://www.sparkfun.com/products/9718
You did not say if your were happy with a small amount of soldering ? I see two versions of the Mini USB, one with DTR and one without. It looks like the Mini USB will plug in but not with DTR. If the Mini USB has DTR, then you can either make a special cable to include DTR, or work without it.
For the software if you install AVR Studio 5 (free from Atmel), then I can post a complete project for the IO board for you to look at. AVR Studio is based on Visual Studio and probably easiest, though Eclipse is also possible for AVR development if you are more comfortable in that environment.
There seem to be a few options for programming the Pro Mini. They all seem to work, but some are easier than others to use. The Pro Mini has a 6 pin connector for programming. These pins are Gnd, Vcc, TxO, RxI, CTS and DTR. CTS is not really used and connected to GND.
The minimum programming connection is to connect to to Gnd, TxO, and RxI. The AVR Dude programming software used by both Arduino and ARP uploader need these three pins. The Vcc pin can optionally be powered from the 5V USB power.
The DTR pin provides a reset function to the board. If DTR is not connected, then you need to press the Reset button on the Pro Mini aat the right time in the programming cycle. DTR can be driven by DTR or by RTS if DTR is not available.
I use an FTDI cable which provides RTS and is pinned to plug in directly if you mount a 6 way header on the board.
http://www.sparkfun.com/products/9718
You did not say if your were happy with a small amount of soldering ? I see two versions of the Mini USB, one with DTR and one without. It looks like the Mini USB will plug in but not with DTR. If the Mini USB has DTR, then you can either make a special cable to include DTR, or work without it.
For the software if you install AVR Studio 5 (free from Atmel), then I can post a complete project for the IO board for you to look at. AVR Studio is based on Visual Studio and probably easiest, though Eclipse is also possible for AVR development if you are more comfortable in that environment.