Post Go back to editing

TES unable to connect to ADRV9002NP/W1/PCBZ + ZC706 (Avnet) , unable to ping 192.168.1.10

Hello,

I am unable to connect  using TES to ADRV9002 and ZC706 Combo.

My setup is ADRV9002NP/W1/PCBZ + ZC706 (Avnet logo board).

The PC is set to 192.168.1.2  and connected to ZC706.  However, I am not able to connect using TES to 192.168.1.10 (ZC706).

Furthermore, I am not able to ping 192.168.1.10 address, so I guess the issue is not the TES software but the Board or SD cards.

I have tried both the SD card that was shipped with the ADRV9002 board labelled "for ADRV9001 TES software R0.2 2020.12" and the SD card that I have created using the instructions on the AD website:

 https://ez.analog.com/wide-band-rf-transceivers/tes-gui-software-support-adrv9001-adrv9007/w/documents/15510/a-sd-card-image-sdk-13-or-higher 

Using any card I am not able to ping 192.168.1.10.

The LED are behaving as follows when using SD card created by using the instructions from the link:

On Z706 - PL GPIO LED - flashing in rolling manner with 3 on and 1 off left to right.

On ADRV9002 - DS501 ON, D801 - ON, DS703 System OK - flashing.

The PC is able to ping itself 192.168.1.2 when the ZC706 is powered on, but pings to 192.168.1.10 timeout. 

 Please advise how to troubleshoot the connectivity problem further.




[edited by: DSPdesigner at 9:09 AM (GMT -4) on 20 Apr 2022]
Parents
  • Hi,

    Thanks for already doing so much debugging, this is quite valuable.

    I'll point you to this page, in case you haven't seen it already: TES Connection Issues - Documents - TES GUI & Software Support ADRV9001 – ADRV9007 - EngineerZone (analog.com)

    Everything you have sounds correct. My instinct would be that there is a connection issue. Make sure that your firewall isn't blocking connection to the ZC706. Also, ensure that the port that you have set to 192.168.1.2 on your PC is the one connected to the ZC706 in the case of your PC having more than one ethernet port or if you're using a USB to Ethernet connector.

    Best Regards,

    Conrad

  • Yes, I have already reviewed the "TES connection Issues" document, but was not able to resolve the connectivity issue. 

    The PC has only one internet port that is directly connected to ZC706.   

    The PC with the fixed local address (192.168.1.2) cannot ping 192.168.1.10 when ZC706 boots with ARDV9002 SD card inserted. 

    An observation, I also have ADRV9371.  If I replace ADRV9002 with ADRV9371 and replace ADRV9002 TES SD card with with ADRV9371 TES SD card I have no issues with connectivity.  I am able to ping ZC706.  Thus, I conclude the hardware - the PC, the cable and ZC706 board are ok. 

    A further interesting observation is as follows.  I am able to ping ZC706+ADRV9002 from the PC if I connect both PC and ZC706 to a DHCP router, and the router allocates dynamic IP addresses both to the PC and ZC706.   In this case the allocated addresses are not on 192.168.1.x network, but the ping and secure shell login to ZC706 work in in this case.    However TES, still won't connect.  Perhaps this is expected as the documentation implies that the PC must be 192.168.1.2.  

    I expect to get a basic demo going where PC and ZC706 connected without the need of a DHCP router.  Please confirm that the TES demo should be working without DHCP, where IP addresses are fixed. 

  • Hi,

    Those are interesting observations. Thanks for this.

    I can confirm that you should generally be able to use TES without the need for a DHCP router.

    Could you please connect the PC directly to your ZC706 and try to run the following command in cmd: "ping linaro-developer". Do you get any response here?

    Thanks,

    Conrad

  • Hi,

    I was able to ping lenaro-developer:

    Pinging linaro-developer [fe80::20a:35ff:fe00:122%5] with 32 bytes of data:
    Reply from fe80::20a:35ff:fe00:122%5: time<1ms
    Reply from fe80::20a:35ff:fe00:122%5: time<1ms
    Reply from fe80::20a:35ff:fe00:122%5: time<1ms
    Reply from fe80::20a:35ff:fe00:122%5: time<1ms

    Ping statistics for fe80::20a:35ff:fe00:122%5:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

    Futhermore I was able to login into lenaro-developer using secure shell 

    user: analog

    password: analog

    I then did ifconfig command:

    $ ifconfig
    eth0 Link encap:Ethernet HWaddr 00:0a:35:00:01:22
    inet6 addr: fe80::20a:35ff:fe00:122/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:113 errors:0 dropped:0 overruns:0 frame:0
    TX packets:76 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:10736 (10.7 KB) TX bytes:10472 (10.4 KB)
    Interrupt:28 Base address:0xb000

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:65536 Metric:1
    RX packets:719 errors:0 dropped:0 overruns:0 frame:0
    TX packets:719 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:59402 (59.4 KB) TX bytes:59402 (59.4 KB)

    Which now brings the question.  If 192.168.1.10 is not assigned to eth0, how do you expect TES to connect to this address?

    Please advise.

  • Hi,

    This is not the expected behavior. I believe that this is a bug. 

    The intended behavior is for the ZC706 to initially try to get assigned an IP address but if there is no DHCP server, it will revert to 192.168.1.10. This has not happened here for some reason.

    Can you please try to log in to ZC706 and go to /etc/networks. Replace the "interface" file with the attached file (but remove the .txt file extension).

    # interfaces(5) file used by ifup(8) and ifdown(8)
    # Include files from /etc/network/interfaces.d:
    source-directory /etc/network/interfaces.d
    
    auto eth0
    iface eth0 inet static
    address 192.168.1.10
    netmask 255.255.255.0
    

    Reboot your platform and now try to ping 192.168.1.10.

    Best Regards,

    Conrad

  • I did as you suggest.   After this I was able to ping 192.168.1.10.

    However, TES still fails to connect to 192.168.1.10.

     

    Another observation.   When I changed directory into 

    root@linaro-developer:/home/analog/adrv9001_server/resources/Adi.Adrv9001.Server

    and issued the ls command

    # ls

    Adrv9001Server_B0_37.0.0

    This is the server version that I see, i.e. 'B' -version.

    The marking on the ADRV9002 box says "(3Z)PSPEC/REV C - 01873B"

    Does it mean that I have revision "C "board, but the SD card contains revision "B" server?    Is this the problem? 

  • Hi,

    Yes, that could be a problem. Do you see the same thing with the SD card you created yourself?

    Thanks,

    Conrad

  • Hi Conrad,

    WE finally manged to get the system going.   There were 3 problems in total:

    1) The problem with the static IP - both with the suppled card and with the card we have created ourselves.   We had to manually edit interface file and assign the fixed IP address as you suggested.

    2) The supplied SD card had rev B server software whereas the board is rev C.  We had to create a new card with  Adrv9001Server_C0 software.

    3) The TES client itself had to be upgraded too.  Once we updated TES to Argo Navis - 0.20.0 we finally were able to connect.

    The issue is now closed. 

    Many thanks for your help.

  • Hi,

    That's great to hear. I'm glad that we were able to help solve your problem here. There's a lot of moving parts with the setup but we try to document this as best we can.

    Can I ask where you got your eval kit from? I want to make sure that the supplier has the correct version of everything.

    Best Regards,

    Conrad

  • ZC706 board - Avnet (this was purchased a couple of years ago).

    ADRV9002 - RichardsonRFPD

    Both board were purchased in the UK. 

    Please note that the static IP address 192.168.1.10 does not work even with the SD card created form the most recent downloads from the AD website links.  The manual edits were required, and these edits are not mentioned in the support documentation.   

Reply
  • ZC706 board - Avnet (this was purchased a couple of years ago).

    ADRV9002 - RichardsonRFPD

    Both board were purchased in the UK. 

    Please note that the static IP address 192.168.1.10 does not work even with the SD card created form the most recent downloads from the AD website links.  The manual edits were required, and these edits are not mentioned in the support documentation.   

Children