MCUXpresso SDK USB Stack Work Error

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

MCUXpresso SDK USB Stack Work Error

314 Views
damonyun
Contributor I

When i move "*NoCacheInit" section in OCRAM whitch config as Cacheable;

then, enable USB_DEVICE_CONFIG_BUFFER_PROPERTY_CACHEABLE = 1; but it was work failed.

We found a #warning "USB_DEVICE_CONFIG_BUFFER_PROPERTY_CACHEABLE is not supported." 

The Cortex-M7 has Cache feature, why it was unsupported. 

damonyun_0-1666670231938.png

 

Labels (1)
0 Kudos
1 Reply

305 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi @damonyun ,

USB_DEVICE_CONFIG_BUFFER_PROPERTY_CACHEABLE doesn't mean M7 hasn't cache or M7 doesn't support cache. It means you can't put USB buffer into cacheable area.

Please refer to this post for more details.

https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/Using-NonCached-Memory-on-i-MXRT/ta-p/1183369

 

Regards,

Jing

0 Kudos