Are applications launched from RAM, or can they be run from flash?

Are applications launched from RAM, or can they be run from flash?

Any application (could be apps running on top of a multi-sandbox firmware or standalone firmware) can run either in flash or RAM. The choice is implemented in the drivers and linker files during the platform and firmware development:

  • for multi-sandbox firmware: in our demo firmware (e.g. the one you find on the MicroEJ Studio page http://developer.microej.com/getting-started.html), the firmware is linked in flash, the apps binary are stored in a FAT file system (typically SD card) - not executable- and they run from RAM (typically from external SDRAM when available). It’s an implementation choice: of course apps can also be stored when downloaded in flash and run from flash.

  • for mono sandbox firmware (app and platform are linked into a single binary), the firmware are often linked and executed from flash. Implementation is decided during the platform development.

For more details on mono/multi sandbox firmware, see http://developer.microej.com/glossary.html.

kind regards,
Stephane @MicroEJ