Forum Discussion
Hi,
I am expecting you checked the code by running it step by step to know that the NIOS II jumps back after executing the three functions. Can you check if the NIOS II restarts after executing these three functions?
If yes you have to check for any invalid instructions made by the system. I recommend you to set an IP in the Qsys design to be the "Default Slave" IP to clear any invalid instructions to avoid the false reset. This false reset happens if the cash is full/overlapped and etc.
Regards,
- JBlec26 years ago
Occasional Contributor
>I am expecting you checked the code by running it step by step to know that the NIOS II jumps back after executing the three >functions. Can you check if the NIOS II restarts after executing these three functions?
>If yes you have to check for any invalid instructions made by the system.
Yes I first was just surprised. Then I launched the Debugger ( the Bug-icon) it goes through instructions step by step. Even as a beginner I saw clear signs that it really "jumps" back.
>Can you check if the NIOS II restarts after executing these three functions?
This is what I am really curious about. I couldn't understand it with my methods of debugging I will change some pointers to be not global. Maybe this is what crashes it down. I also will check if the error messages are allowed on all levels so I can see if there are some hidden errors noticed by the compiler
> I recommend you to set an IP in the Qsys design to be the "Default Slave" IP to clear any invalid instructions to avoid the false >reset. This false reset happens if the cash is full/overlapped and etc.
Interesting ! First I will check, like I said the global variables and pointers. If this won't help I will invest time to setup a "Default Slave" ( havn't done it before - this is why I didnt do first).
Thank you a lot . It was improtant for me to talk about this- I will check it out :D
Regards :D