AnsweredAssumed Answered

IMXRT1050 USB DEVICE examples fail to run from OCRAM

Question asked by Jack King on Sep 23, 2019
Latest reply on Oct 6, 2019 by Jack King

Similar to other issues I have had with other SDK samples (FatFS/SDcard), it seems that caching causes problems with USB device samples.

 

If I switch one of the samples (such as: dev_hid_mouse_bm) to use SRAM_OC as location of global vars, then USB will fail to enumerate.

 

I have also tried setting the config buffer to be cacheable in usb_device_config.h, but that causes USB device initialization to fail completely.

 

How can I use the USB stack when running from OCRAM?

 

 

Outcomes