EmbeddedRelated.com
Forums

Enough Space

Started by karthikbalaguru November 5, 2007
Hi,

Due to memory constraints, the application image is placed in 2
different flash memory . The image in the Flash Memory is already of
compressed format.  In RAM, there is no enough space to accomodate
both the parts together at the same time.  How to overcome this
scenario without increasing the RAM ?

Is increasing the RAM , the only way to overcome this situation ?

Thx in advans,
Karthik Balaguru

>Due to memory constraints, the application image is placed in 2 >different flash memory . The image in the Flash Memory is already of >compressed format. In RAM, there is no enough space to accomodate >both the parts together at the same time. How to overcome this >scenario without increasing the RAM ?
>Is increasing the RAM , the only way to overcome this situation ?
Use some kind of overlays, loading and decompressing the flash data to RAM on demand? This works if you're using RAM as a cache for an application image inflash, not if it contains runtime data not available elsewhere. It's often practical to do demand paging of code even without hardware support for memory management, because accesses are well-structured. -- mac the na�f
karthikbalaguru wrote:
> Hi, > > Due to memory constraints, the application image is placed in 2 > different flash memory . The image in the Flash Memory is already of > compressed format. In RAM, there is no enough space to accomodate > both the parts together at the same time. How to overcome this > scenario without increasing the RAM ? > > Is increasing the RAM , the only way to overcome this situation ?
1) Do your own homework 2) Make portions of your code ROM-executable. 3) Load your initialization code, run it, and then load the app over top of it. 4) Do your own homework