To fix failed bios, if truly another offline flashing doesn't work (that is the one you do by simply pressing flesh button with USB inserted, not through UEFI interface), you can just get this:
https://www.ebay.com/itm/402287556275 16 dollars, 1 minute operation and everything will work again. But first try the flash operation it's very easy to do:
1) Download and unzip the bios file onto USB drive. Format the USB drive as Fat32 just in case.
2) Insert into USB-slot on back-side of motherboard that is labelled as "BIOS". On Asus TRX40-E it's the first one from left top.
3) Press the "Bios" button right above.
This procedure doesn't require any boot operation. If it fails, buy the USB chip.