COM3 does not see the device connected (programming port)
COM4 returns 'SAM-BA operation failed.
It is possible that while reading a photodetector incoming light power increased above the 3.3V max, but I am not sure.
The SPI pins are also getting really hot when the board is on.