Altera_Forum
Honored Contributor
14 years agoJIC does not work with Spansion Serial flash, NiosII flash programmer works
Hi,
I'm using a Statix III EP3SL50F780 with a Spansion 25FL128P0XMFI001 as 128MBit serial flash configuration device which contain my FPGA hardware image and my Nios II application. I can program my device with JTAG usign the Nios II Flash Programmer from the Eclipse environment and I can program the SOF and ELF succesfull into flash and my boards startups correctly after power-up! I'm happy with this! Of course I had to place the "nios2-flash-override.txt" into nios2eds\bin directly with the following content [epcs-012018]# spansion s25fl128p0xmfi001sector_size = 65536
sector_count = 25 Now I would like to make a JIC. I convert both SOF and ELF into HEX files and generate a JIC file with Convert Programming file tools and I disabled the EPCS ID check to make sure that my Spansion flash is accepted. When I program the JIC into my board the programming went OK but it fails when it tries to verify the flash. When I try to restart my board the FPGA is not configured at all! When I repeat this with this board but then with a EPCS64 (but then EPCS64 selected when generating the JIC file) I can program verify the JIC file and it starts correctly! Do you have any idea why programming of flash works with the NiosII Flash Programmer but not with a JIC? By the way: tested for 3 times, under 10.1 and 11.1 as well. Thanks for your reply!