2

Has anyone tried to program an ATmega2560 with an FTDI chip as is done in the Arduino Nano (this is for a custom design).

Will it work?

3
  • 1
    That will work. The only think to look out for is how to reset the board. Either manually reset it before uploading, or connect the DTR pin of the FTDI, via a capacitor, to the reset pin. Commented Mar 12, 2015 at 16:46
  • 1
    It actually worked! Commented Apr 7, 2015 at 20:34
  • Reworded question to remove confusing references to the Arduino Mega, which is not what this question is about (see OP's comment below). Commented Jan 16, 2017 at 20:41

2 Answers 2

2

In fact, the basic Arduino Mega (with the ATmega 1280) utilizes an FT232RL, so yes, it will work if you connect it correctly.

It is only the newer Mega2560 (along with the similar-generation Uno, etc) which utilizes an ATmega16u2 or similar as the USB bridge.

Generally speaking, the bootloader doesn't care - you should be able to use either target chip with either USB bridge (or others).

0

The Arduino Mega already has a built-in USB-UART bridge, so there's no need for a separate chip.

The ATmega1280 on the other hand is just a bare AVR MCU and does require either a separate USB-UART bridge for serial programming (provided it is programmed with an appropriate bootloader) or an ISP programmer for ISP programming.

7
  • Sorry, I expressed my self wrong. My goal is to program the Atmega2560 (with the bootloader already burned in) with the FTDI chip instead the AVR USB bridge from the Arduino Mega original design. Do you think that might work assuming the connections are correct? Or in other words, is the Arduino IDE expecting some sort of response from the programmer that the AVR bridge will provide and the FTDI will not? Commented Mar 12, 2015 at 15:01
  • The FTDI chip is a USB-UART bridge, so I would expect not. But to be perfectly honest, I'd use a ISP programmer and save myself the cost of the bridge and the time of burning the bootloader. Commented Mar 12, 2015 at 15:29
  • 1
    If you think there is a difference there you are quite mistaken. The bridge is merely a proxy. The response comes form the bootloader on the target MCU. As I'd mentioned previously the IDE (avrdude actually) relies on the operating system Serial API. It doesn't care what USB bus operations or VID/PID are involved. It merely cares that whatever operating system Serial device you point it at in the menu has a bootloader that responds at the baud rate configured for the board entry. Take a look in boards.txt at the FTDI- vs. ATmega16u2 interfaced boards. Commented May 11, 2015 at 19:48
  • 1
    I don't understand why you've gone off on this tangent. Of course the bridge doesn't care about the protocol; it's just a bridge. Commented May 11, 2015 at 20:00
  • 1
    No tangent. Just the illogical nature of your "I would expect not" comment. I read that as you expecting this not to work. Did you mean that you expected there to be no difference, ie, are you responding to the second question and not the first? Commented May 11, 2015 at 20:05

Your Answer

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.