Anan 7000 DLE - Odd ping behaviour

Can't talk to your radio? This is the place to ask!
User avatar
iw7dmh
Posts: 34
Joined: Fri Jun 29, 2018 1:18 pm
Location: LECCE - ITALY
Contact:

Anan 7000 DLE - Odd ping behaviour

Postby iw7dmh » Tue Jun 29, 2021 10:01 am

Hello,

I am observing a odd behavior looking at the network connection of my Anan 7000 DLE (blue).
The rig is loaded with the UPDATE 2.0b 10 Feb 2020 firmware and I set up a fixed IP (192.168.0.14).
Having it a fixed IP Address I expect that a ping -t 192.168.0.14 command constantly returns a valid packet answer.
On the contrary, occasionally, after some seconds, while the rig is turned on, the ping command stops receiving answers.
But if I solicitate it with some discovery packets the ping starts receiving aswer packet again. (See the attached picture)
Anyway, even if the ping command fails, I can receive still the discovery answer packet (shown below).

I am wondering if the decribed behaviour is correct or I am missing some configuration steps.

73' Enzo
iw7dmh

Code: Select all

Looking for radio using host adapter IP 192.168.0.16, port 63282
Entering Discovery() with targetIP =
Ready to receive....
====================Data len: 60
RAW Discovery data = 00-00-00-00-02-54-10-EC-9A-FB-6E-05-26-14-00-00-00-00-00-00-04-01-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
1024
Found a radio on the network.  Checking whether it qualifies
Looking for radio using host adapter IP 192.168.0.16, port 63282
IP from IP Header = 192.168.0.14
MAC address from payload = 54-10-EC-9A-FB-6E
==================== Device Found ====================
IPAddress: 192.168.0.14
hostPortIPAddress: 192.168.0.16
localPort: 63282
MACAddress: 54-10-EC-9A-FB-6E
deviceType: OrionMKII
codeVersion: 20
protocol: ETH
numRxs: 4
MetisVersion: 0
PennyVersion: 0
MercuryVersion_0: 0
MercuryVersion_1: 0
MercuryVersion_2: 0
MercuryVersion_3: 0


Ping answers.jpg
Ping answers.jpg (101.83 KiB) Viewed 2012 times
User avatar
w-u-2-o
Posts: 5540
Joined: Fri Mar 10, 2017 1:47 pm

Re: Anan 7000 DLE - Odd ping behaviour

Postby w-u-2-o » Tue Jun 29, 2021 2:12 pm

This is, unfortunately, normal.

The network stack (primarily a MAC) that is implemented in the firmware has a lot of problems and limitations. For instance, there is no ability to specify a subnet mask. I can only speculate as to the reasons why this is so. My guess would be that it is a combination of several factors: fitting the code into the original Hermes FPGA, the desire to use a fully open-source network stack--open source, as wonderful as it is, is not always the best code, and perhaps some plain old mistakes.

These problems exist for P1 firmware as well as it's the same network code in both versions of the firmware.

The source code for the firmware is available for inspection at the TAPR repository. Install the free ("Lite") version of Quartus Prime, then download and import the .qar file into Quartus. I'm not any kind of software or firmware developer, but I have looked at the code and found all kinds of interesting issues, like how it handles broadcast packets, etc. But I can't make heads or tails of most of it.
User avatar
iw7dmh
Posts: 34
Joined: Fri Jun 29, 2018 1:18 pm
Location: LECCE - ITALY
Contact:

Re: Anan 7000 DLE - Odd ping behaviour

Postby iw7dmh » Tue Jun 29, 2021 4:13 pm

Thank you Scott,

unfortunately I don't think I can fix or program a new firmware.
I was just playing with the discovery protocol and noted the issue I described before.

73'

Return to “Network Connections & Network Hardware”