Arduino IDE Upload Sketch - SAM-BA Operation Fails

Win 7 Pro

The Seeeduino XIAO shows up in the Device Manager and in the Boards dialog in Arduino IDE.

Does Anyone have any idea how to fix this error?

Did the serial port of XIAO disappear after uploading? Is it easy to post the code?

Thanks for the reply.

No, the serial port doesn’t disappear from the Arduino IDE.

The error message makes it look like the sketch uploads successfully, but doesn’t execute.

I just tried it again and it loads the sketch and completes through CPU Reset --but the program still doesn’t run.