Nios® II Software Developer Handbook

ID 683525
Date 8/28/2023
Public
Document Table of Contents

3.2.7.2. Using the Intel FPGA Bytestream Console

The Intel FPGA bytestream console enables you to see output from the processor's stdout and stderr devices, and send input to its stdin device. The function of the Intel FPGA bytestream console is similar to the nios2-terminal command-line utility.

Open the Intel FPGA bytestream console in the Eclipse Console view the same way as any other Eclipse console, by clicking the Open Console button.

When you open the Intel FPGA bytestream console, the Bytestream Console Selection dialog box shows you a list of available bytestreams. This is the same set of bytestreams recognized by System Console. Select the bytestream connected to the processor you are debugging.

You can send characters to the processor's stdin device by typing in the bytestream console. Be aware that console input in buffered on a line-by-line basis. Therefore, the processor does not receive any characters until you press the Enter key.

Note: A bytestream device can support only one connection at a time. You must close the Intel FPGA bytestream console before attempting to connect to the processor with the nios2-terminal utility, and vice versa.