How to check the DDR access timing with JTAG?

cancel
Showing results for 
Search instead for 
Did you mean: 

How to check the DDR access timing with JTAG?

Jump to solution
348 Views
tomo
Contributor II

I want to check DDR access timing of the LS1046A is correct with JTAG debugger.

The DDR validation tool seems to change the registers of CLK_ADJUST and WRLVL_START to determine whether the timing is correct, but can you do the same with JTAG?

I tried changing those registers with the JTAG debugger, but no matter what value I set, the access to the DDR memory did not become abnormal.

In order to check the setting value, can I only use the DDR validation tool?

Best regards,

tomo.

Labels (1)
0 Kudos
1 Solution
151 Views
ufedor
NXP TechSupport
NXP TechSupport

You wrote:

> I tried changing those registers with the JTAG debugger

Please note that the training sequence is performed by the DDR controller only once - after the DDR_SDRAM_CFG[MEM_EN] is set.

So the timing values in question have to be set before the MEM_EN setting - else the change will not be detected by the DDR controller.

To test the values it is possible to recompile U-Boot with new timing values, program the binary image into flash and boot.

View solution in original post

0 Kudos
1 Reply
152 Views
ufedor
NXP TechSupport
NXP TechSupport

You wrote:

> I tried changing those registers with the JTAG debugger

Please note that the training sequence is performed by the DDR controller only once - after the DDR_SDRAM_CFG[MEM_EN] is set.

So the timing values in question have to be set before the MEM_EN setting - else the change will not be detected by the DDR controller.

To test the values it is possible to recompile U-Boot with new timing values, program the binary image into flash and boot.

View solution in original post

0 Kudos