Altera_Forum
Honored Contributor
19 years agoException Address Problem
I am new to using NIOS II and have run through a number of examples and tutorials successfully.
I have been able to succesfully run the "Hello World" program on the "standard" example for the NIOS II Cyclone 1C20 development board (in ../kits/nios2_51/examples/vhdl/niosII_cyclone_1c20/standard). I have then attempted to modify this example by changing the Exception address to map to the ext_ram memory module as opposed to the SDRAM memory module in the "More NIOS II cpu Settings" tab in SOPC builder. I can see the exception address changes to within a valid address for my system (0x02000020) I then rebuild in SOPC Builder, update the symbol and recomple in Quartus. I then download the new program to the FPGA and launch the NIOS II IDE from SOPC builder. I then select a new project based on the "hello world" template and ensure that this project is based on the correct ptf builder file. If i then go to system library in properties of the syslib folder that has been created i see that the program memory, read only data memory and read/write data memory heap memory and stack memory are all set to SDRAM. This conflicts with the settings i made in builder. Is this correct? I can select ext_ram from the drop down menu for the above memories and then run the application, however i do not see "Hello World" printed to the console window. Apart from the lack of a printf to the console the program does appear to be running. Can anyone help me understand why this occurs and what i need to do to make my system behave. Thanks in advance Conners