Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12589 Discussions

No Nios II target connection

MHahn4
New Contributor I
2,441 Views

Hi,

 

I'm trying to get the Hello World Nios II example to run on an Cyclone 10 GX. The design build and the sof-programming run without a problem. But the Nios II Eclipse can't find the Nios as target connection.

 

In the "Run Configuration" dialog it shows:

 

No Nios II target connection paths were located. Check connections and that a Nios II .sof is downloaded.

The Nios II system is pretty basic:

 

Nios2System.JPG

 

 

 

with the following settings:

  • Clk Input is 100 MHz (50 Mhz doesn't work neither)
  • Reset Input is active high
  • Nios II:
    • Nios II/e
    • Reset/Exception vector memory: OnChipRAM.s1
    • Include JTAG Debug
    • The rest is unchanged
  • OnChipRAM:
    • Type: RAM
    • Block type: Auto
    • Size: 200000 bytes
    • The rest is unchanged
  • The other components (JtagUart / SystemID / PioOutput) have the default settings

 

And I've checked, that the Nios Core is part of the design (using the Technology Map Viewer of the final snapshot).

 

Can you please give me a hint what I'm doing wrong?

 

Thanks

0 Kudos
6 Replies
AnandRaj_S_Intel
Employee
2,145 Views

Hi,

 

Before "run as hardware" you should configure the fpga with the .sof file generated

 

If you get a popup saying "no Nios II target connection paths were located", go under the Target connection tab, click refresh connections.

 

Have you download the correct .sof ?

Have you selected correct sopcinfo file while creating the eclipse project?

Check pin assignments of clk and reset?

 

Regards

Anand

 

0 Kudos
MHahn4
New Contributor I
2,146 Views

Hi,

 

Yes, the correct .sof file is downloaded to the FPGA and runs.

 

Yes, it is the correct sopcinfo file.

 

Clk (100Mhz) and Reset (high active) are correctly connected and are working.

 

The Target connection tab shows no target even after multiple refreshes.

 

I've set the following clock constraints:

 

create_clock -name {CLK_100MHz} -period 10.000 -waveform { 0.000 5.000 } [get_ports {CLK_100MHz}] derive_pll_clocks   create_clock -period "30.303 ns" -name {altera_reserved_tck} {altera_reserved_tck}

The altera_reserved_tck constraint is based on this Knowledge Base article.

0 Kudos
AnandRaj_S_Intel
Employee
2,148 Views

Hi Michael,

 

Click on the checkbox "Ignore mismatched timestamp" and "Ignore mismatched system ID"

and click refresh connections.

 

Regards

Anand

0 Kudos
MHahn4
New Contributor I
2,148 Views

Hi,

 

That doesn't work neither.

 

But I had it shown up for once as a target connection (without changing anything) this morning, and after that the problem came back ...

0 Kudos
MHahn4
New Contributor I
2,148 Views

Based on this documentation, a jtagconfig -n should output something like

$ jtagconfig -n 1) Intel® FPGA Download Cable [USB-0] 020050DD EP1S40/_HARDCOPY_FPGA_PROTOTYPE Node 11104600 Node 0C006E00

But mine outputs no nodes:

 

Jtagconfig_Screenshot.JPG

 

could this be the reason? And how to solve this?

0 Kudos
AnandRaj_S_Intel
Employee
2,148 Views

Hi Michael,

 

Regarding Jtagconfig -n.

  1. Your image does not contain a Nios II processor with a JTAG debug module enabled or JTAG UART component.
  2. Load image with Nios II processor with a JTAG debug module enabled

For example, check the image

 

Are you using a cyclone 10 GX dev kit? IF yes please try to load the factory image.

 

Regards

Anandjtagconfig-n.JPG

0 Kudos
Reply