Knowledge Base Article

How do I access the JTAG UART of my Nios II processor system?

Description

When running and debugging code using the Nios II IDE, you can automatically connect to the JTAG UART of your system by following these steps:

  1. Open the Run/Debug configuration (Go to the Run menu, choose Run/Debug and select the run/debug configuration you are using)
  2. Select the Target Connection tab
  3. Choose the JTAG UART in the Nios II Terminal communication device list box

If you want to access the JTAG UART on the target Nios II system outside of the Nios II IDE, open a Nios II SDK Shell and type the following command:

nios2-teminal

If you get the message "You have multiple JTAG cables available", type in the following to get a list of the cables available:

jtagconfig

Note the number of the cable that you want to use, and type the following:

nios2-terminal -- cable=<cable number>

Updated 3 months ago
Version 2.0
No CommentsBe the first to comment