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.
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: