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
  • We are running out of space in our K60. We don’t want to change the whole processor.

    But is changing the whole board schematics, and losing a truckload of I/O pins that you'll now need for the memory interface instead, really any less painful than moving up to a micro with sufficient internal memory? Or did you just have all that extra memory already connected to the CPU, waiting for something you might do with it?

Reply
  • We are running out of space in our K60. We don’t want to change the whole processor.

    But is changing the whole board schematics, and losing a truckload of I/O pins that you'll now need for the memory interface instead, really any less painful than moving up to a micro with sufficient internal memory? Or did you just have all that extra memory already connected to the CPU, waiting for something you might do with it?

Children
More questions in this forum