I had a similar issue with the EA RT1062 board which has micron SDRAM. I think I discovered the issue. In my case, I discovered that there were some discrepancies in the pinmux settings. I discovered this by:
- instantiate the semc demo.
- go to the pinmux gui tool. This will analyze the project and create pinmux settings.
- in your other project, check your pinmux settings. Diff the pinmux.c file with the newly updated one in the semc demo. You fill find they are different. Correct the differences.
This fixed the problem for me.
Additionally, I instantiated the SEMC peripheral and chose "DCD" option, selected the 'demo board' settings, then added the flags to my project:
SKIP_SYSCLK_INIT
XIP_BOOT_HEADER_DCD_ENABLE=1
This allowed me to use the SDRAM for, e.g. heap memory, and passed all the same tests, and allowed me to add more peripherals to my project.