I am using MCUXpresso IDE and IMXRT1050-EVKB.
I found the following strange MPU and ADMA2 behavior.
- When OCRAM is not Shareable(Default setting by SDK), f_mount(FATFS) faild.
The cause was due to ADMA2 accessing variables located in OCRAM.
Strictly, the first access successed (Single Read Sector 0) and the second access failed(Single Read Sector 8192), but ADMA2 returned no error.
The solution is to make shared memory accessible by ADMA 2.
Is this a specification?
SDK Archive Detail is following.