Go to previous topic
Go to next topic
Last Post 26 May 2006 04:35 AM by  maslo
Loading an image into RAM
 3 Replies
Author Messages
maslo
New Member
New Member
Posts:


--
25 May 2006 09:36 AM
    I want to load an ELF image file into RAM. When the file size is under approx. 280 kB, everythings ok, but when I loaded an image of size 350 kB and tried to execute the program using "jump" command, the program didn´t do anything. The thing which made me confused is the message I got from the LOLO:
    loaded 198016 @ 0x200c0000 Ram
    ignoring rest of file...done
    md5sum of _loaded_ portion of the file: ...
    This is shown to me everytimes I am attempting to load a file into ram, but it never made problems until the size of loaded file exceeded some edge level. I don't understand, why does it load only a part of the file
    Anonymous
    Posts:


    --
    25 May 2006 12:37 PM
    Can you post the complete output from LogicLoader?
    maslo
    New Member
    New Member
    Posts:


    --
    26 May 2006 04:26 AM
    Here you are:

    *****************************************************************
    LogicLoader

    (c) Copyright 2002-2005, Logic Product Development, Inc.
    All Rights Reserved.
    Version 2.0.4-LLH79524_10 0001
    *****************************************************************

    losh> load elf
    loading from stdin:
    .............................................
    loaded 275628 @ 0x200c0000 Ram
    ignoring rest of file...done
    md5sum of _loaded_ portion of the file:
    cf01ec375d724a7ab47cdd9e9ba971c4 - addr: 200c0000 len: 000434ac
    file loaded
    losh> jump
    jumping to: 0x200c0000...
    losh>
    maslo
    New Member
    New Member
    Posts:


    --
    26 May 2006 04:35 AM
    P.S.: The file I am trying to load is here:
    http://fest.stud.feec.vut...va06/example.elf.zip


    ---