Forum Discussion

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

Unable to open flash-device

Hi lads , does any body know haw to solve this one :

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

--- Quote Start ---

10 juin 2005 16:59:16 - (INFO) nios2-flash-programmer: Launching

Quartus Programmer to download:

C:/altera/kits/nios2/components/ZC005/system/ZC005.sof

10 juin 2005 16:59:23 - (GRAVE) nios2-flash-programmer: Error opening

target hardware

10 juin 2005 16:59:23 - (GRAVE) nios2-flash-programmer: Unable to

open flash-device after successfully communicating

with target.

It is likely that you are using a flash-programming FPGA design which

was not created for your target board.[/b]

--- Quote End ---

- I can program my EPCS all right with the JTAG, so my JTAG_UART is fine.

- I am using a 1 MBytes 29LV081B-70 Flash with Thold = Tsetup = 40 ns and Twait = 160 ns

- I have try to increased my PLL clock from 50 MHz to 70 MHz, without success.

does anybody have any ideas ???.

http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif .

3 Replies

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

    gregoryw,

    This message means that programming is failing in the first step, downloading the programming .sof to the board. This programming operation is downloading to the FPGA -- if you have a different JTAG header on your board that you were using for the EPCS chip independently, you might double check to see that the cable is correct.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I can program the EPCS with the JTAG using the flash programmer , and I can also use it to debug on the IDE console when I am using OnChipMemory, so I think the JTAG is OK. Any others ideas ?.

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

    An update : when I run the memtest from the SRAM and I try to test my flash, I get the following message :

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

    --- Quote Start ---

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

    Memory Test Main Menu

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

    a: Test RAM

    b: Test Flash

    q: Exit

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

    Select Choice (a-http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/cool.gif : [Followed by <enter>]b

    Enter the name of the CFI flash device to be opened,

    or just press <enter> to open "/dev/ext_flash")

    >

    -ERROR: Could not open /dev/ext_flash[/b]

    --- Quote End ---

    it seems that my AMD flash can not be reconized. So I m wondering if there is a list somewhere in the ALTERA sources that tells how to reconize if a flash is an AMD an INTEL or something else ???.

    heeeeeelp http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif