Yesterday when I opened Atmel Studio, it prompted me to update the board firmware in order to be able to access it to program its flash. However, something have gone wrong since I can't program the board anymore.
I believe it is bricked. I tried to program it with Atmel Studio, which says that no device has been found (error 4109).
I also tried with openocd, which outputs "Error connecting DP: cannot read IDR".
Is there any way to erase the flash when the board is in bricked state?
Many thanks in advance for your answers and your help.