i.MX RT 1052 USB host msd fatfs

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX RT 1052 USB host msd fatfs

785 Views
zhangyanming
Contributor I

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?

usb.JPG

0 Kudos
1 Reply

641 Views
jingpan
NXP TechSupport
NXP TechSupport

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

0 Kudos