Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17254 Discussions

No CFI table found at address 0x04000000

Altera_Forum
Honored Contributor II
3,439 Views

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.
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
2,145 Views

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.
0 Kudos
Altera_Forum
Honored Contributor II
2,145 Views

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
0 Kudos
Altera_Forum
Honored Contributor II
2,145 Views

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
0 Kudos
Altera_Forum
Honored Contributor II
2,145 Views

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

0 Kudos
Altera_Forum
Honored Contributor II
2,145 Views

Hi, maybe look at http://www.alteraforum.com/forum/showthread.php?t=16353, you may have to write a "overridden data" : a simple file containing some charachteristics of the FLASH. 

 

But I am not sure that your problem is a non-recognized FLASH (you are using a custom board ?). You got stange data at the first CFI QueRY.
0 Kudos
Reply