Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
15478 Discussions

About debugging using JTAGUART

YSuzu21
New Contributor I
229 Views

Write a NIOS/e program to QSPI memory.

I would like to debug using JTAGUART with NIOS II SBT, but is it possible?

Because the program exceeds the capacity of on-chip memory The program is written to the QSPI memory.

 

0 Kudos
1 Solution
Isaac_V_Intel
Employee
173 Views

Hi Yasuyuki,

 

Here is my answer,

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>

 

Let me know if this works for your issue.

 

Best regards,

Isaac.

View solution in original post

3 Replies
Isaac_V_Intel
Employee
174 Views

Hi Yasuyuki,

 

Here is my answer,

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>

 

Let me know if this works for your issue.

 

Best regards,

Isaac.

YSuzu21
New Contributor I
173 Views

Thank you for your reply.

Isaac_V_Intel
Employee
173 Views

You're welcome!

Reply