Detecting Due, Yun etc.

How can i flash a .hex file on Arduino Due board?
I have downloaded AVRdudes GUI but ATSAM3x is not there.? Is there any similar tool for flashing ATSAM processors?

Please help