Hi,
i found this cool example which stripped down allow to implement IP over USB or TCP/IP over USB protocol and to serve http server on esp32 (P4) without external radio featured chip.
https://github.com/espressif/esp-idf/tr ... rk/sta2eth
I think it is cool feature which let us to implement simple http server with OTA functionality or even some small websocket server if needed (i will try to publish some example code soon). In theory, with more effort it should be possible to run ftp server and few other protocols too.
For now i have question for people with better knowledge. How i can change ethernet speed, because now my linux can see it as 10Mb and with USB HS we can easily make use of 100Mb connection.
Thanks
PS i think we (espressif community) dont want to be worse than that
https://www.segger.com/products/connect ... -over-usb/
usb ncm ethernet speed option
Re: usb ncm ethernet speed option
Ok, i have answered from tinyusb users on github.
Looks like espressif tinyusb port is a bit outdated and is having hardcoded speed to 10mb/s.
https://github.com/hathach/tinyusb/disc ... t-10804879
After applying the fix it is now 480mb/s reported on linux.
Looks like espressif tinyusb port is a bit outdated and is having hardcoded speed to 10mb/s.
https://github.com/hathach/tinyusb/disc ... t-10804879
After applying the fix it is now 480mb/s reported on linux.
-
- Posts: 168
- Joined: Sun May 22, 2022 2:42 pm
Re: usb ncm ethernet speed option
That's amazing. How can we pester Espressif to sync their port with upstream?
Re: usb ncm ethernet speed option
Actually this is only "cosmetic" change and does not impact transfer speed.
In fact no matter what speed OS is detecting (10mbit or 480mbit) performance is the same, at least on linux with iperf test.
In both cases it is over 35mbit/s.
In fact no matter what speed OS is detecting (10mbit or 480mbit) performance is the same, at least on linux with iperf test.
In both cases it is over 35mbit/s.
-
- Posts: 168
- Joined: Sun May 22, 2022 2:42 pm
Re: usb ncm ethernet speed option
Oh, ok, in that case it might not be a high priority issue.
Re: usb ncm ethernet speed option
This is very cool! Thanks for sharing.
Who is online
Users browsing this forum: No registered users and 199 guests