[riot-devel] RIOT on the Arduino M0 Pro

Antonio Galea antonio.galea at gmail.com
Thu Dec 22 15:05:47 CET 2016


On Thu, Dec 22, 2016 at 2:48 PM, Florian Eich <eichf at cip.ifi.lmu.de> wrote:
>
> Info : SAMD MCU: SAMD21G18A (256KB Flash, 32KB RAM)
> Error: SAMD: NVM lock error
> Error: Failed to erase row containing 00000000
> Error: SAMD: failed to erase sector 0
> Error: failed erasing sectors 0 to 0
>
> Has anyone gotten this to work and/or is interested in helping me with this?

Looks like your NVM has the security lock enabled:

   http://www.atmel.com/Images/Atmel-42114-SAM-Non-Volatile-Memory-Driver-NVM_Application%20Note_AT03247.pdf

You might want to try a full erase first, that should solve. You can
do it with edbg:

    https://github.com/ataradov/edbg

HTH,

Antonio


More information about the devel mailing list