System does not have any flash memory" error, Probable cause, Suggested actions – Altera Nios II User Manual
Page 33: Base address not aligned on size of device" error, Reading system id at address 0x

Appendix D: Troubleshooting
D–3
"System does not have any flash memory" Error
© March 2014
Altera Corporation
Nios II Flash Programmer User Guide
■
Ensure that the EPCS device is correctly connected to the FPGA on the board.
Verify the EPCS connection by running the "Test EPCS" routine in the "Memory
Test" software template provided by 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
■
Use the Quartus II Programmer to program the EPCS device directly via a JTAG
download cable, and verify that the EPCS device successfully configures the
FPGA.
■
Run nios2-flash-programmer from the command line with the --epcs parameter.
This command displays information about the flash memory in the EPCS device.
For further details, see
Chapter 3, Using the Flash Programmer from the
.
"System does not have any flash memory" Error
When you run the flash programmer, you get the error: "The Qsys system does not
have any flash memory."
Probable Cause
The FPGA is not currently configured with a valid flash programmer target design.
Suggested Actions
If practical, upgrade your FPGA design to meet the criteria for a flash programmer
target design. Refer to
“Flash Programmer Target Design” on page 1–3
for details.
"Reading System ID at address 0x
: FAIL" ErrorWhen you run the Nios II Flash Programmer GUI, you get the error: "Reading System
ID at address 0x
Probable Cause
The FPGA is not currently configured with the target design that corresponds to the
BSP project for the software application in the Nios II Software Build Tools for Eclipse.
Suggested Actions
Use the Quartus II Programmer to download the correct FPGA configuration file to
the FPGA, then try using the Nios II Flash Programmer again.
"Base address not aligned on size of device" Error
When you run the flash programmer, you get the error message Base address not
aligned on size of device
.