Does anyone have any experience and or sample code demonstrating how to copy an application from serial flash into external memory and then jump to the application entry point? Also, many of the reference drivers available / pointed to in the forums do not seem to use DMA. We have some pretty tight startup constraints and were wondering if there is a DMA version of the driver, and if so, would it be any faster than the non DMA versions available?
Does anyone have any timing examples for loading ~3MB (or any size for that matter) from serial flash to RAM at boot time with and without DMA?
Note: We have two 4MB serial flash parts, we are not using parallel mode. How much performance could we gain if we enabled parallel mode with and without DMA? Is it worth the extra effort?
Thank you in advance,
Solved! Go to Solution.
It seems that you may need to boot from QSPI in non-xip mode, right?
If that is correct you may find the next useful:
I have not checked the boot time yet.
I hope it helps.
Alejandro's document will help you for sure.
The think you are looking for is what uBoot is doing. Source code are available on Timesys pages Embedded Linux software, platform, distributions, packages, libraries, development and debugging too... .
Also Vybrid sample code for TWR-VF65 can help you. Sample Code for Vybrid Controller Tower System.
quadspi_load project is able to program quad spi memories with hello_world project binary, which was build for quadspi target.