Greg, Thanks, I will try to use the host client programs. I just need to see if I can get them compiled on Linux.
Re: link speed, 100 Mbps using Ethernet over USB would work. Higher would be better. The network I want this to work on is just from the NuttX box to the host computer. The host is directly plugged into the NuttX via a USB cable. For my Gigibit Ethernet tests, I'm using a USB 3.0 USB to Ethernet adapter directly plugged in to the SAMA5D36 GMAC ethernet port. So I should not expect the USB link to be the bottleneck. It should have 5 Gbps total bandwidth. -adam On Sun, Jan 12, 2020 at 1:52 PM Gregory Nutt <spudan...@gmail.com> wrote: > > > Thanks, that document is very helpful. I set up TCP Blaster as a client, > > not a server, just because it was easier for me to send data from Linux > > with netcat. I'll try it as a server, I just have to look up the right > > netcat params. > > I am not sure if you should not use netcat. When you build > apps/examples/tcpblaster it will build the matching host side of the > test. Best to use the version generated by > build/apps/examples/tcpblaster. It will leave the host program in the > apps/examples/tcpblaster directory. The host program will be called > either tcpclient or tcpserver, depending upon how you have the example > configured. > > > I am glad to hear from you that's your experience was that NuttX is > limited > > by the network. That's great! :) I do think high speed transfers should > be > > possible using Ethernet over USB and I would love to get it working at > > close to the link speed of 480Mbps. That would really help for the > > application I'm building. > > The is only on Tx. The Rx side is more complex and will depending more > on you application configuration. > > 480Mbps is NOT the link speed. That is the USB speed. The link speed > will be negotiated on the network and only 10Mbit/sec or 100Mib/sec are > likely. Are you expecting this to work on a giga-bit network? I > suppose that will depend on the what you have plugged into the USB > port. I have never experiment with a giga-bit network accessed via > USB. If that is the case, then USB will be the bottle neck. > > More people use RNDIS and CDC/ECM. Has anyone using either USB > networks with a giga-bit network? How did it perform. > > I know that Masayuki Ishikwawa has used RNDIS a lot. Perhaps he can > respond. > > You might also ask on the old Google forum too. There are still 300 or > so people still using only the Google forum (or are inactive). > > Greg > > > -- Adam Feuer <a...@starcat.io>