Altera_Forum
Honored Contributor
13 years agoNIOS II Locking Up
I am using the 11.1 version of the Eclipse tools. I am having trouble getting through my start up code that takes about 8 seconds. I have 2 points of information.
1) Sometimes it works and sometimes it locks up after changing the code. I have finally determined that I can repeat a line of code i = 0; i = 0; and the code will run again until some other change locks it up. Take one of the lines back out it stops add it back it runs? I spent a while looking at the addresses in the map file and could not determine anything. I seem to have this happen in multiple C++ files. 2) I ran it through the debugger. And it locked up similar to when running from FLASH. So I stepped through the code and it ran. Run it straight again and it locks up. I tried some break points and if the breaks are close to the area that appeared to be locking up it runs (based on debug messages), remove the break points it locks up. Does anyone have any thoughts on this? Thanks