Flash Page is Locked

I also have the same problem with 2 arduino due boards. I used SAM_BA to load the .bin file, but this is awkward. I solved it by doing the following:

  • Find the platform.txt file in the Hardware / Sam / 1.6.xx /
  • Find the second line from the bottom up: tools.bossac.upload.pattern = "{path.svg} {{cmd}" {upload.verbose} --port = {serial.port.file} -U {upload.native_usb} -e -w {upload.verify} -b "{build.path} / {build.project_name} .bin" -R
  • Add "-u" before "-b": tools.bossac.upload.pattern = "{path.svg / {cmd}" {upload.verbose} --port = {serial.port.file} -U {upload. native_usb} -e -w {upload.verify} -u -b "{build.path} / {build.project_name} .bin" -R
  • This means bossac will unlock all the bits. restar Arduino IDE
    So everything works as well as it used to.

platform.txt (5.43 KB)