This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3352: DDR3 software leveling source code

Part Number: AM3352

Team, where can I find the source & project files for the .out file found on this wiki? Do we make this code available? processors.wiki.ti.com/.../AM335x_DDR_PHY_register_configuration_for_DDR3_using_Software_Leveling

  • The source for this can be found in two places depending on what OS version of the Processor SDK that you are using.

    For Processor SDK Linux, this will be part of SPL/Uboot code and for bare-metal of RTOS code, you can look for this code under bootloader package in Processor SDK RTOS which is located at: PDK_INSTALL_PATH\packages\ti\starterware\bootloader\src\am335x\sbl_am335x_platform_ddr.c

    The build for the bootloader is now makefile based only so there is no project, you can build the source using :
    processors.wiki.ti.com/.../AM437x

    Please review the code and let us know if you need any further information.

    Regards,
    Rahul

    PS: the GEL script provided on the wiki can also be brought into your C file as that code is simply doing register read/writes using C like code.

  • Just to clarify on this issue. The code that I pointed to shows how to apply the software leveling parameters during DDR initialization and not for computing the software leveling parameters. We do not provide the source for DDR3_slave_ratio_search_auto.zip you need to use the GEL script tand the prebuilt binary to compute those values.

    Regards,
    Rahul