This example is ICSS-EMAC application using the LwIP networking stack.
The examples do below
Parameter | Value |
---|---|
CPU + OS | r5fss0-0_freertos |
Toolchain | ti-arm-clang |
Boards | am261x-lp |
Example folder | examples/networking/lwip/icss_emac_lwip |
Parameter | Status/Value for MAC | Status/Value for Switch | Description | Remarks/Default Setting |
---|---|---|---|---|
EMAC Mode | MAC1/MAC2/MAC1 of DUAL EMAC/MAC2 of DUAL EMAC | Switch | Parameter to choose between EMAC and Switch modes. | Default is Switch. |
RT/NRT Priority Separation Queue | QUEUE1 | QUEUE4 | If packets are in Queue <= RT/NRT Priority seperation queue, they will be forwarded to RT callback and others to NRT callback. | Default is QUEUE4. |
Learning Enable | DISABLED | ENABLED | Learning only applicable for Switch | Default is ENABLED. |
Argument | Meaning |
---|---|
-s | Run server |
-c | Run Client [Ex: -c 192.168.1.102] |
-u | UDP |
-b | Bandwidth [Used in UDP, Ex: 100M M->Mbits] |
-i | Output interval in Sec [Ex: -i1 1sec interval] |
-t | Time in sec [Ex: -t60 60sec] |
-p | Port number [Ex: -p 5555] |
-w | Windows size [Ex: -w 1M M->Mbits] |
-d | Bi-directional traffic |
-l | Length [Ex: -l 1046 1046bytes] |
-V | Used when IPv6 address is used instead of IPv4 |
> ping 192.168.0.200
iperf
tests as shown below. Below steps have been tried with a Windows 10 host PC running.iperf
if not installed by doing below > sudo apt install iperf