Hi Gee,
Thanks for your comments.
I will try your suggestion later.
And I want to share you how I download my FPGA image to flash.
I used to use this PFL function as described in AN478 in Arria. But it failed writing to flash and I don't know why at that time.
Later I use CFI interface after initiate a NIOSII and download it using NIOSII EDS and it works.
I also read that data using NIOSII command shell and measure the address pattern.
Through that I found the output of PFL is not correct for flash to work properly.
I will repeat my test on PFL using Arria.
Thanks for your reply.
BRs,
Johnson