Hello Hymalai,
I received your initialization file.
1. For DDR controllers without interleaving.
a. define separate LAWs(done)
b. DDR controller registers configuration
CS0_BNDS
Differnet bank for both controllers, for example MC1:CS0_BNDS 0x0000001F MC2:CS0_BNDS 0x0060007F
DDRx_CSn_CONFIG[INTLV_EN] diabled(done)
DDRx_DDR_SDRAM_CFG[BA_INTLV_CTL] disabled(done)
2. As your description previously, you said you wanted to use CPC as SRAM and DDR together, but I didn't find you allocate LAW for SRAM in the initialization file.
In the initialization file, if the SRAM is not needed, please don't allocate TLB entries for it (TLB14 and TLB15).
If you want to use SRAM, please make sure the address allocation is not overlapped with DDR.
You didn't mentioned what problem you encountered, please feel free to let me know if the problem remains.
Have a great day,
Yiping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------