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.

DDR Test in 66AK2E's MCSDK

Hi,

Would like to know the whether there is DDR test program available in latest MCSDK either in Uboot or Linux?

If so, interested in exploring the ways and methods used in performing the DDR test?

Also, give pointer/references to the source code in latest MCSDK.

Thanks in Advance.

Best Regards,

Madhu

  • HI,
    Are you working on custom board or EVM? The MCSDK post example has some memory testing code.




    Thank you.

  • Hi Madhu,

    You can use "mtest" command to test DDR at u-boot.
    Also you can use generic DDR memory test app to test at Linux.

    Refer to the follwing links.

    people.redhat.com/.../memtest.shtml
    e2e.ti.com/.../163494

    Regards,
    Shankari.
  • Hi Madhusudhan,

    Yes, DDR test program is available in the latest MCSDK in u-boot.

    I would suggest you to boot the u-boot on 66AK2E EVM and check using the "help" command or "?" . You will find the following commands subjected to ddr tests.

    The following are the tests you can perform related to DDR

    Usage:
    ddr test <start_addr in hex> <end_addr in hex> - test DDR from start address to end address
    ddr compare <start_addr in hex> <end_addr in hex> <size in hex> - compare DDR data of (size) bytes from start address to end address
    ddr ecc_err <addr in hex> <bit_err in hex> - generate bit errors in DDR data at <addr>, the command will read a 32-bit data from <addr>, and write (data ^ bit_err) back to <addr>

    Madhu says said:
    Also, give pointer/references to the source code in latest MCSDK.

    In MCSDK, you will find it at "cmd_ddr3.c" located at arch/arm/cpu/armv7/keystone/

    Regards,

    Shankari.

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------