follow test is use ti DDR Software Leveling op log.
AM335x DDR3 Software Leveling -- Version: Beta 3.0 -- Copyright: Texas Instruments China Local Team *************************** Program Start********************************
Please input the AM335x EMIF Timing Configuration:-- AM335x Default EMIF Timing configuration (for StarterKit EVM) -- DDR3_EMIF_SDRAM_TIM_1 : 0x0888A39B DDR3_EMIF_SDRAM_TIM_2 : 0x26337FDA DDR3_EMIF_SDRAM_TIM_3 : 0x501F830F DDR3_EMIF_SDRAM_CONFIG : 0x61C04AB2
Your choice: 1. Use the default one; 2. Input your own one.Please Choose The DDR3 Frequency: 1. 303MHz; 2. 400MHz.DDR3 Frequency is Set at 400MHz!
Please input your DDR3_EMIF_SDRAM_TIM_1 conifguration (in Hex) : 0AAAD4DBPlease input your DDR3_EMIF_SDRAM_TIM_2 conifguration (in Hex) : 266B7FDAPlease input your DDR3_EMIF_SDRAM_TIM_3 conifguration (in Hex) : 501F867FPlease input your DDR3_EMIF_SDRAM_CONFIG conifguration (in Hex) : 61C05332Your input EMIF Timing configuration -- DDR3_EMIF_SDRAM_TIM_1 : 0xAAAD4DBDDR3_EMIF_SDRAM_TIM_2 : 0x266B7FDADDR3_EMIF_SDRAM_TIM_3 : 0x501F867FDDR3_EMIF_SDRAM_CONFIG : 0x61C05332
Please Enter the PHY_INVERT_CLKOUT value (0 or 1) from the spreadsheet : 0Please Enter the Seed RD_DQS_SLAVE_RATIO Value in Hex to search the RD DQS Ratio Window : 38Please Enter the Seed FIFO_WE_SLAVE_RATIO Value in Hex to search the RD DQS Gate Window : 94Please Enter the Seed WR_DQS_SLAVE_RATIO Write DQS Ratio Value in Hex to search the Write DQS Ratio Window : 44Please Enter the Seed PHY_CTRL_SLAVE_RATIO Value in Hex : 80The ratio seeds for the DDR3 Software Leveling : invert_clkout = 0x0RD_DQS_RATIO_VAL = 0x38FIFO_WE_SLAVE_RATIO = 0x94WR_DQS_SLAVE_RATIO = 0x44PHY_CTRL_SLAVE_RATIO = 0x80
The Slave Ratio Search Program Values are... ***************************************************************DATA_PHY_RD_DQS_SLAVE_RATIO is :0x3ADATA_PHY_FIFO_WE_SLAVE_RATIO is : 0x9EDATA_PHY_WR_DQS_SLAVE_RATIO is : 0x46DATA_PHY_WR_DATA_SLAVE_RATIO is : 0x7D***************************************************************rd_dqs_range = 58fifo_we_range = 158wr_dqs_range = 70wr_data_range = 125
Optimal values not reached, rerunning program with new values...
The Slave Ratio Search Program Values are... ***************************************************************DATA_PHY_RD_DQS_SLAVE_RATIO is :0x39DATA_PHY_FIFO_WE_SLAVE_RATIO is : 0x9FDATA_PHY_WR_DQS_SLAVE_RATIO is : 0x47DATA_PHY_WR_DATA_SLAVE_RATIO is : 0x7E***************************************************************rd_dqs_range = 1fifo_we_range = 1wr_dqs_range = 1wr_data_range = 1
Optimal values have been found!!
***************************************************************DATA_PHY_RD_DQS_SLAVE_RATIO is :0x39DATA_PHY_FIFO_WE_SLAVE_RATIO is : 0x9FDATA_PHY_WR_DQS_SLAVE_RATIO is : 0x47DATA_PHY_WR_DATA_SLAVE_RATIO is : 0x7E***************************************************************
===== END OF TEST =====DDR3 software leveling done!