I've also had success recovering the ECU by disconnecting the battery leads and touching them together for a while to discharge the electrical system for a few minutes. When you reconnect you should be able to re-flash the ECU.
I've only had that work on a checksum error. If the flash was incomplete, it was bootmode or bust.