You cant put a ramps on a xmega, Ramps is designed for 5v, xmega is 3.3volt
This is why ramps-fd was developed, for the 3.3v Due.
This is why ramps-fd was developed, for the 3.3v Due.