AnsweredAssumed Answered

About behavior of MPU and ADMA2

Question asked by Takashi Kashiwagi on Aug 21, 2018
Latest reply on Aug 24, 2018 by Takashi Kashiwagi



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.

Build Date: 2018-08-06, Board: EVKB-IMXRT1050

OS: Windows, Toolchain: MCUXpresso IDE

Components: CMSIS DSP Library, Amazon-FreeRTOS Kernel, DMA Manager, lwIP, sdmmc stack, mbedtls, FatFS, USB stack

SDK Version: KSDK 2.4.2 (2018-08-02)