Forum Discussion
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- Then there is a need to observe some of the registers and memory locations and I decided to use the system-console. In the single appeals operations such as master _read _32/master _write _32 are working normally. The problem manifested itself when I wrote the script in tcl using after time proc _name. After a few minutes (from 1 to 10) FPGA configuration has to lose. I tried to make a very simple project and the problem persists. --- Quote End --- System-console can also be used via TCP/IP and NIOS II. I would try that next. Perhaps the issue is related to the use of the JTAG interface. The Tcl 'after' statement should not cause any issues. That should just be delaying Tcl. However, system-console is not a real Tcl console, as fileevent does not work, info nameofexecutable does not work, Tk does not work, and a few other standard Tcl things I've tried. When system-console has an open connection over JTAG is polls the JTAG interface a lot. Perhaps by using an after statement in your Tcl, you are somehow stalling the internal system-console event loop, and that is the root cause of your issue. The other JTAG option you can try is the SLD Virtual JTAG component, and then access that from quartus_stp. That application only generates JTAG activity when you issue Tcl commands. Cheers, Dave