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.

DRA829V: DDR initialization in SBL

Part Number: DRA829V
Other Parts Discussed in Thread: DRA829,

Hi team,

 

My customer has a question about DDR initialization in SBL. 

File name: pdk_jacinto_08_05_00_36\packages\ti\board\src\j721e_evm\board_ddr.c

static void Board_DDRChangeFreqAck(void)

while(regVal == 0x0)
{
regVal = HW_RD_REG32(BOARD_DDR_FSP_CLKCHNG_REQ_ADDR) & 0x80;
BOARD_DEBUG_LOG("Reg Value: %d \n", regVal);
}


In the above function, they can't get out of the while statement.
What could be the potential for this issue?

【Background】
They have revised our printed circuit board (PCB).
On the revised PCB, components such as GPMC are operating, however, LPDDR4 is not functioning due to the aforementioned issue.
In the previous version of the PCB, LPDDR4 was operating normally.
On the revised PCB, there has been almost no change in the circuit design and layout design around LPDDR4.
On the other hand, customer understand that "the above-mentioned while loop is only related to DDRSS0, CTRL_MMR0, and PLL12 within DRA829,  and the LPDDR4 circuit design does not particularly influence this program flow".
As a result, they are at investigation of this problem.

They hope we could give some insights to them if possible.

Thank you in advance.

Best regards,

Kenley


  • Hi Kenley-san,

    Is the DDR used by the customer same as the EVM or is it a different one?
    Also, are there any changes with respect to DDR part between the two versions of PCB?

    Regards,
    Parth

  • Hi Parth,

    The DDR used is the same one.There is no change to DDR part between the two version of PCB.

    The same software too.

    They are using non-secure DRA829V for both.

    Best regards,

    Kenley

  • Hi Kenley,

    In the above function, they can't get out of the while statement.
    What could be the potential for this issue?

    It means DDR training did not complete or did not complete correctly. 

    How many boards of the new PCB revision have they tested? Of these, how many show this issue?

    When you say that the software is the same, is the customer using the exact same binary images on both revisions of the board? 

    Does the customer have a list of PCB changes they made between revisions?

    Regards,
    Kevin

  • Hi Kevin, 

    They have tested 2 boards only.

    Let me share the details of the difference between old and new board to you through email due to internal information.

    Best regards,

    Kenley

  • Hi Kenley,

    They have tested 2 boards only.

    Thanks, is it correct that both boards fail? Are they planning to test more boards?

    Can you also confirm that the exact same binary images are shared between board revisions? 

    Can they confirm the value of CTRLMMR_WKUP_MAIN_PLL12_CLKSEL (physical address 0x4300 80B0)?

    Additionally, can they run the attached binary (after the failure) from the R5 core (load through CCS / JTAG) and provide the output?

    Can they also please provide the filled-in register configuration tool (xls) used to generate the configuration file being used in their source code? You can send via email if needed.

    5773.tda4x_lp4_debug.zip

    Regards,
    Kevin

  • As an additional experiment, can they try using a DDR frequency at 1/2 their current configuration to see if that has any impact? 

    Regards,
    Kevin

  • Hi Kevin,

    Thank you for your support.

    Thanks, is it correct that both boards fail? Are they planning to test more boards?

    Regarding the above question, there are 2 boards which i mentioned "old" and "revised". The "old" one was no issue at all and the "revised" one is the one has the issue. The "revised" one only 1 board. 

    Let me confirm to customer regarding your request.

    Thank you.

    Best regards,

    Kenley

  • Hi Kevin san, Kenley san,

    We finally were able to find out the cause of DDR problem and fix its mistake.

    Those right action items were helpful for us.

    We really appreciate your support.

    Thank you very much!

    Best regards,

    Hajime.k