Hello,
After succeeding to send HTTPS request over WiFi, I am trying to do it over Ethernet. For this I am using the basic ethernet example from ESP-IDF. The problem is the only chip driver available for Wiznet is the W5500 but I am using the W6100. I searched if anyone has already written such a driver but I only found drivers for Arduino ESP32.
So currently I am writing the driver myself from the W5500 driver files (esp_eth_phy_w5500.c, esp_eth_mac_w5500.c, w5500.h) and the W6100 documentation, but no success so far : the RJ45 is well detected but the DHCP never succeeds (timeout endless).
I am using a custom board with the ESP32C3 chip.
Has anyone found or written these driver files ? Or have any ideas ?
Thanks for your help.
Best regards,
W6100 and ESP32(C3) with ESP-IDF
Re: W6100 and ESP32(C3) with ESP-IDF
Thank you very much ! After fixing a few bugs and updating the code to ESP-IDF V5.0, this works
-
Rnd1AtMypromosysMY
- Posts: 5
- Joined: Thu Jul 07, 2022 4:43 am
Re: W6100 and ESP32(C3) with ESP-IDF
Hi, would it be possible for you to share your modified code with me, that will be greatly appreciated.Thank you very much ! After fixing a few bugs and updating the code to ESP-IDF V5.0, this works
Re: W6100 and ESP32(C3) with ESP-IDF
Hello,
I hope these files help you.
I hope these files help you.
- Attachments
-
- w6100.h
- (6.42 KiB) Downloaded 778 times
-
- esp_eth_phy_w6100.c
- (16.12 KiB) Downloaded 843 times
-
- esp_eth_mac_w6100.c
- (30.72 KiB) Downloaded 778 times
-
MadsHHLund
- Posts: 1
- Joined: Mon Jan 13, 2025 1:41 pm
Re: W6100 and ESP32(C3) with ESP-IDF
I have recently updated, the driver to wiz610, to support ESP-IDF v. 5.3.2
esp_eth_mac_w6100.c
esp_eth_phy_w6100.c
w6100.h
w6100.zip
My only challenge is, that when I close and deinitalize there is a loss of 4,788 bytes. This is because esp_netif_deinit does not release memory...
https://github.com/espressif/esp-idf/issues/7654
esp_eth_mac_w6100.c
esp_eth_phy_w6100.c
w6100.h
w6100.zip
My only challenge is, that when I close and deinitalize there is a loss of 4,788 bytes. This is because esp_netif_deinit does not release memory...
https://github.com/espressif/esp-idf/issues/7654
Who is online
Users browsing this forum: Baidu [Spider], Bing [Bot], Semrush [Bot] and 3 guests
