Hi xm hu
Please disable the cache in the example code where you use the OCRAM:
SCB_DisableICache();
SCB_DisableDCache();
you can find more information in the post:
K61 HS USB with cache enabled
It is for a Kinetis device, but you can apply the same concept in the RT device.
Hope this information helps.
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
-------------------------------------------------------------------------------