Arduino Due - Flash page is locked

Hi,
two out of three Arduino Due boards fail to upload sketches with "Flash page is locked" error. I tried the following:

  • Erase & Reset buttons - no success;
  • Uploading sketch while pressing the Erase button finished successfully but new sketch wasn't run as expected.
  • Upload new bootloader - no change
  • Clean Flash using SAM-BA 2.16 tool. I was able to upload sketch using the native port but the new sketch wasn't run as expected.

I have a KEIL ULINK Pro device but i wasn't able to work with it to clear the lock bit.

Please advise.

Thanks in advance!
D

Hi,

Are you using any external power supply to power the Arduino Due ?
Are you using any libraries to save the data in flash memory ?

Regards,
P