Not able to communicate with P2 after assertion failure

My device is getting an assertion failure (red light blinking 10 times) after running my user firmware. I won't include the firmware here because it has thousands of lines of code. The device is part of a PCA that has hundreds of components.

My problem is, I've followed all the steps in Particle's docs to reset the device and nothing is working. My computer sees the device when connected via USB, but I can't get it into DFU mode. Even connecting to it with coolTerm and setting the baud to 14400 doesn't work. Is there anything I can try short of throwing it in the trash?

First try using Device Restore USB, which may not work if you can't put it in DFU mode, but it's worth a try. Using Device OS 5.9.0 may also help.

You could also try putting it into DFU mode using the CLI particle usb dfu.

If that doesn't work and you've exposed D6 and D7 or a SWD debugging connector your could restore the device using a SWD/JTAG programmer like the Particle debugger.