Forum Discussion

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

Flash programmer problem-No CFI table found

My board's extend flash is AM29LV320.when i use flash programmer to download the code,it shows the following prompt:

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

Resetting and pausing target processor: OK

Reading System ID at address 0x00404040:

verified

No CFI table found at address 0x00200000

Leaving target processor paused

Can anyone help me in sorting out this issue?

THS!

Handsome

15 Replies

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

    Hello handsome, WP/ACC could be left floating, because there is a pull up resitor inside.

    You have set the base address to 0x00000000, correct ?

    Set t(setup), t(hold) and t(wait) to 200ns, we can increase the speed later!

    Have you connected pin BYTE to VCC or GND ??? It's really important to know that!
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi,Maestro666,as your advice,i typed the commond----nios2-flash-programmer --base=0x00000000 --debug

    It still shows that:No CFI table found at address 0x00000000.

    I locked the base_address of flash,make it to 0x00000000.

    BTW,I made pin--WP/ACC and NC(13-pin) floating.

    t(setup)=50ns;t(wait)=40ns;t(hold)=35ns;

    Waiting for your reply!

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

    hi,i connected EA[21..0]with A[20..0]of flash----AM29LV320,and the pin-EA0 is floating!but it still dosen't work!what can i do!it's so annoying!

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

    Have you selected "Byte" or "Word" mode for your flash ??? Type following command in nios2 command console:

    nios2-flash-programmer --base=0x00200000 --debug

    If you see the cfi table, then you can be shure that your flash is correct connected.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Try running the nios2-flash-programmer.exe from the nios2 command console with the --debug option and look at the CFI table. The most likely cause of this problem is the address lines are off by one i.e. the SOPC A0 bit should go to the A(-1) bit of the Flash.