UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Observer 3dpeter
Observer
369 Views
Registered: ‎06-06-2018

How to create a new TCF Agent connection in SDx 2018.2?

Jump to solution

Hi,

When I was in SDx2018.2 "debug configuration" window, and tried to make a new TCF connection by entering target name and board ip, and after clicking “test connection” button, I got an error “There is no TCF Agent running on the specified ‘ip address’”. 

I am new to FPGA, SDSoC, Xilinx tools and linux, it would be highly appreciated if someone can help.

Detail steps:

1) In SDx 2018.2, mouse right click on the application folder in project explorer -> debug as -> debug configurations -> click "new" button circled in red as below 

linux_agent1.jpg

 

2) Filled in target name (I'm using zedboard so I used this as target name) and ip of the zedboard, and then clicked "test connection".


linux_agent4.jpg
\

3) Then error message appeared as below for zedboard ip.

linux_agent5.jpg

Things that I have checked as below:

A). After linux boot up finished on zedboard, I can see the "starting tcf-agent: ok" on the Tera Term via UART. (I am not sure if it is correlated)

B)  I can successfully ping the zedboard ip address '127.0.0.1' from MS-DOS prompt on the connected laptop

linux_agent2.jpg

 

 

0 Kudos
1 Solution

Accepted Solutions
Xilinx Employee
Xilinx Employee
356 Views
Registered: ‎08-20-2018

Re: How to create a new TCF Agent connection in SDx 2018.2?

Jump to solution

Hi @3dpeter  

Set the IP address of the board.

1.   Set the host's Ethernet address to a static IP (suggested: 192.168.1.10).

2.   In serial console of the board,  

Enter the following at the serial port terminal to change the IP address of the board to 192.168.1.11:

ifconfig eth0 192.168.1.11

Note: This can be any address other than the one that the host is configured to.

3. Configure the target connection to communicate to the host PC.

4.  Verify the IP address by entering the following command:

ifconfig eth0

5.   Ping the host using the Linux terminal console to verify connectivity between the host and the target:

ping 192.168.1.10 –c 1

This verifies the Ethernet connectivity between the host and the development board.

Ping should be successful indicated by 0% packet loss.

6.   Return to the SDx tool.

7.   Expand Linux TCF Agent using the Target Connections view.

Optional: If the Target Connections view is not visible, then select Window > Show View > Other > Xilinx > Target Connections and click OK.

8.   Select and right-click Linux Agent [default] and select Edit from the context menu.

edit_linux_agent.png

Change the host address to 192.168.1.11

host_address_change.png

Best Regards,
Nutan
-------------------------------------------------------------------------------
Please don't forget to reply, kudo and accept as a solution
0 Kudos
4 Replies
Xilinx Employee
Xilinx Employee
361 Views
Registered: ‎10-21-2010

Re: How to create a new TCF Agent connection in SDx 2018.2?

Jump to solution

Hi @3dpeter,

127.0.0.1 is a local IP for every machine, so if you ping this address from your Windows machine, it doesn't check the connection to your board. If your board is connected directly to your machine thru a ethernet cable, then you can assign it a IP by running this command on the board

ifconfig eth0 192.168.0.1 up

Then you need to assign similar IP (ex. 192.168.0.2) to your host machine from TCP/IPv4 settings. After this, check the connection b/w the board and host thru ping

0 Kudos
Xilinx Employee
Xilinx Employee
357 Views
Registered: ‎08-20-2018

Re: How to create a new TCF Agent connection in SDx 2018.2?

Jump to solution

Hi @3dpeter  

Set the IP address of the board.

1.   Set the host's Ethernet address to a static IP (suggested: 192.168.1.10).

2.   In serial console of the board,  

Enter the following at the serial port terminal to change the IP address of the board to 192.168.1.11:

ifconfig eth0 192.168.1.11

Note: This can be any address other than the one that the host is configured to.

3. Configure the target connection to communicate to the host PC.

4.  Verify the IP address by entering the following command:

ifconfig eth0

5.   Ping the host using the Linux terminal console to verify connectivity between the host and the target:

ping 192.168.1.10 –c 1

This verifies the Ethernet connectivity between the host and the development board.

Ping should be successful indicated by 0% packet loss.

6.   Return to the SDx tool.

7.   Expand Linux TCF Agent using the Target Connections view.

Optional: If the Target Connections view is not visible, then select Window > Show View > Other > Xilinx > Target Connections and click OK.

8.   Select and right-click Linux Agent [default] and select Edit from the context menu.

edit_linux_agent.png

Change the host address to 192.168.1.11

host_address_change.png

Best Regards,
Nutan
-------------------------------------------------------------------------------
Please don't forget to reply, kudo and accept as a solution
0 Kudos
Observer 3dpeter
Observer
312 Views
Registered: ‎06-06-2018

Re: How to create a new TCF Agent connection in SDx 2018.2?

Jump to solution

Hi Sadanan and nutang,

It works after I changed board ip and laptop ip to 192.168.1.x per your instructions, thank you.

0 Kudos
Observer moritzatconti
Observer
184 Views
Registered: ‎05-14-2019

Re: How to create a new TCF Agent connection in SDx 2018.2?

Jump to solution

Hi,

I followed your steps to set up the static iP-adresses but I don't get a response when trying to ping my host from the board (the other direction is successful).

What could be the issue for this?

Thanks alot

0 Kudos