It doesn't matter on the type of file that you want to write to SD card.
You can program the FX3S with FX3MassStorage example provided with the FX3 SDK: C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\firmware\msc_examples\cyfx3s_msc
Once you program FX3S with the above frimware, the SD card will come up as a USB drive or USB Mass Storage Device in My Computer similar to a pendrive.
You can just copy the contents that you want to write to SD card and then take it and read it elsewhere.
It would be great if you can provide an elaborate explaination of your application.
I want to store an image file into a buffer using FX3S and then to SD Card.For that how to give the image width and height for the buffer.
Can you please specify how you plan on getting the image data?
Would it be from an external memory?
Also, can you please explain the entire process?
I Want to get that image from DDR3 memory.
DDR3------>P-Port of FX3-------->S0 Port of FX3------->SD Card.