I am trying to program a Mega2560 using Serial2. I have a serial to USB and am able to program the board using the rx0/tx0 pins with the help of the ftdi…
However when I try to program using the Serial2 the program does not get uploaded.
So, my question is how do I program the board using the RX/TX of Serial2? What changes do I have to make to the bootloader before uploading it or otherwise to enable the Serial2 pins to allow programming.