Community
cancel
Showing results for 
Search instead for 
Did you mean: 
YSuzu21
New Contributor I
145 Views

About debugging using JTAGUART

Jump to solution

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
89 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
90 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

YSuzu21
New Contributor I
89 Views

Thank you for your reply.

Isaac_V_Intel
Employee
89 Views

You're welcome!

Reply