i.MX RT 1052 USB host msd fatfs

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

i.MX RT 1052 USB host msd fatfs

859 次查看
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 项奖励
1 回复

715 次查看
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 项奖励