We have a custom board using RT1170 connected to just one SDRAM W9825G6KH-5I. (On the RT1170 development board, there are two SDRAM W9825G6KH-5I). We can run the SDK example called "evkmimxrt1170_semc_cm7" by modifying the following parameters, and the log shows "SEMC SDRAM 32 bit Data Write and Read Compare Succeed!".
sdramconfig.memsize_kbytes = 32 * 1024; /* The value is 2 * 32 * 1024 with two sdram */
sdramconfig.portSize = kSEMC_PortSize16Bit; /* The value is kSEMC_PortSize32Bit with two sdram */
And then we modified the corresponding two registers in DCD of "evkmimxrt1170_hello_world_demo_cm7" like the following, which uses SDRAM as the default ram, but the program can't jump to main() function after flashing, and then 'Break at address "0xdeadbeee" '.
SEMC_BR0 0x8000001B /* The value is 0x8000001D with two sdram */
SEMC_SDRAMCR0 0xF31 /* The value is 0xF32 with two sdram */
Is there any other register value needed to be modified or something else leading to the problem?
Thanks.