I have a imxrt1170 board, want to run code on sdram, when I debug with iar 9.30,the usb does not work correctly , but when I debug the code on ram , it works fine. the two link files are attachments
Most of these kinds of problem is caused by cache. Please check carefully if the buffers used by both CPU and USB DMA are allocated in noncacheable area. I also suggest to put heap and stack in noncacheable area too.