Re: Urgent: Loading image into ROM



narang wrote:
Hello All
I am using WinCE 6.0 and an ARM board.
Currently my image is loaded into RAM but now I want my image to be
loaded to ROM so that I need not use Visual Studio to load the image
everytime.
This means that all my dlls get loaded as soon as I switch on the
board.

Please help in detail how to achieve it. Its very urgent.

It's not polite to ask urgent replies from people that are not paid to reply, so avoid to use the "urgent" tag in your subject line.
First of all you should check if you can execute code from your ROM. If you have a ROM or a NOR flash you may be able to do that, if you have a NAND flash, a disk on chip or other flash-based storage memory you can't execute code from it. You'll need to load code from storage, copy it in RAM and execute it. You may need to do that also if you have a ROM/NOR flash because usually access speed of RAM is faster than that of those kind of memories and running from them can impact your performance and also preventing you from using that memory as storage (unless you manage to run your flash-accessing code in RAM).
Usually writing and reading the OS image (or starting it) from flash is a task performed by the bootloader. The loader is heavvily dependent on your hardware and if you need more specific information you'll have to provide more details about your hardware platform.
For a good guide about newsgroups etiquette and best strategies check this link:
http://guruce.com/blogpost/howtoaskquestionsonnewsgroups

--
Valter Minute (eMVP)
www.fortechembeddedlabs.it - Training, support and development for Windows CE
www.geekswithblogs.net/WindowsEmbeddedCookbook - My embedded programming and cooking blog
(the reply address of this message is invalid)
.



Relevant Pages

  • Re: New ARM Cortex Microcontroller Product Family from STMicroelectronics
    ... the answer is YES - the ST part can execute code from RAM off the data bus. ... FLASH speeds). ...
    (comp.arch.embedded)
  • Re: Performance and Flash Pipelining on TI 28F12 DSPs
    ... > of "critical code" we could move to RAM. ... > from internal flash? ... Since the external RAM is as big as the internal flash, ... the timers and all other interrupts are shut off, ...
    (comp.dsp)
  • Re: [ANNOUNCE] Ramback: faster than a speeding bullet
    ... The fact is, enterprise scale ramdisks are here now, while ... enterprise scale flash is not. ... does not approach the write performance of RAM, ... My goal is not to replace RAM with flash, but disk with flash. ...
    (Linux-Kernel)
  • Re: Relocate from nor to ddr CE 5.0
    ... programmed into flash. ... but the image info says it belongs to ram. ... Your bootloader needs to have code that recognizes if the image is ... blt CODEINRAM ...
    (microsoft.public.windowsce.platbuilder)
  • 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)

Loading