I want to know how exactly do I program (upload arduino sketches) an ATMEGA2560 which is boot loaded with an Arduino Bootloader using a FTDI programmer and an Arduino IDE, is there any capacitors/resistors required?
migrated from electronics.stackexchange.com Oct 2 '15 at 20:13This question came from our site for electronics and electrical engineering professionals, students, and enthusiasts. |
|||||||||
|
If you have a bootloader, you just need to connect up four wires from the FTDI cable:
This will not auto-reset, so you will have to press (and release) the Reset button on the board at the moment that the sketch starts to upload.
What you should be able to do is connect RTS to Reset on the board, using a 0.1 µF capacitor (in series). I found in practice that this did not bring Reset low enough to trigger it - I'm not sure why, except maybe the board has a stronger pull-up resistor on /RESET than expected. That technique works for me on breadboard Arduinos. Since it didn't work for me, I did not put it in my original answer. You could try that, and if it works, well and good. |
|||||||||||||
|