Using serial on micromod SAMD51 bricks the device

I have latest libraries and board packages. I plug it in and blink program updates fine and I can chance LED timing and everything is fine. The first time I try to use the serial package, it fails to upload and seem to brick the bootloader. No amount of mucking rebooting, etc seems to fix it. Tried with second SAMD51 using the “BarometricSensor” example in the MicroMod SAM51 examples section. Exact same thing happens.

Attached the error log from uploading.

error-samd51.txt (16.1 KB)

Try updating the Arduino IDE to the latest version (2.0+) https://downloads.arduino.cc/arduino-id … _64bit.dmg , then re-install the board packages and see if that gets it going

This post had a different, but similar, issue (it looks like the bossac call to clear the flash memory was the problem) https://forums.adafruit.com/viewtopic.p … 8&start=15 - perhaps give this a try if updating the IDE/starting over doesn’t fix it

Best of luck!