Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 28 Mar 2006 11:19 PM by  ramjee_veturu
application is running very slow
 12 Replies
Sort:
You are not authorized to post a reply.
Author Messages
ramjee_veturu
New Member
New Member
Posts:


--
19 Mar 2006 09:49 PM
    hai,
    My application program is running very nicely when it is executed in RAM with bolo and lolo present. But the same application if it is run without lolo it is getting very slow, and the same problem iam facing with when my application is loaded into flash without lolo. what could be the problem? DoI have to add any memory initialization code(Startup code)? please help me in this regard.
    with regards
    mikea@logicpd.com
    New Member
    New Member
    Posts:


    --
    21 Mar 2006 06:38 AM
    Question1: Have you updated to latest LogicLoader on the download site? LogicLoader 2.0.x does not use a 'bolo' and simply starts in block 0.

    Quesiton2: Why do you not just boot from LogicLoader?

    Issue is likely that 'bolo' is not setting up cache, .etc.
    ramjee_veturu
    New Member
    New Member
    Posts:


    --
    21 Mar 2006 09:50 PM
    Dear Michael Aanenson,
    thank you for your reply.
    The LOLO version iam using is 1.4.1. Why iam using this version is that if i overwrite on lolo after that automatically my application is going to run after poweron reset.
    ramjee_veturu
    New Member
    New Member
    Posts:


    --
    22 Mar 2006 02:14 AM
    Dear Michael Aanenson,,
    If i want to enable the caches what should i do? DO i have to add any code in my application? If so can you provide me some sample code?
    thanks &regards
    mikea@logicpd.com
    New Member
    New Member
    Posts:


    --
    22 Mar 2006 06:10 AM
    If you use a script and put it into the EEPROM on the board, you can automatically launch your application. Please read the LogicLoader manual for information about auto launching your applications, this is was LogicLoader is meant to do. It is clearly documented in the the manuals. This way you don't have to worry about trying to enable cache, when it is already done for you if you use LogicLoader.

    Commands to look at:

    - echo
    - jump
    - exec
    ramjee_veturu
    New Member
    New Member
    Posts:


    --
    23 Mar 2006 03:38 AM
    Accoring to your suggestion i tried the scripts and i am able to run my application. But here the application is running slowly compared to running in RAM. so, what i have to do? Please help me in this regard.
    thanks and regards
    mikea@logicpd.com
    New Member
    New Member
    Posts:


    --
    23 Mar 2006 06:23 AM
    You are going to need to provide more specifics on what you are doing. Also, at this point, I would recommend purchasing a support contract, we are not going to be able to help you out with this much further, as all these things are clearly documented.

    I'm not sure where you are running your application from, I'll assume you burned it into Flash and are running it right from there. It is going to run slower when in Flash, this is a known fact.

    If you want to store your application in Flash, make sure it copies itself to RAM and then jumps to the RAM starting point. This you would do inside of your application.

    If you don't want to do this in your application, you can use the 'mem-copy' command in LogicLoader. You can then copy your application from Flash into RAM and then use the 'jump' command. This can all be put into a script.

    Regards,
    -Mike
    ramjee_veturu
    New Member
    New Member
    Posts:


    --
    24 Mar 2006 02:35 AM
    I burned my application in Flash and running it from there.
    As you told I tried to use the 'mem-copy' command in LogicLoader. But I couldn't found the command either in BOLO or LOLO. please help me in this regard.
    Thanks and regards
    mikea@logicpd.com
    New Member
    New Member
    Posts:


    --
    24 Mar 2006 06:48 AM
    1) Look at the LogicLoader Command Description Manual http://www.logicpd.com/downloads/610/

    2) If you are not able to use this command, you must have a very old version of LogicLoader. Thus, back to my original post, I would suggest updating to the newest version of LogicLoader, which can be found
    http://www.logicpd.com/auth/downloads/LH7A400/#lolo
    ramjee_veturu
    New Member
    New Member
    Posts:


    --
    25 Mar 2006 04:02 AM
    Dear Michael Aanenson,
    My application which is of infinite loop. As you told to update the lolo to the latest version, if i do this and wrote a script into the eeprom after every reset my application is going to run. So how to come back to lolo and change my application which may require some modifications.
    Thanks and regards
    mikea@logicpd.com
    New Member
    New Member
    Posts:


    --
    25 Mar 2006 08:08 PM
    I would suggest taking a look at the LogicLoader manual, Section 5.4.3 "Exiting a Boot Script". It gives a full discreption on this subject.

    http://www.logicpd.com/do...9/70000016_Rev_K.pdf

    Thanks,
    -Mike
    ramjee_veturu
    New Member
    New Member
    Posts:


    --
    28 Mar 2006 04:06 AM
    Thank you Michael Aanenson,
    In this version of the LOLO my LCD colors got faded. what could be the reason?
    thanks & regards
    ramjee_veturu
    New Member
    New Member
    Posts:


    --
    28 Mar 2006 11:19 PM
    Iupdated the lolo to newer version (2.0.5) and copied the application from flash to Ram using mem-copy command and tryed to execute the application. here also i have the same problem(application is running slow). In addtion to this i have another problem, i.e. the colors of lcd got faded. the LCD that iam using is sharp LCD lq3.5". Please help me in this regard.
    thanks,
    You are not authorized to post a reply.