Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

EPCS Programmer error

hi, I have an only EPCS4 on my cyclone board (1c12) and I want to program EPCS4 but i fail.

<div class='quotetop'>QUOTE </div>

--- Quote Start ---

#! /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 E:/gxh/flashOnePIO/flashOnePIO/software/hello/Debug

# Creating .flash file for the FPGA configuration

$SOPC_KIT_NIOS2/bin/sof2flash --epcs --input=E:/gxh/flashOnePIO/flashOnePIO/xby.

sof --output=xby.flash

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

Info: Running Quartus II Convert_programming_file

Info: Command: quartus_cpf --no_banner --convert --device=EPCS64 --option=xby.op

t E:/gxh/flashOnePIO/flashOnePIO/xby.sof xby.pof

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

Info: Processing ended: Fri Sep 15 12:05:44 2006

Info: Elapsed time: 00:00:03

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

Info: Running Quartus II Convert_programming_file

Info: Command: quartus_cpf --no_banner --convert xby.pof xby.rpd

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

Info: Processing ended: Fri Sep 15 12:05:46 2006

Info: Elapsed time: 00:00:01

# Programming flash with the FPGA configuration

$SOPC_KIT_NIOS2/bin/nios2-flash-programmer --sidp=0x01201038 --id=1622478268 --t

imestamp=1158289160 --epcs --base=0x01000000 xby.flash

Using cable "ByteBlasterMV [LPT1]", device 1, instance 0x00

Resetting and pausing target processor: OK

Reading System ID at address 0x01201038: verified

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

Unable to use EPCS device

Leaving target processor paused

# Creating .flash file for the project

$SOPC_KIT_NIOS2/bin/elf2flash --epcs --after=xby.flash --input=hello.elf --outpu

t=epcs_controller.flash --boot=$SOPC_KIT_NIOS2/components/altera_nios2/boot_load

er_epcs.srec

# Programming flash with the project

$SOPC_KIT_NIOS2/bin/nios2-flash-programmer --sidp=0x01201038 --id=1622478268 --t

imestamp=1158289160 --epcs --base=0x01000000 epcs_controller.flash

Using cable "ByteBlasterMV [LPT1]", device 1, instance 0x00

Resetting and pausing target processor: OK

Reading System ID at address 0x01201038: verified

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

Unable to use EPCS device

Leaving target processor paused[/b]

--- Quote End ---

What could I do ?

please help me. Thank you.

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi Snowfox!

    I&#39;ve got the same problem with ep1c6 and epcs4.

    Although, I had no problem at all with ep1c12 with epcs4.

    Everything is under nios 5.1

    Have you solved the problem?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I had the same problem when I received my target board and it turned out to be a cold solder on the EPCS device on my board. So I would assume your EPCS device is either not working or not connected properly to you FPGA.