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.

AM6442: load DMSC and DDR init scripts with TMDS64DPEVM

Part Number: AM6442

Hi, I am running MCU_SDK example code with AM64x_EVM board, all of examples runs good and right now I am trying to create something running on DDR.

If I understood correctly, if the board's bootmode is noboot and load code with XDS510 debugger, I need to call GEL script "AM64_DDR_Initialization_ECC_Disabled()" to initialize DDR, and before that I need to run script to of "load_dmsc.js", because all of example runs fine without these two steps, but when I run my example which has some data in DDR, the code load failed because it detect value in DDR memory is not match with expected value because DDR is not initiliazated yet.

But I have some trouble with running scripts right now.

1, after I run script of "load_dmsc.js", it run to last step of "Running the board configuration initializtion from R5" but no message of "happy debugging!!" like what guide suggested, and then a "time out" error message come up.

2, if I call script of "AM64 DDR Initialization ECC disabled()", it runs to step of "ctl_int_status = 0x00000008..." and then hang there, if I click "cancel" button of GEL expression window, then a error message of "cannot be evaluated" come up, it looks like DDR initialization is not completed.

CCS version is 11.2.0.0007

MCU_SDK version 08_02_00_31

TMDS64DPEVM version is PROC101A(001)

Need suggestion, my goal is building R5 firmware which can use DDR, large size of data need to be stored in DDR.

  • Hi Hai Zhu,

    A much simpler way to achieve this is to flash the SBL null image.
    The image will load DMSC firmware and initialize DDR during boot time with no user intervention needed.
    You can have a look at section Flash SOC Binary Initialization located under Getting started -> EVM Setup -> AM64x EVM of the MCU+SDK manual (dev.ti.com/.../node)

    Let me know if this works for you.

    Regards