This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Run the code from an external flash memory or RAM.

Hi,
Is it possible to run the code from an external flash memory or RAM?
We are running out of space in our K60. We don’t want to change the whole processor. So I was wondering if there is a possibility to execute code from external memory.
I would like to compile the whole code –libraries, RTX RTOS, application and then generate some file (let’s call it the main application) which I would copy to SD card or program external flash with it. Then my boot loader application which resides in the internal flash memory would read the generated file (with the main application), copy that file to the RAM and execute it. Or if the main application would reside in the external flash, the main application would be executed from the external flash.

Thanks in advance.
John Ostrowski

Parents
  • Or did you just have all that extra memory already connected to the CPU, waiting for something you might do with it?

    Yes, we have a lot of RAM - about 2MB and an external flash and SD card.
    If we add one more address line, than we can have extra 2MB of RAM. So there still will be 2MB for the heap and the extra 2MB for the code.

Reply
  • Or did you just have all that extra memory already connected to the CPU, waiting for something you might do with it?

    Yes, we have a lot of RAM - about 2MB and an external flash and SD card.
    If we add one more address line, than we can have extra 2MB of RAM. So there still will be 2MB for the heap and the extra 2MB for the code.

Children
No data