Load Apps from SD CARD, Execute in RAM

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Load Apps from SD CARD, Execute in RAM

663 Views
weblar
Contributor V

Hi,

I'm looking for someone to either shoot me down or to indicate whether this is plausible.

Could it be possible to write apps to run on a Cortex-M4 micro? Storing the ELF files on an SD card, reading them into RAM as and when necessary then executing at the entry point. Could these ELF files link to a common library which the main application on the Cortex-M4 uses (almost like a common API for the platform) as well as any ELF files on the SD card?

It all seems pretty feasible but I'm probably missing something huge.

Kev

Labels (1)
Tags (3)
0 Kudos
1 Reply

369 Views
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello weblar:

Since you posted in this space I guess you are referring to a Kinetis MCU with Cortex-M4 core.

I guess your idea is achievable but I am not aware of such implementation. The closest project I know about is uCLinux in K70 platform by third party emcraft. The details are in their page:

Linux BSP for Freescale TWR-K70F120M

Sorry if my response is not concise, that is not a typical use case of Kinetis MCUs.

Regards!

Jorge Gonzalez

0 Kudos