Go to previous topic
Go to next topic
Last Post 10 Aug 2004 01:42 PM by  mikee@logicpd.com
Running the Image From CF
 1 Replies
Author Messages
SAC
New Member
New Member
Posts:


--
06 Aug 2004 12:03 PM
    I have tried to execute the NK.BIN file from the fatfs mounted compact flash drive through LoLo, but with no success. The result is a LoLo reboot.

    Is it possible for the OS to run from the CF?

    I have successfully run images from the on-board flash, but with my need to increase the actual NK.BIN file size above 15 MB, this seems unlikely with my current hardware configuration. Each attempt to write an Image to Flash via Platform Builder that is of greater size than 15 MB fails with the following error message:

    [Connecting to Platform Builder]
    [Error, image doesn't fit in FLASH]

    Thanks in Advance.

    -Dave
    mikee@logicpd.com
    New Member
    New Member
    Posts:


    --
    10 Aug 2004 01:42 PM
    SAC,

    This should work fine. Although, you need to link your image to execute from RAM. When you tell LoLo to load the nk.bin off of the Compact Flash card, LoLo will look at the addresses of the file and unpack it into RAM for you.

    A reset is probably caused by one of the following reasons:

    1) You adjusted the start address of the image and it collides with LoLo's address space.

    2) Your image is larger than the available RAM on your hardware. When LoLo is unpacking it, it does some sort of bad access and resets.

    Write back if you have more questions.

    Best regards,

    --mikee


    ---