Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21613 Discussions

Unable to use EPCS device_Leaving target processor paused

Altera_Forum
Honored Contributor II
1,214 Views

#!/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:/altera/91/quartus/work/firefight/software/code/Release# Creating .flash file for the FPGA configuration 

"$SOPC_KIT_NIOS2/bin/sof2flash" --epcs --input="$QUARTUS_ROOTDIR/work/firefight/ 

firefighter.sof" --output="firefighter.flash"  

Info: ******************************************************************* 

Info: Running Quartus II Convert_programming_file 

Info: Command: quartus_cpf --no_banner --convert --device=EPCS128 --option=firef 

ighter.opt c:/altera/91/quartus/work/firefight/firefighter.sof firefighter.pof 

Info: Quartus II Convert_programming_file was successful. 0 errors, 0 warnings 

Info: Peak virtual memory: 75 megabytes 

Info: Processing ended: Thu Sep 30 19:44:08 2010 

Info: Elapsed time: 00:00:02 

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 firefighter.pof firefighter.rpd 

Info: Quartus II Convert_programming_file was successful. 0 errors, 0 warnings 

Info: Peak virtual memory: 71 megabytes 

Info: Processing ended: Thu Sep 30 19:44:11 2010 

Info: Elapsed time: 00:00:03 

Info: Total CPU time (on all processors): 00:00:02# Programming flash with the FPGA configuration 

"$SOPC_KIT_NIOS2/bin/nios2-flash-programmer" --epcs --base=0x00011000 --cable='U 

SB-Blaster [USB-1]' --sidp=0x00021048 --id=397621995 --timestamp=1285842295 --ac 

cept-bad-sysid "firefighter.flash" 

Using cable "USB-Blaster [USB-1]", device 1, instance 0x00 

Resetting and pausing target processor: OK 

Reading System ID at address 0x00021048: verified 

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="firefighter.flash" --input="code 

.elf" --output="epcs_flash_controller_0.flash"# Programming flash with the project 

"$SOPC_KIT_NIOS2/bin/nios2-flash-programmer" --epcs --base=0x00011000 --cable='U 

SB-Blaster [USB-1]' --sidp=0x00021048 --id=397621995 --timestamp=1285842295 --ac 

cept-bad-sysid "epcs_flash_controller_0.flash" 

Using cable "USB-Blaster [USB-1]", device 1, instance 0x00 

Resetting and pausing target processor: OK 

Reading System ID at address 0x00021048: verified 

No EPCS layout data - looking for section [EPCS-000000] 

Unable to use EPCS device 

Leaving target processor paused 

 

--------------------------------------------------------------- 

 

What is the cause of this error? 

 

Thanks
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
515 Views

Does the epcs base address you specify (--base=0x00011000) match the actual one as defined in sopc builder? 

Have you programmed that epcs device before with a fpga configuration file? Are you sure it works? 

 

Regards
0 Kudos
Reply