Arduino Due freeze when a SD card is inserted

My first step would be, remove all devices except the SD card. Use one of the examples from the SD card library.

Test the SD card with the DUE and see it the issue still exists.

This will tell you where to look next.