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.

AM3358: DDR EDMA test fails

Part Number: AM3358

Hello All,

I have a custom board designed for the AM3358 processor with DDR3L ram. After following the wiki link for the levelling part, and running the EDMA test in CCS V7, it is observed that the test fails at address locations  ending with 0. Can anyboady please help me in understanding as to what is going wrong. The test output file is attached.

EDMA test Output.txt

  • Is this a single board, or do you see the same issue on multiple boards?
  • CortxA8: Output: ****  AM3358_SK Initialization is in progress .......... 
    CortxA8: Output: ****  AM335x ALL PLL Config for OPP == OPP100 is in progress ......... 
    CortxA8: Output: Input Clock Read from SYSBOOT[15:14]:  25MHz
    CortxA8: Output: ****  AM335x PLL Config failed!!  Check SYSBOOT[15:14] for proper input freq config 
    CortxA8: Output: ****  AM335x DDR3 EMIF and PHY configuration is in progress... 
    CortxA8: Output: EMIF PRCM is in progress ....... 
    CortxA8: Output: EMIF PRCM Done 
    CortxA8: Output: DDR PHY Configuration in progress 
    CortxA8: Output: Waiting for VTP Ready ....... 
    CortxA8: Output: VTP is Ready! 
    CortxA8: Output: DDR PHY CMD0 Register configuration is in progress ....... 
    CortxA8: Output: DDR PHY CMD1 Register configuration is in progress ....... 
    CortxA8: Output: DDR PHY CMD2 Register configuration is in progress ....... 
    CortxA8: Output: DDR PHY DATA0 Register configuration is in progress ....... 
    CortxA8: Output: DDR PHY DATA1 Register configuration is in progress ....... 
    CortxA8: Output: Setting IO control registers....... 
    CortxA8: Output: EMIF Timing register configuration is in progress ....... 
    CortxA8: Output: EMIF Timing register configuration is done ....... 
    CortxA8: Output: PHY is READY!!
    CortxA8: Output: DDR PHY Configuration done 
    CortxA8: Output: ****  AM3358_SK Initialization is Done ****************** 
    
    
    CortxA8: GEL Output: 
    
    This EDMA test consists of 8 tests.
    CortxA8: GEL Output: Write is completed Starting @0x80000000
    CortxA8: GEL Output: Write is completed Starting @0x40300000
    CortxA8: GEL Output: 
    Test 1
    CortxA8: GEL Output: Write is completed Starting @0x80000000
    CortxA8: GEL Output: EDMA Transfer Start for QUEPRI 0x00000000
    CortxA8: GEL Output: EDMA Transfer Complete for QUEPRI 0x00000000
    CortxA8: GEL Output: Test Case Passed for Destination Addr=0x40300000
    CortxA8: GEL Output: 
    CortxA8: GEL Output: Write is completed Starting @0x40300800
    CortxA8: GEL Output: EDMA Transfer Start for QUEPRI 0x00000000
    CortxA8: GEL Output: EDMA Transfer Complete for QUEPRI 0x00000000
    CortxA8: GEL Output: Test Case Passed for Destination Addr=0x80000800
    CortxA8: GEL Output: 
    CortxA8: GEL Output: 
    Test 2
    CortxA8: GEL Output: Write is completed Starting @0x80000000
    CortxA8: GEL Output: EDMA Transfer Start for QUEPRI 0x00000001
    CortxA8: GEL Output: EDMA Transfer Complete for QUEPRI 0x00000001
    CortxA8: GEL Output: Test Case Passed for Destination Addr=0x40300000
    CortxA8: GEL Output: 
    CortxA8: GEL Output: Write is completed Starting @0x40300800
    CortxA8: GEL Output: EDMA Transfer Start for QUEPRI 0x00000001
    CortxA8: GEL Output: EDMA Transfer Complete for QUEPRI 0x00000001
    CortxA8: GEL Output: Test Case Passed for Destination Addr=0x80000800
    CortxA8: GEL Output: 
    CortxA8: GEL Output: 
    Test 3
    CortxA8: GEL Output: Write is completed Starting @0x80000000
    CortxA8: GEL Output: EDMA Transfer Start for QUEPRI 0x00000002
    CortxA8: GEL Output: EDMA Transfer Complete for QUEPRI 0x00000002
    CortxA8: GEL Output: Test Case Passed for Destination Addr=0x40300000
    CortxA8: GEL Output: 
    CortxA8: GEL Output: Write is completed Starting @0x40300800
    CortxA8: GEL Output: EDMA Transfer Start for QUEPRI 0x00000002
    CortxA8: GEL Output: EDMA Transfer Complete for QUEPRI 0x00000002
    CortxA8: GEL Output: Test Case Passed for Destination Addr=0x80000800
    CortxA8: GEL Output: 
    CortxA8: GEL Output: 
    Test 4
    CortxA8: GEL Output: Write is completed Starting @0x80000000
    CortxA8: GEL Output: EDMA Transfer Start for QUEPRI 0x00000003
    CortxA8: GEL Output: EDMA Transfer Complete for QUEPRI 0x00000003
    CortxA8: GEL Output: Test Case Passed for Destination Addr=0x40300000
    CortxA8: GEL Output: 
    CortxA8: GEL Output: Write is completed Starting @0x40300800
    CortxA8: GEL Output: EDMA Transfer Start for QUEPRI 0x00000003
    CortxA8: GEL Output: EDMA Transfer Complete for QUEPRI 0x00000003
    CortxA8: GEL Output: Test Case Passed for Destination Addr=0x80000800
    CortxA8: GEL Output: 
    CortxA8: GEL Output: 
    Test 5
    CortxA8: GEL Output: Write is completed Starting @0x80000000
    CortxA8: GEL Output: EDMA Transfer Start for QUEPRI 0x00000004
    CortxA8: GEL Output: EDMA Transfer Complete for QUEPRI 0x00000004
    CortxA8: GEL Output: Test Case Passed for Destination Addr=0x40300000
    CortxA8: GEL Output: 
    CortxA8: GEL Output: Write is completed Starting @0x40300800
    CortxA8: GEL Output: EDMA Transfer Start for QUEPRI 0x00000004
    CortxA8: GEL Output: EDMA Transfer Complete for QUEPRI 0x00000004
    CortxA8: GEL Output: Test Case Passed for Destination Addr=0x80000800
    CortxA8: GEL Output: 
    CortxA8: GEL Output: 
    Test 6
    CortxA8: GEL Output: Write is completed Starting @0x80000000
    CortxA8: GEL Output: EDMA Transfer Start for QUEPRI 0x00000005
    CortxA8: GEL Output: EDMA Transfer Complete for QUEPRI 0x00000005
    CortxA8: GEL Output: Test Case Passed for Destination Addr=0x40300000
    CortxA8: GEL Output: 
    CortxA8: GEL Output: Write is completed Starting @0x40300800
    CortxA8: GEL Output: EDMA Transfer Start for QUEPRI 0x00000005
    CortxA8: GEL Output: EDMA Transfer Complete for QUEPRI 0x00000005
    CortxA8: GEL Output: Test Case Passed for Destination Addr=0x80000800
    CortxA8: GEL Output: 
    CortxA8: GEL Output: 
    Test 7
    CortxA8: GEL Output: Write is completed Starting @0x80000000
    CortxA8: GEL Output: EDMA Transfer Start for QUEPRI 0x00000006
    CortxA8: GEL Output: EDMA Transfer Complete for QUEPRI 0x00000006
    CortxA8: GEL Output: Test Case Passed for Destination Addr=0x40300000
    CortxA8: GEL Output: 
    CortxA8: GEL Output: Write is completed Starting @0x40300800
    CortxA8: GEL Output: EDMA Transfer Start for QUEPRI 0x00000006
    CortxA8: GEL Output: EDMA Transfer Complete for QUEPRI 0x00000006
    CortxA8: GEL Output: Test Case Passed for Destination Addr=0x80000800
    CortxA8: GEL Output: 
    CortxA8: GEL Output: 
    Test 8
    CortxA8: GEL Output: Write is completed Starting @0x80000000
    CortxA8: GEL Output: EDMA Transfer Start for QUEPRI 0x00000007
    CortxA8: GEL Output: EDMA Transfer Complete for QUEPRI 0x00000007
    CortxA8: GEL Output: Test Case Passed for Destination Addr=0x40300000
    CortxA8: GEL Output: 
    CortxA8: GEL Output: Write is completed Starting @0x40300800
    CortxA8: GEL Output: EDMA Transfer Start for QUEPRI 0x00000007
    CortxA8: GEL Output: EDMA Transfer Complete for QUEPRI 0x00000007
    CortxA8: GEL Output: Test Case Passed for Destination Addr=0x80000800
    CortxA8: GEL Output: 
    CortxA8: GEL Output: Test is complete
    As of now this issue was seen on a single board. Other boards were not tested. Any how, after a couple of tweaks with the ratio seed values, i got it to work by changing the value of PHY_INVERT_CLKOUT from 0 to 1. This seems strange as my clock trace length is greater then DQS trace, hence PHY_INVERT_CLKOUT should be 0. I will be check the same on the other boards and get back.