I want to copy data file from the SD Card to the on-board DRAM memory Please can you provide example?
Could you be a bit more specific? The answer depends on your processor/board or better on the file system on your SD card. E.g. for the i.MX RT family you could run FreeRTOS and read the SD card content using the FatFS file system, where you have a read function which can store data say into a RAM buffer.
This goes to imx8 device, and my data are located now on SDCard. I want them to be processed by CPU and accessed from memory (DRAM) connected via DDR controller. I want to evaluate access read/write data on DDR-RAM vs SDCard or other memories for my application case. I want to now by measuring it to doistinguish between processing time (execution on CPU or other compute device) and access read/wtite from/back to memory.