Altera_Forum
Honored Contributor
13 years agoFrequent JTAG problems with NIOS II on DE1
We built out an electronics lab with 30 DE1 boards, and built a NIOS II system to do some microprocessor labs. So far we've been very happy with the platform overall, but there's been constant jtag connection issues for us, as well. (The machines in the lab are running 32-bit Windows 7, but my 64-bit Win 7 laptop has similar issues, though not as often it seems.)
The big ones are: 1) Often, when setting up the debug configuration, Eclipse warns that there is no device attached, and pressing refresh on the Target Connection tab only works sometimes. (Sometimes pressing it twice works? Sometimes it never works, and you have to restart eclipse.) 2) In relation to the first part, after getting it working once, when you shut down the system and come back to it the next day, if you press the debug button directly, you almost always get 'The system console model is invalid.' error. After getting it today I immediately dropped to a command prompt to get the jtagconfig info: C:\altera\12.0sp1\quartus\bin>jtagconfig 1) USB-Blaster [USB-0] Unable to read device chain (JTAG chain broken) So I ran it again immediately, and... C:\altera\12.0sp1\quartus\bin>jtagconfig 1) USB-Blaster [USB-0] 020B30DD EP2C(15|20) Even after 'preheating' the jtag like this, you STILL have to manually go into debug configurations and press 'Refresh Connections' almost every time. Usually that works. Sometimes you have to restart eclipse again. Note that it's almost always Eclipse that needs to be restarted. Power cycling the board never seems to be the issue (at least it's never fixed it as far as I know.) Any guesses as to what's happening? Or how I can ensure the jtag server is starting properly and/or get more ACTUAL details on the 'System console model is invalid.' error?