Recently,I use i.MX RT to develop a project.I use the example ...\usb_examples\usb_host_msd_fatfs in the SDK to stduy the USB function,if I don't change anything,it can work normal.But when i modify the MIMXRT1052xxxxx_ram.scf,the data section is start 0x20200000,,size is 0x00020000,nothing else has been changed,the example can not work normal,it can not enumerate.why?
Hi Yanming,
I think this is because 0x20200000 is start of OCRAM, the OCRAM is cacheable. When USB DMA fill the buffer, MCU doesn't know, and vice versa. It still read/write the data in cache. But 0x20000000 is DTCM address. It don't use cache.
Regards,
Jing