Forum Discussion
Altera_Forum
Honored Contributor
19 years agoBeginners problems. i need assistance...
Before you read this: it may look like i am ranting and raving. That is not the case. I am just frustrated after a week of problems, that's all. All the questions i have are very simple basi...
Altera_Forum
Honored Contributor
19 years ago1. I have run into the system crash before as well. I find that if you build the project before you *** any files the problem goes away.
2. NIOS II HAL already has an interrupt handler you can find information on how to use it here (http://www.altera.com/literature/hb/nios2/n2sw_nii52006.pdf). 3. I don't think you can put a variable at a specfic address (some else may correct me); however, you can put it into a specific memory area. example:
alt_u32 foo __attribute__((.section(".sdram"))); // usually a global variable
you can find out which memory areas there are in the system library properties. 4. Most of your question can be anwered in the nios ii software development handbook (http://www.altera.com/literature/hb/nios2/n2sw_nii5v2.pdf). 5. Also I suggest you take the time to watch the Altera Demonstrations Course: nios ii integrated development environment (ide) overview (http://www.demosondemand.com/trainingapp/player/index.asp?sessid=alt075&promotion_id=1626&starttime=0), it will help you better understand the NIOS II IDE. 6. All NIOS II Literature is here (http://www.altera.com/literature/lit-nio2.jsp). Hope this will answer your questions.