Hope you realize the ramps 1.4 is not a drop on and go module for a due. There are 5v vs 3,3v issues and pin conflicts..
see [forums.reprap.org]
Also ramps-fd has its own issues (see [forums.reprap.org])
see [forums.reprap.org]
Also ramps-fd has its own issues (see [forums.reprap.org])