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 04 Feb 2011 01:22 AM by  oliver.nottrodt
Accessing code part of init_clocks() of BSL
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages
oliver.nottrodt
New Member
New Member
Posts:


--
03 Feb 2011 06:25 AM
    Hi,
    I am wondering when the code part of the BSL package within this if clause of evmam35xx.c ist excecuted or what conditions have to be fulfilled.

    // Don't run if we're running in DDR
    if (
    ((uint32_t) init_clocks < DDR_MEM_BASE)
    ||
    ((uint32_t) init_clocks >= DDR_MEM_END)
    )
    {
    ...this part of code for clock initialisation
    }

    Thanks,
    Oli
    richard.laborde@logicpd.com
    Basic Member
    Basic Member
    Posts:247


    --
    03 Feb 2011 01:22 PM
    Oli,

    Here is the response from the BSL guys:

    The point was to check if we were running in DDR or not. I believe the assumption was that if we were in DDR, then we were launched by U-Boot and we would not need to set up the clocks (and the code path hung the system). If we were in SRAM, then we needed to set up the clocks (loaded through JTAG).

    Thanks
    oliver.nottrodt
    New Member
    New Member
    Posts:


    --
    04 Feb 2011 01:22 AM
    Thanks Richardl,

    I supposed it to be like that. I was just wondering how the clocks are initialized if the app is in DDR.

    Oli
    You are not authorized to post a reply.