Page 1 of 1

Arduino M0 Pro doesn't program

Posted: Thu Jul 21, 2016 8:15 am
I purchased an M0 Pro ( and I am trying to program it from either Atmel Studio or the Arduino. I also have a couple of Arduino Zero boards ( The Zero boards program just fine. However, the M0 Pro does not. I was able to upgrade the EDBG firmware in Atmel Studio, and then I am able to read the Device Signature and Voltages - fuses as well. Other than some trim settings, the fuses seem identical on both board types. But, when I try to program the memory from the Device Programming menu, I get "Failed to write segment at 0x0 to target for memorytype base". When I try it from the debugger, I get "Failed to launch program - Error: Loading executable to device failed. Error Error downloading changes to device at 00000000-00000e00."

Does anyone know what could be causing this? I suspect something is defective on the board - but it looks like the basic programming paths are in place, but it doesn't seem to want to write to the memory.

Re: Arduino M0 Pro doesn't program

Posted: Fri Jul 22, 2016 6:21 am
The fuse settings were wrong on my board - the bootsize was set to 0x01 rather than the default of 0x07. So the boot-block was protected.