Error: .
avrdude: stk500v2_ReceiveMessage(): timeout
Equipment used:
ATMEGA2560 Breakout (includes onboard 16MHz oscillator, all the required 01.uF caps & a 10k resistor for reset it also has a reset button)
link:
FTDI Breakout: FT232RL chip on board to be used with 5V (it has these pins on board: DTR,RXI,TXO,5V,CTS,GND)
link:
http://www.amazon.in/Breakout-Serial-L-type-Arduino-interfacing/dp/B00V61Y6E8?tag=googinhydr18418-21
Connections made:
RXI (FTDI) -> TX0 (PIN 3 on ATMEGA2560)
TXO (FTDI) -> RX0 (PIN 2 on ATMEGA2560)
5V (FTDI) -> 5V (5V pin on breakout of ATMEGA2560)
GND (FTDI) -> GND (GND pin on breakout of ATMEGA2560)
DTR (FTDI) -> Not Connected
CTS (FTDI) -> Not Connected
Software:
The atmega2560 was flashed with stk500v2 bootloader from Nick Gammon's blog. Gammon Forum : Electronics : Microprocessors : Atmega bootloader programmer
So there's my setup. This is what I did, I installed the required FTDI drivers for my mac (running OSX 10.11.2) and I tried to upload the Blink Sketch from examples in Arduino IDE to this breakout. I tried three ways:
- As soon as the sketch compiled and started to upload I pressed the reset button on my breakout and let it go instantly.
- As soon as the sketch compiled and started to upload I held the reset button pressed for a few seconds.
- I pressed reset even before the sketch compiled.
All these 3 methods gave me the same error as mentioned. I din't try the Auto-reset technique yet ( by pulling the reset pin of ATMEGA2560 low). But this should have worked so far, why hasnt it?