Doug,
Did you ever figure out your problem?
I am also developing a custom board. I also get the mysterious error:
assertion "m_state == STATE_DEBUG" failed file "nios2debug.cpp", line 1695 signal 6
What does this message mean? I just opened an SR with Altera, but have been stuck with this for a couple of weeks now....
My conditions are as follows:
I get this error just by reversing the order of how I open my tools. If I open a shell to load my hardware before opening IDE I get the error.
If I open IDE before opening my SDK shell I DO NOT get error. The result is reproducible with some of my boards. Other boards will hang with the message:
nios2-terminal: (Use the IDE stop button or Ctrl-C to terminate)
or not respond to further commands.
I am in a jam because my boards have been manufactured and assembled and are ready for production , and now this error shows up.
-Baycool
I am using Quartus 5.0 and Nios II 5.0 with a Full License for both