I believe that it may be advantageous (in some cases like an application short on FLASH with significant free RAM ) for a version of the soft device to
- have a significant portion compressed in FLASH
- on reset uncompress to CODE RAM
- execute mostly in CODE RAM space
Some low address FLASH would still necessary.
For example:
Current S132 occupies 0000 0000 - 0025 140 (151,872bytes)
SD 132 compresses (using gz) to 1A8B6 (108,726) 106KiB
That would allow about 42KiB of FLASH for the decompressor and the remaining could be used by the application.
Would this also provide for significantly faster operation of the SD?
PS Although I searched for various posts related to this topic I didn't happen to see this one: putting code in RAM.