Forum Discussion
Altera_Forum
Honored Contributor
17 years agoEPCS load failed
I came across the following problems when I used the Flash Programmer to download project to EPCS16 device.
# !/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 F:/JiangRui/FPGA/GPS4/main_frame/dev/dev2/software/hello_world_0/Release# Creating .flash file for the FPGA configuration "$SOPC_KIT_NIOS2/bin/sof2flash" --epcs --input="F:/JiangRui/FPGA/GPS4/main_frame /dev/dev2/modulator.sof" --output="modulator.flash" Info: ******************************************************************* Info: Running Quartus II Convert_programming_file Info: Command: quartus_cpf --no_banner --convert --device=EPCS128 --option=modul ator.opt F:/JiangRui/FPGA/GPS4/main_frame/dev/dev2/modulator.sof modulator.pof Info: Quartus II Convert_programming_file was successful. 0 errors, 0 warnings Info: Peak virtual memory: 78 megabytes Info: Processing ended: Mon May 04 16:45:36 2009 Info: Elapsed time: 00:00:04 Info: Total CPU time (on all processors): 00:00:03 Info: ******************************************************************* Info: Running Quartus II Convert_programming_file Info: Command: quartus_cpf --no_banner --convert modulator.pof modulator.rpd Info: Quartus II Convert_programming_file was successful. 0 errors, 0 warnings Info: Peak virtual memory: 73 megabytes Info: Processing ended: Mon May 04 16:45:40 2009 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=0x00041800 "modulato r.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-000000] Unable to use EPCS device Leaving target processor paused# Creating .flash file for the project "$SOPC_KIT_NIOS2/bin/elf2flash" --epcs --after="modulator.flash" --input="hello_ world_0.elf" --output="epcs_flash_controller.flash"# Programming flash with the project "$SOPC_KIT_NIOS2/bin/nios2-flash-programmer" --epcs --base=0x00041800 "epcs_fla sh_controller.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-000000] Unable to use EPCS device Leaving target processor paused It troubles me for a long time. How to ?3 Replies
- Altera_Forum
Honored Contributor
Any replies on this issue....?? i am getting a similar error too !! have u solved this issue ???
i am using the quartus 12.0 sp1 Nios II 12.0, also tried Nios II 11.0 software build tools too... - Altera_Forum
Honored Contributor
in quartus you need to set epcs pins as user defined and manualy connect it in pin planner.
- Altera_Forum
Honored Contributor
@sashawhosaid hey thanks,... thats exactly what i tried yesterday and it worked, but fitter failed repeatedly for multiple pins connected the EPCS outputs...
then had to do the following to compile it rite and the whole thing worked fine.. thanks to all who gave ur valuable help. 1. Make all dual purpose pins as User I/Os in Device settings. 2. Assignments > Device > Device and Pin Option > Configuration > Disable the "Enable input tri-state on active configuration pins in user mode" thanks once again !! :)