Altera_Forum
Honored Contributor
16 years agoNIOS II flash programmer
Hi,
I have build a custom board with EP3C16Q240 having M25P16 [Nymonix 16Mb] serial flash device to store my FPGA configuration data & Program data. After building the .sof and .elf when I tried to program the device through NIOS II IDE flash programmer, I am getting the following error. # !/bin/sh # # This file was automatically generated by the Nios II IDE Flash Programmer. # # It will be overwritten when the flash programmer options change. # cd C:/DVC_BOOT_HW/dvc_final_jan12/jan3_sdram_onchip/jan3_sdram_onchip/software/dvc_boot_sw/Debug # Creating .flash file for the FPGA configuration "$SOPC_KIT_NIOS2/bin/sof2flash" --epcs --input="C:/jaga_test_jan13_night/dvc_final_jan12/dvc_final_jan12/jan3_sdram_onchip/jan3_sdram_onchip/nios_sdram_onchip.sof" --output="nios_sdram_onchip.flash" Info: ******************************************************************* Info: Running Quartus II Convert_programming_file Info: Command: quartus_cpf --no_banner --convert --device=EPCS128 --option=nios_sdram_onchip.opt C:/jaga_test_jan13_night/dvc_final_jan12/dvc_final_jan12/jan3_sdram_onchip/jan3_sdram_onchip/nios_sdram_onchip.sof nios_sdram_onchip.pof Info: Quartus II Convert_programming_file was successful. 0 errors, 0 warnings Info: Peak virtual memory: 70 megabytes Info: Processing ended: Wed Jan 13 20:50:06 2010 Info: Elapsed time: 00:00:03 Info: Total CPU time (on all processors): 00:00:02 Info: ******************************************************************* Info: Running Quartus II Convert_programming_file Info: Command: quartus_cpf --no_banner --convert nios_sdram_onchip.pof nios_sdram_onchip.rpd Info: Quartus II Convert_programming_file was successful. 0 errors, 0 warnings Info: Peak virtual memory: 68 megabytes Info: Processing ended: Wed Jan 13 20:50:10 2010 Info: Elapsed time: 00:00:04 Info: Total CPU time (on all processors): 00:00:03 # Programming flash with the FPGA configuration "$SOPC_KIT_NIOS2/bin/nios2-flash-programmer" --epcs --base=0x04001800 --cable='USB-Blaster [USB-0]' --instance=0 "nios_sdram_onchip.flash" Using cable "USB-Blaster [USB-0]", device 1, instance 0x00 Resetting and pausing target processor: OK No EPCS layout data - looking for section [EPCS-FF] Unable to use EPCS device Leaving target processor paused # Creating .flash file for the datafile "$SOPC_KIT_NIOS2/bin/bin2flash" --base=0x04001800 --location=0x80000 --input="dvc_boot_sw.elf" --output="dvc_boot_sw.flash" # Programming flash with the datafile "$SOPC_KIT_NIOS2/bin/nios2-flash-programmer" --epcs --base=0x04001800 --cable='USB-Blaster [USB-0]' --instance=0 "dvc_boot_sw.flash" Using cable "USB-Blaster [USB-0]", device 1, instance 0x00 Resetting and pausing target processor: OK No EPCS layout data - looking for section [EPCS-FF] Unable to use EPCS device Leaving target processor paused Please help me in fixing this issue