Please see https://duet3d.dozuki.com/Wiki/What_to_do_if_your_Duet_won't_respond.