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

Go through this document and see how far you can get. Unless there is some significant damage to the board components it's unlikely you've bricked it. Most likely the firmware can be cleared with the erase jumper and reflashed with Bossa over USB.