M
Maciej Witaszek
Guest
Hi,
I have the NIOS developer board with APEX FPGA.It has a SODIMM socket for
SDRAM module. I use a Micron MT8LSDT864HG-10ECS.
I make a Quartus project based on verilog/standard_32. I use nios_32 CPU.
I create a new memory configuration based on Micron datasheet and I put
it into class.ptf from altera_avalon_new_sdram_controller.
I write a simple program that can read and write memory maped in sdram.
This configuration has Location Vector, Program and Data memory set to
ext_ram which is SRAM.
But next I change Progam and Data memory to sdram. Program is compiled
correctly and srecord looks ok. I load it to board using nios-run.
When program starts it prints only "Return address is 0x00000000" and
returns to GERMS. The same situation is which all demo programs from
cpu_sdk and my own programs.
I will be very thankful for any help.
Best regards,
Maciej Witaszek
--
Maciej Witaszek
nospam_mwitaszek@elka.pw.edu.pl
remove "nospam_" from my address
I have the NIOS developer board with APEX FPGA.It has a SODIMM socket for
SDRAM module. I use a Micron MT8LSDT864HG-10ECS.
I make a Quartus project based on verilog/standard_32. I use nios_32 CPU.
I create a new memory configuration based on Micron datasheet and I put
it into class.ptf from altera_avalon_new_sdram_controller.
I write a simple program that can read and write memory maped in sdram.
This configuration has Location Vector, Program and Data memory set to
ext_ram which is SRAM.
But next I change Progam and Data memory to sdram. Program is compiled
correctly and srecord looks ok. I load it to board using nios-run.
When program starts it prints only "Return address is 0x00000000" and
returns to GERMS. The same situation is which all demo programs from
cpu_sdk and my own programs.
I will be very thankful for any help.
Best regards,
Maciej Witaszek
--
Maciej Witaszek
nospam_mwitaszek@elka.pw.edu.pl
remove "nospam_" from my address