Problem with ft232 and atmega2560

I'm trying to make a custom arduino mega which is a lot smaller in size as compared to original one. I have successfully been able to burn a bootloader on it by using an arduino uno. I wish to program my standalone atmega2560 with ft232 similar to the old arduino mega 1280 (it also used ft232rl). I have attached my schematics with this post. I can't upload my code using ft232, the programmer times out.

I faced similar problem once with atmega328p then I pulled up the RX and TX lines of ft232 chip but that seems useless with atmega 2560. Can someone plz guide me about what I'm doing wrong with my schematic?

Do a Loopback test on the ftdi232.

https://forum.arduino.cc/index.php?topic=73748.0

Did you use MegaCore to burn the bootloader? If you did, be sure to use it when uploading sketches.

Thanks for replying kprims.I did not use megacore, I dont even know what that is. I used an arduino uno in spi to burn bootloader. I did the loopback test and I do not recieve exactly what I send. Some garbage is present in serial monitor. Can you suggest further what could be the problem?
Edit:
Trying loopback test again I notice:

  1. Sometimes what I type is echoed back correctly
  2. Sometimes garbage is inserted
  3. Characters might be missed occasionally

I also tried with cp2102 breakout board but that also times out and is unable to program my standalone 2560. Any help will appreciated guys. By the way below are my fuse settings in board.txt file:

## Arduino Mega w/ ATmega2560
## -------------------------
mega.menu.cpu.atmega2560=ATmega2560 (Mega 2560)

mega.menu.cpu.atmega2560.upload.protocol=wiring
mega.menu.cpu.atmega2560.upload.maximum_size=253952
mega.menu.cpu.atmega2560.upload.speed=115200

mega.menu.cpu.atmega2560.bootloader.high_fuses=0xD9
mega.menu.cpu.atmega2560.bootloader.extended_fuses=0xFD
mega.menu.cpu.atmega2560.bootloader.file=stk500v2/stk500boot_v2_mega2560.hex

mega.menu.cpu.atmega2560.build.mcu=atmega2560
mega.menu.cpu.atmega2560.build.board=AVR_MEGA2560

Trying loopback test again I notice:

  1. Sometimes what I type is echoed back correctly
  2. Sometimes garbage is inserted
  3. Characters might be missed occasionally

Make sure you have the atmega2560 reset. GND to RST.

I hesitate to talk about hfuse D9, but I would try hfuse D8 and see how that works. From what I can tell, you basically have your board set up closely to a regular Mega2560 board and I think it should work with the standard Arduino IDE fuse setup. Assuming you will use your FTDI to upload sketches.

I would also recommend setting up MegaCore if you might want several options for running your standalone board.

I tried the hfuse set to D9 and D8 but the ftdi chip times out. The same chip able to program my atmega328p (standalone) with 100nF cap between DTR and RESET. I also tried changing my capacitor to 1uF and 4.7uF but the error is the same.

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.

Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

I also tried with megacore as you suggested. That also just burn bootloader then the ft232rl can't upload a sketch.

sohaibpannu:

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_recv(): programmer is not responding
avrdude: initialization failed, rc=-1
        Double check connections and try again, or use -F to override
        this check.

Are you selecting Upload Using Programmer? The above printout usually corresponds to a ISP programmer.
You should be hitting the Upload button.

Is the crystal 16MHz?

I was not uploading using programmer. I have solved it by setting my fuse bits as following:

LFuse = 0xF7
HFuse = 0xD9
EFuse = 0xFF
Lock byte = 0xFF

This solved my problem of uploading by a ft232.