mega2560 problem

To my knowledge, you can't run 16MHz at 3.3V.

Check chapter 31.2 of the datasheet.