Hi Igor,
Thank you for quick response. I have just used RPA v1.3. As you recommend, I modified my script by setting MMDCx_MDMISC register, LPDDR2_2CH Field to '0'. On my board one single channel LPDDR2 is connected to MMDC0. But there is still problem. After changing script , DDR stress tool test is also failed. Maybe, there is a bug for one channel test when lpddr2 device is connected to ch0.
The confusing point is that , in the reference manual for 1-channel LPDDR2 mode it says "MMDCx _MDASP[CS0_END] address begins at 0x10000000" for both channel ??? However, in the RPA script number of channel usage does not affect CH0 base address and CH0 CS0_end. CH_0 base address always starts from 0x8000000, CH1 base address starts from 0x10000000 whether we are using or not two channel. In my case , as I connect lpddr2 to CH0, CS0_END is at 0xc0000000 address in the script due to 2 GByte space. Also its base address is at 0x80000000.Reference manual explanation conflicts with RPA script setting.
IN THE REFERNCE MANUAL:
In DDR3 and 1-channel LPDDR2 mode:
MMDCx _MDASP[CS0_END] should be set to DDR_CS_SIZE/32MB + 0x7 (DDR base address begins at 0x10000000)
In 2-channel LPDDR2 mode:
MMDC0_MDASP[CS0_END] should be set to DDR_CS_SIZE/32M + 0x3f (channel 0 base address begins at 0x80000000)
MMDC1_MDASP[CS0_END] should be set to DDR_CS_SIZE/32M + 0x7 (channel 1 base address begins at 0x10000000);
Best regards,
Cüneyt