Search found 47 matches

by iParcelBox
Mon Jun 09, 2025 2:47 pm
Forum: ESP-IDF
Topic: Install custom QEMU version
Replies: 0
Views: 159

Install custom QEMU version

The version of QEMU installed by IDF Tools in ESO-IDF 5.4.1 seems to be tagged to 9.0.0. However, this does not include support for esp32s3.

I understand that I need to install the latest fork from https://github.com/espressif/qemu, which I've done and complied all OK.

However, in VSCode when I ...
by iParcelBox
Sat Mar 08, 2025 4:58 pm
Forum: ESP-IDF
Topic: ESP32-S3 as USB Host for Ethernet via usb-adapter
Replies: 17
Views: 28008

Re: ESP32-S3 as USB Host for Ethernet via usb-adapter

That looks as though it's the details for bConfigurationValue 1. On Realtek 8152 the cdc-ecm interface is on bConfigurationValue 2. Have you enabled `CONFIG_USB_HOST_ENABLE_ENUM_FILTER_CALLBACK` and captured the callback to set the second configuration?

Can you post the full device and config ...
by iParcelBox
Sat Mar 08, 2025 2:04 pm
Forum: ESP-IDF
Topic: ESP32-S3 as USB Host for Ethernet via usb-adapter
Replies: 17
Views: 28008

Re: ESP32-S3 as USB Host for Ethernet via usb-adapter

I believe that both RTL8152 and RTL8153 have both primary (0xFF) and Secondary configurations (CDC-ECM), so it should be working. I've just tested with a Belkin usb-c to ethernet dongle here which uses the RTL8153 chipset and was able to get an IP address over DHCP and then ping the device.

Could ...
by iParcelBox
Sat Mar 08, 2025 12:00 am
Forum: ESP-IDF
Topic: ESP32-S3 as USB Host for Ethernet via usb-adapter
Replies: 17
Views: 28008

Re: ESP32-S3 as USB Host for Ethernet via usb-adapter

For anyone else looking to do similar, I now have a version of cdc-ecm-host working for RTL8152 devices:

https://github.com/gadget-man/cdc-acm-host

It works for a basic ping, still need to test for other network events and it needs some tidying up, so PRs welcome!
by iParcelBox
Fri Mar 07, 2025 11:58 pm
Forum: ESP-IDF
Topic: ESP32S3 IDF Support for USB CDC ECM
Replies: 2
Views: 2494

Re: ESP32S3 IDF Support for USB CDC ECM

I wanted to do the same so have written a port of the original cdc-acm-host driver for cdc-ecm-host. It's based on compatibility with the RTL8152/8153 usb to ethernet devices.

https://github.com/gadget-man/cdc-acm-host

Still a very rough draft which will need some tidying up - PRs welcome.
by iParcelBox
Mon Feb 17, 2025 1:51 pm
Forum: ESP-IDF
Topic: USB Host Lib - Set Configuration of USB Device
Replies: 5
Views: 2841

Re: USB Host Lib - Set Configuration of USB Device

Hi @martin.k,

I'd be very interested to know how far you got with this project, as I was looking at developing something very similar (i.e. a Host class driver for a USB-Ethernet adapter for an esp32s3.

Are you able to share any progress on whether you managed to get this working?

Many thanks!
by iParcelBox
Fri Feb 14, 2025 9:29 am
Forum: ESP-IDF
Topic: ESP32-S3 as USB Host for Ethernet via usb-adapter
Replies: 17
Views: 28008

Re: ESP32-S3 as USB Host for Ethernet via usb-adapter

I totally understand the "need for speed", but if the esp32s3 is being used predominantly as an IoT device (e.g. MQTT or similar), 10MBit/s is more than enough bandwidth, and would provide a very convenient alternative to WiFi (particularly when used in conjunction with PoE).

Am I right that to get ...
by iParcelBox
Thu Feb 13, 2025 1:22 pm
Forum: ESP-IDF
Topic: ESP32-S3 as USB Host for Ethernet via usb-adapter
Replies: 17
Views: 28008

Re: ESP32-S3 as USB Host for Ethernet via usb-adapter

When I connected the usb-ethernet dongle to a Mac and check the USB Hardware settings, I see it reported as follows:

USB 10/100 LAN:

Product ID: 0x8152
Vendor ID: 0x0bda (Realtek Semiconductor Corp.)
Version: 20.00
Serial Number: 00E04C3603D6
Speed: Up to 480 Mb/s
Manufacturer: Realtek ...
by iParcelBox
Tue Feb 11, 2025 5:53 pm
Forum: ESP-IDF
Topic: ESP32-S3 as USB Host for Ethernet via usb-adapter
Replies: 17
Views: 28008

Re: ESP32-S3 as USB Host for Ethernet via usb-adapter

Ah OK that's a shame. From what I'd seen from the tech specs of a few USB to Ethernet chipsets they mostly came with driverless CDC-NCM these days, so I'd assumed that meant I'd be able to communicate with it using tinyUSB and the existing capabilities.

I'll try and have a play, see if I get get ...
by iParcelBox
Tue Feb 11, 2025 10:31 am
Forum: ESP-IDF
Topic: ESP32-S3 as USB Host for Ethernet via usb-adapter
Replies: 17
Views: 28008

Re: ESP32-S3 as USB Host for Ethernet via usb-adapter

After some further research, I think what' I'm attempting to achieve is very similar to this example:
https://github.com/espressif/esp-protocols/tree/master/components/esp_modem/examples/pppos_client

However, rather than connecting a USB modem to the ESP32S3 D+ and D- pins, I'm connecting an ...

Go to advanced search