Hello Anuj,
you are using the internal QuadSPI Flash of the 1064 to run your code and the external Flash for Data, correct?
This means your code is memory mapped at address 0x70000000 and the data is mapped to 0x60000000. You can directly access this memory like any other memory location.
Which development environment are you using? In general, when you download your application to the device the following is happening:
The IDE is loading a small application to the internal memory of the iMXRT – this is called the Loader. This Loader is
- initializing the flexSPI interface
- communicate to the IDE via a memory mapped protocol to get the Data to write
- write it to the flash.
Many development Environment are capable of flashing extra binary blobs together with the application. So, when your IDE can do this, and your Loader is capable of accessing both flexSPI interfaces simultaneously, this would be the best way to get your data to your board.
I’ve developed an Loader for the iMXRT Family which can do this, however it is only working together with Rowley Crossworks (compare https://github.com/Masmiseim36/iMXRT).
Hope this helps
Best Regards