Altera_Forum
Honored Contributor
15 years agoJTAG UART & nios2-terminal comm problems
All--
I've got a JTAG UART issue I'm running into and I'm hoping someone out there might be able to help out. For whatever reason, nios2-terminal loses connection on an intermittent basis. It can take a minute upwards to 10 minutes but it always fails, giving me the error: --- Quote Start --- nios2-terminal: exiting due to I/O error communicating with target --- Quote End --- My system consists of an EP3C55 Cyclone III part. SOPC builder is configured with JTAG UART, NIOS II/f, an SRAM component, a FLASH CFI component, and several other items. I'm connected to the target through a USB-Blaster. I don't believe it is a FPGA configuration issue. I've used the Quartus programmer to simply load in the .sof file and then connected via nios2-terminal (without loading any sort of .elf file or executing code), and I see the error. If I proceed with loading in an .elf file and execute my NIOS code, the code continues to work correctly in spite of the communication loss. When I execute nios2-terminal after a connection error, connections re-establish and the JTAG UART comms run again (at least for a while.) Any ideas? We are connecting from the USB Blaster to the board using a connector interface that has been kludge-wired. I'm suspecting that this may be inducing some noise and the source of our trouble, but it's hard to definitely say that is the cause. Thanks, --tim