Forum Discussion

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

EPCS Flash Programmer

Hello,

I am using Stratrix II EP2S180F1020. UFM device used here is EPM240GT100. I am running a simple Hello World Program.

When I select the device and try to Program it Through Flash Programmer I get these message.

Executing command: bin2flash --input="C:/aAJIT/quartus/ravi-flash1-new/software/ravi_flash5/hello_world.c" --output="C:/aAJIT/quartus/ravi-flash1-new/software/ravi_flash5_bsp/flash/hello_world_e.flashs.flashontroller.flash" --location=0x0 --verbose

Sep 25, 2010 2:33:33 PM - (FINE) bin2flash: Starting

Sep 25, 2010 2:33:33 PM - (INFO) bin2flash: args = --input=C:/aAJIT/quartus/ravi-flash1-new/software/ravi_flash5/hello_world.c --output=C:/aAJIT/quartus/ravi-flash1-new/software/ravi_flash5_bsp/flash/hello_world_e.flashs.flashontroller.flash --location=0x0 --verbose

Sep 25, 2010 2:33:33 PM - (FINE) bin2flash: Done

Executing command: nios2-flash-programmer "C:/aAJIT/quartus/ravi-flash1-new/software/ravi_flash5_bsp/flash/hello_world_e.flashs.flashontroller.flash" --base=0x4009800 --epcs --sidp=0x400A078 --id=0x7A06A701 --accept-bad-sysid --device=2 --instance=0 '--cable=USB-Blaster on localhost [USB-0]' --program --verbose

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

Resetting and pausing target processor: OK

Reading System ID at address 0x0400A078:

ID value verified

Timestamp value was not verified: value was not specified

Processor data bus width is 32 bits

Looking for EPCS registers at address 0x04009800 (with 32bit alignment)

Initial values: 0001703A 04C00074 9801483A 9CFFF804 983FFD1E 0000203A

Not here: reserved fields are non-zero

Looking for EPCS registers at address 0x04009900 (with 32bit alignment)

Initial values: 92400237 4A40100C 483FFD26 90000135 92400237 4A40200C

Not here: reserved fields are non-zero

Looking for EPCS registers at address 0x04009C00 (with 32bit alignment)

Initial values: 00000000 00000000 00000260 00000000 00000000 00000001

Valid registers found

EPCS signature is 0xFF

EPCS device doesn't support RDID command

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

Unable to use EPCS device

Leaving target processor paused

I am not getting where is the error. Thank u in advance for your help

2 Replies

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

    The flash programmer (AFAIK) is only intended for EPCS devices. You'll have to figure out another way to program the UFM on your MaxII device. Have a look at AN489 for reference.

    Regards,

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

    emmanuelajit

    Have you find the solution of your problem? Because i have the same problem and i cannot solve it?

    Thank you,Slava.