Forum Discussion

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

No CFI table found at address 0x04000000

Hello everyone, I'm trying to execute bit on tutorial "My first tutorial nios II", in which I use System Building and SOPC. In SOPC add to my system also Flash memory interface (CFI). My problem is that when I go to use the flash programmer in NIOS II IDE, the console displays the following message:

# / 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 :/ Users/Raffaele/Desktop/my_first_niosii/software/hello_world_0/Debug

# Creating. Flash file for the project

"$ SOPC_KIT_NIOS2/bin/elf2flash" - base = 0x04000000 - end = 0x7ffffff - reset = 0x4000

020 - input = "hello_world_0.elf" - output = "cfi_flash_0.flash" - boot = "C :/ alters / 1

1.0sp1/ip/altera/nios2_ip/altera_nios2/boot_loader_cfi.srec "

# Programming flash with the project

"$ SOPC_KIT_NIOS2/bin/nios2-flash-programmer" - base = 0x04000000 "cfi_flash_0.fla

sh "

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

Resetting and pausing target processor: OK

No CFI table found at address 0x04000000

Leaving target processor paused

I tried to perform a variety of ways but to no avail.

how can I solve my problem?

P.S: I use a NIOS II \ \ e.

5 Replies

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

    Hi, welcome to the club "No CFI table found at address 0X...".

    Have you already read other threads : http://www.alteraforum.com/forum/showthread.php?t=2219, http://www.alteraforum.com/forum/showthread.php?t=33412, http://www.alteraforum.com/forum/showthread.php?t=26623, ... ?

    Many this problem comes from bat timing, bad signals.

    a few from bad flash component, or conflicts in a bus

    From a nios ii command Shell, go to the directory containing "cfi_flash_0.flash" by a command similar to :

    cd /cygdrive/c/myproject/software/

    and run :

    "$SOPC_KIT_NIOS2/bin/nios2-flash-programmer" --debug --base=0x04000000" cfi_flash_0.flash

    And post here the results.

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

    hello, first of all thank you for answering. You've already read these forums and many others, but unfortunately to no avail. I ran the command suggested and the result is as follows:

    cfi_flash_0.flash: unable to open input file

    Empty flash content can not be programmed or verified

    Appearance your feedback about
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    The .flash file is not found, in Nios II command shell, type :

    cd /cygdrive/C/Users/Raffaele/Desktop/my_first_niosii/software/hello_world_0/Debug

    and then

    "$SOPC_KIT_NIOS2/bin/nios2-flash-programmer" --debug --base=0x04000000" cfi_flash_0.flash
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    ok, sorry wrong typing the command. however, the result of the command is in the attached image.