Is it possible to use the factory backup region of flash memory to expand the User application and OTA backup regions of flash memory?
I reached my maximum application size months ago, and have been struggling to make room for more features in my application ever since. I have had to disable the vast majority of my debug messaging in order to save program space, which makes debugging extremely difficult.
Since there is 128 kB of flash memory dedicated to the factory backup region, it would seem to me that it might be possibly to re-purpose this memory region to store a bigger user application. If I understand things correctly, that would allow my application to be 64 kB bigger (since this extra space would have to be split between OTA backup region and user application region in order to be able to OTA update the device).
Downsides: I have never (to my knowledge) used the factory backup region of flash memory for anything, so it doesn’t seem like I would be giving anything up here.
Upsides I could continue to add features to my application for the foreseeable future.