Re: copy from flash to ram

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Pierre,

With Intel StrataFlash you can do either. You can have your image
boot in XIP in flash or Copy the image into RAM and execute there. It
all depends on the bootup speed, execution speed, DRAM space, Flash
space you are looking for.
Image being XIP in flash: It will be faster to start booting by
slower to execute and will take its image size out of flash.
Image being in DRAM: It will take long to start booting (time to copy
image into RAM), but faster to execute, but it will take its image
size out of DRAM .

If you are having problems with flash execution, post your config.bib
file here and what processor you are using.
Also, check if you have XIP (IMGFLASH) enabled in the PB settings for
the build ( Platform->settings->Build Options & enable "Write Runtime
Image to Flash Memory")

Elias



On May 16, 12:40 pm, piet.puttem...@xxxxxxxxx wrote:
Hey

i have problem to startup the runtime image from flash and in ram
works everything fine. So is possible to copy the runtime image first
to ram before executing. I'm using Intel StrataFlash memory. and P.B
5.0. And if this is possible, whats the easiest way to do this?

thanks
Pierre
.


.



Relevant Pages

  • Re: What File System supports Application XIP
    ... > You won't gain at runtime by using XIP though. ... I thought that when you XIPed from flash, ... directly back to the flash memory address. ... There shouldn't be a RAM ...
    (Linux-Kernel)
  • XIP vs RAM
    ... Maybe the system can even get away with the next small size RAM ... Does anyone know if/what the premimum of the "K" Strata FLASH is? ... Also what are the steps needed to transition to a XIP OS? ... >>> My bootloader create a BINFS partition and an EXTENDED partition on ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Persistent registry (Hive)
    ... if running from RAM it is possible to setup \Flash folder ... Overwise (running from flash) you have two solutions: ... (ie. no way to execute code from flash) ... > Now I am really a newbie on the Windows CE platform (used to work on much ...
    (microsoft.public.windowsce.platbuilder)
  • Re: [RFC] Advanced XIP File System
    ... > expensive slow flash instead of cheap fast RAM?" ... If I store libfoo.so as an XIP ... But the JFFS2 version would need ...
    (Linux-Kernel)
  • Re: [RFC] Advanced XIP File System
    ... borrow the compression from Squashfs. ... expensive slow flash instead of cheap fast RAM?" ... If I store libfoo.so as an XIP ... 2MiB of RAM to store that library when used while the XIP system uses ...
    (Linux-Kernel)