beautypg.com

No cfi table found" error, Probable cause, Suggested actions – Altera Nios II User Manual

Page 32: No epcs registers found" error

background image

D–2

Appendix D: Troubleshooting

"No CFI table found" Error

Nios II Flash Programmer User Guide

© March 2014

Altera Corporation

"No CFI table found" Error

When you run the flash programmer to program CFI flash memory, you get the error:
"No CFI table found at address "

Probable Cause

The flash programmer can connect with a Nios II JTAG debug module in the FPGA,
but it can not successfully execute a query to a flash memory at the base address
specified.

Suggested Actions

If you are using nios2-flash-programmer from the command line, make sure you
specified the correct base address for the CFI device. You can find the flash
memory's base address in Qsys.

Run nios2-flash-programmer from the command line with the --debug
parameter. This command dumps the flash memory's query table. Compare the
output with the flash memory device's data sheet. For further details, see

Chapter 3, Using the Flash Programmer from the Command Line

.

Ensure your flash memory hardware is correctly connected to place it at the base
address specified in Qsys. Verify the base address by running the "Test Flash"
routine in the "Memory Test" software template provided in the Nios II EDS. If the
test fails, there is a problem with your memory connection. There are two places to
look for the problem:

The physical connection on your target board

The pin assignments on the top-level FPGA design

If all else fails, make sure the flash memory device you are using does not require
an override file. Refer to

Appendix A, Non-Standard Flash Memories

for details.

"No EPCS registers found" Error

When you run the flash programmer to program an EPCS device, you get the error:
"No EPCS registers found: tried looking at addresses...."

Probable Cause

The flash programmer can connect with a Nios II JTAG debug module in the FPGA,
but it can not successfully find an EPCS device located at the specified base address.

Suggested Actions

Reconfigure the FPGA with a valid target design via JTAG using the Quartus II
programmer. If the FPGA is configured by another method, such as by a
configuration controller, the pins that connect to the EPCS device might be
disabled.

If you are using nios2-flash-programmer from the command line, make sure you
specified the correct base address for your EPCS device. You can find the flash
memory's base address in Qsys.