MSCALE debug options - Custom i.MX8MM DDR3L

cancel
Showing results for 
Search instead for 
Did you mean: 

MSCALE debug options - Custom i.MX8MM DDR3L

340 Views
tberryhill
Contributor I

I have a custom board with the i.MX8M Mini and DDR3L memory that I'm trying to connect to the MSCALE tool for DRAM training. What debug options are available? Should I see this tool connect to the A53 before any memory tests are even run?

I don't believe the tool is connecting to the A53 correctly because the Gen Code/Calibrate options are not available and the only output I see is the following:

Downloading file 'bin\ddr3_imem_1d.bin' ..Done
Downloading file 'bin\ddr3_dmem_1d.bin' ..Done
Downloading file 'bin\ddr3_train_string.bin' ..Done
Downloading IVT header...Done
Downloading file 'bin\m845s_ddr_stress_test.bin' ...Done


I've confirmed the following:

1. Connected to USB1, it enumerates as a HID device in Windows

2. Boot mode pins are set for serial download
3. UART2 pin mux is set in the script file

4. Connected to the A53 via JTAG to confirm it's running

My pin muxing is as follows:

SAI3_TXC -> UART2_TX

SAI3_TXFS -> UART2_RX

memory set 0x303301D8 32 0x00000004 #IOMUXC_SW_MUX_CTL_PAD_SAI3_TXFS (UART2_RX)
memory set 0x303301DC 32 0x00000004 #IOMUXC_SW_MUX_CTL_PAD_SAI3_TXC (UART2_TX)
memory set 0x30330440 32 0x00000016 #IOMUXC_SW_PAD_CTL_PAD_SAI3_TXFS (UART2_RX)
memory set 0x30330444 32 0x00001816 #IOMUXC_SW_PAD_CTL_PAD_SAI3_TXC (UART2_TX)
memory set 0x303304FC 32 0x00000002 #IOMUXC_SW_MUX_UART2_SEL_RXD
sysparam set debug_uart 1 #UART index from 0 ('0' = UART1, '1' = UART2, '2' = UART3, '3' = UART4)

Labels (1)
0 Kudos
1 Reply

83 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Tyler

unfortunately using jtag for dram training and ddr test is not supported,

also there is no "jtag" option in description of https://community.nxp.com/docs/DOC-340179 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos