To access the external memory, you will have to map the address ranges using "sflash_toc_2".
Please refer your linker script for the sflash_toc_2 definition.
Though this example is not entirely what you are looking for, it might help you get started with the external memory access.
Hope it helps.
I missed to highlight the another example, that you might want to have a look.
This is not a FreeRTOS example. But, certainly useful in SMIF configuration, FYR.
I have already accessed the external memory successfully by take reference on those two sample code.
Thanks so much.
By the way, we put the cyacd2 file onto amazon cloud, how could we parse the cyacd2 file format?
The cyacd2 size is quite large and include the header each row. How could we only catch the data not include the header?