Re: [riot-devel] RIOT on the Arduino M0 Pro

2017-01-26 Thread Tobias Guggemos
ff: Re: [riot-devel] RIOT on the Arduino M0 Pro On Thu, Dec 22, 2016 at 5:47 PM, Florian Eich <ei...@cip.ifi.lmu.de> wrote: > > Verification... > at address 0x0 expected 0x00, read 0xff > Error: verification failed Mh, then my best bet is that your CPU has the fises bits set to protec

Re: [riot-devel] RIOT on the Arduino M0 Pro

2016-12-22 Thread Antonio Galea
On Thu, Dec 22, 2016 at 5:47 PM, Florian Eich wrote: > > Verification... > at address 0x0 expected 0x00, read 0xff > Error: verification failed Mh, then my best bet is that your CPU has the fises bits set to protect the first pages - see for instance:

Re: [riot-devel] RIOT on the Arduino M0 Pro

2016-12-22 Thread Florian Eich
Did as suggested using IHex. Output: ``` $ edbg -b -t atmel_cm0p -e -p -v -f hello-world.bin Debugger: ATMEL EDBG CMSIS-DAP 01.1F.0118 (SJ) Target: SAM D21G18A Erasing... done. Programming. done. Verification... at address 0x0 expected

Re: [riot-devel] RIOT on the Arduino M0 Pro

2016-12-22 Thread Antonio Galea
On Thu, Dec 22, 2016 at 4:43 PM, Florian Eich wrote: > > thank you very much for your time. I tried with edbg, as suggested, and I am > getting > > ``` > $ edbg -bv -t atmel_cm0p -e -f > ~/workbench/RIOT/examples/hello-world/bin/arduino-zero/hello-world.elf > Debugger:

Re: [riot-devel] RIOT on the Arduino M0 Pro

2016-12-22 Thread Florian Eich
Hello Antonio, thank you very much for your time. I tried with edbg, as suggested, and I am getting ``` $ edbg -bv -t atmel_cm0p -e -f ~/workbench/RIOT/examples/hello-world/bin/arduino-zero/hello-world.elf Debugger: ATMEL EDBG CMSIS-DAP 01.1F.0118 (SJ) Target: SAM D21G18A

Re: [riot-devel] RIOT on the Arduino M0 Pro

2016-12-22 Thread Antonio Galea
On Thu, Dec 22, 2016 at 2:48 PM, Florian Eich wrote: > > Info : SAMD MCU: SAMD21G18A (256KB Flash, 32KB RAM) > Error: SAMD: NVM lock error > Error: Failed to erase row containing > Error: SAMD: failed to erase sector 0 > Error: failed erasing sectors 0 to 0 > > Has

[riot-devel] RIOT on the Arduino M0 Pro

2016-12-22 Thread Florian Eich
Hello RIOT dev community, I’m trying to get RIOT up and running on the Arduino M0 Pro, which is the arduino.org variant of the Zero (which is now handled by arduino.cc ). It is largely the same as the Zero in terms of hardware [1] but doesn’t work with