2021-12-14 12:36 AM
I am using stm32MP157F-DK eval board (on windows) and I would like to try the DDR testing tool on cubeMX. But this is my first time trying to do so - I try to follow steps in "U-Boot SPL: DDR interactive mode" (url: https://wiki.st.com/stm32mpu/wiki/U-Boot_SPL:_DDR_int). It states i should define this mode under CONFIG_STM32MP1_DDR_INTERACTIVE - but I dont understand when or how should I do that? Should this be done on full flashlayout_st-image-*** or should i just have boot running?
Solved! Go to Solution.
2021-12-27 04:30 AM
**********************Summary of solved issues************************
Huge thanks to, @Kevin HUBER , for all the help. If anybody will face similar issues I will just layout all the summary I did that helped me out.
Following the information provided by @Kevin HUBER and these basic steps, i finally managed to access DDR interactive mode and do the the test on my custom board - and i am glad to say that ir passed all the tests :)
DDR test #0 (All) triggered with parameters: 1 128 0xC0000000
DDR test result: Pass
DDR test #1 (Simple DataBus) triggered with parameters: 0xC0000000
DDR test result: Pass
DDR test #2 (DataBusWalking0) triggered with parameters: 1 0xC0000000
DDR test result: Pass
DDR test #3 (DataBusWalking1) triggered with parameters: 1 0xC0000000
DDR test result: Pass
DDR test #4 (AddressBus) triggered with parameters: 4 0xC0000000
DDR test result: Pass
DDR test #5 (MemDevice) triggered with parameters: 4 0xC0000000
DDR test result: Pass
DDR test #6 (SimultaneousSwitchingOutput) triggered with parameters: 4 0xC0000000
DDR test result: Pass
DDR test #7 (Noise) triggered with parameters: 0x00000000 0xC0000000
DDR test result: Pass
DDR test #8 (NoiseBurst) triggered with parameters: 128 0x00000000 0xC0000000
DDR test result: Pass
DDR test #9 (Random) triggered with parameters: 8 1 0xC0000000
DDR test result: Pass
DDR test #10 (FrequencySelectivePattern) triggered with parameters: 128 0xC0000000
DDR test result: Pass
DDR test #11 (BlockSequential) triggered with parameters: 4 1 0xC0000000
DDR test result: Pass
DDR test #12 (Checkerboard) triggered with parameters: 8 1 0xC0000000
DDR test result: Pass
DDR test #13 (BitSpread) triggered with parameters: 32 1 0xC0000000
DDR test result: Pass
DDR test #14 (BitFlip) triggered with parameters: 32 1 0xC0000000
DDR test result: Pass
DDR test #15 (WalkingOnes) triggered with parameters: 4 1 0xC0000000
DDR test result: Pass
DDR test #16 (WalkingZeroes) triggered with parameters: 4 1 0xC0000000
DDR test result: Pass
DDR test #17 (infinite read) triggered with parameters: 0xC0000000 0x00000000
DDR test result: Pass
DDR test #18 (infinite write) triggered with parameters: 0xC0000000 0x00000000
DDR test result: Pass
DDR test #20 (Check DQS timings margins)
DDR test result: Pass
2022-01-11 02:05 AM
Hi,
Yes, but only if you have working a working U-Boot or Linux on your board....
How to manually update bootloaders - stm32mpu
Then you can use these commands to update the target with any downloaded files, for example with linux command "scp".
How to compile the device tree with the Developer Package - stm32mpu
Patrick