looking for external device for data read/write (not in file) - DUE

Hi.
I work with DUE.

Already throw away one because of message "Flash page is locked", nothing helped.
I really need some , may be external, device for simple data saving and reading by the controller(bytes, words...).
Any suggestions appreciated.
Thanks.

https://forum.arduino.cc/index.php?topic=430778.0

How did you try to unlock Flash ?

Thanks for the idea with 24LC256.
I tried to unlock flash with combination of erase and reset buttons.
The SAM-BA tool seems to me too complicated.
Thanks again.

Unfortunately when a Flash page is really locked, the only workaround is to unlock Flash...and you can't do it thru a sketch.

In fact Bossa is used to upload any arduino binary sketch (after compilation), and you just have to add the "-u" option for "unlock all Flash pages. You can also push the Erase button and the Reset button (it's better) before uploading a sketch with the "-u" option:

In the IDE window, go to File / Preferences, then click in the url at the bottom of preferences:

c:\Users....\AppData\Local\Arduino15\preferences.txt

Then go to: packages>arduino>hardware>sam>1.6.x>platform.txt

Copy and past platform.txt into a new blank IDE window (without setup() and loop()

At the end of the file, you will find:

-e -w -v -b change this by:
-e -w -v -u -b

For the meaning of -u (unlock all Flash pages), see:
http://www.shumatech.com/web/products/bossa

Then copy the entire new file in platform.txt, save and close all IDE windows.

Open a new IDE window with the minimal sketch (setup() and loop()), all Flash pages should be unlocked now.