02-06-2019, 12:07 PM
The method would involve a partitioning of the flash space, which is a supported feature of our NXP MCU. In this configuration the program flash space would shrink. The rest of the space would look like flash storage. So the data storage area would not be overwritten by the code flash procedure. If done properly it should be completely safe, but to maintain usability for the maker community and Arduino compatibility, this is considered too risky to put in novice hands. It would be easy to overwrite things, for instance, like the "write protect" bit, so you could never do another firmware update. Based on forum threads we've read this is why PJRC hasn't supported releasing a method to do this. However, for an embedded solution like The NDLR, once implemented and tested, it would be fine.