We can use the script to do the DDR calibration and stress test successfully. But error happens on one board. The log shows
Downloading file 'bin\lpddr4_train1d_string_v201709.bin' ..Done
Downloading file 'bin\lpddr4_train2d_string_v201709.bin' ..Done
Downloading file 'bin\lpddr4_imem_1d_v201709.bin' ..Done
Downloading file 'bin\lpddr4_dmem_1d_v201709.bin' ..Done
Downloading file 'bin\lpddr4_imem_2d_v201709.bin' ..Done
Downloading file 'bin\lpddr4_dmem_2d_v201709.bin' ..Done
Downloading IVT header...Done
Downloading file 'bin\m845s_ddr_stress_test.bin' ...Done
Download is complete
Waiting for the target board boot...
===================hardware_init=====================
hardware_init exit
*************************************************************************
*************************************************************************
*************************************************************************
MX8 DDR Stress Test V3.30
Built on Nov 24 2021 13:30:14
*************************************************************************
Waiting for board configuration from PC-end...
--Set up the MMU and enable I and D cache--
- This is the Cortex-A53 core
- Check if I cache is enabled
- Enabling I cache since it was disabled
- Push base address of TTB to TTBR0_EL3
- Config TCR_EL3
- Config MAIR_EL3
- Enable MMU
- Data Cache has been enabled
- Check system memory register, only for debug
- VMCR Check:
- ttbr0_el3: 0x93d000
- tcr_el3: 0x2051c
- mair_el3: 0x774400
- sctlr_el3: 0xc01815
- id_aa64mmfr0_el1: 0x1122
- MMU and cache setup complete
*************************************************************************
ARM clock(CA53) rate: 1800MHz
DDR Clock: 1500MHz
============================================
DDR configuration
DDR type is LPDDR4
Data width: 32, bank num: 8
Row size: 15, col size: 10
One chip select is used
Number of DDR controllers used on the SoC: 1
Density per chip select: 1024MB
Density per controller is: 1024MB
Total density detected on the board is: 1024MB
============================================
Please re-download with the correct value
Does anyone have hints what's going wrong?
Thanks in advance.
Hi @raymondman,
As this error is just showing up in one board, review the connections of the DDR to the processor just to discard any issue on the manufacturing part.
Regards,
Israel.