Altera_Forum
Honored Contributor
14 years agoNIOS + DE2 + Flash Memory + Errors
I created a new project with a SOPC builder system with the following modules:
- NIOS II/e
- JTAG UART
- Avalon Tristate Bridge
- Flash Memory Interface (CFI)
module sopc_flash_mem(
input CLOCK_50,
input KEY,
output FL_ADDR,
output FL_CE_N,
output FL_OE_N,
output FL_RST_N,
output FL_WE_N,
inout FL_DQ
);
wire in;
nios_system nios_system_inst(
.address_to_the_flash (FL_ADDR),
.clk_0 (CLOCK_50),
.data_to_and_from_the_flash (FL_DQ),
.in_port_to_the_pio_0 (in),
.read_n_to_the_flash (FL_OE_N),
.reset_n (FL_RST_N),
.select_n_to_the_flash (FL_CE_N),
.write_n_to_the_flash (FL_WE_N)
);
endmodule
When I try to create a new project in the NIOS IDE (Hello World template), I get the following error:
Project cannot be created
Reason: The SOPC Builder System does not have a writable memory device mastered by the specified CPU's data master
I went into the .ptf file and manually changed "Is_Writeable = 0" to 1 in the data_master section but that didn't help. Any ideas?