Search found 198 matches

by ESP_ondrej
Wed Sep 11, 2024 6:24 am
Forum: ESP-IDF
Topic: ENOMEM when sending udp packet to disconnected address
Replies: 1
Views: 285

Re: ENOMEM when sending udp packet to disconnected address

What IDF version do you use? And what do you mean by "the device is not connected to the network"? Do you mean the cable is unplugged from WT-32-S1? Could you please be more specific about your setup?
by ESP_ondrej
Mon Sep 09, 2024 7:29 am
Forum: ESP-IDF
Topic: Adding new Ethernet Phy to IDF v3
Replies: 1
Views: 353

Re: Adding new Ethernet Phy to IDF v3

IDFv3 is super old and has completely different structure of the Ethernet driver. It would be probably easier to start writing the whole new driver for KS8863 rather than trying to modify the current one, I'm afraid... The only recommendation is to upgrade to higher IDF version. If you are developin...
by ESP_ondrej
Tue Aug 27, 2024 9:43 am
Forum: ESP-IDF
Topic: Unable to start DHCP server on ethernet port
Replies: 3
Views: 968

Re: Unable to start DHCP server on ethernet port

Sorry for late and short answer. However, I'm super busy with other tasks... Try to go over ESP-NETIF documentation or go over examples. If you don't find anything, I think stopping and starting the netif with different configuration should work. Here is example https://github.com/espressif/esp-idf/...
by ESP_ondrej
Mon Aug 19, 2024 12:59 pm
Forum: ESP-IDF
Topic: Unable to start DHCP server on ethernet port
Replies: 3
Views: 968

Re: Unable to start DHCP server on ethernet port

Here https://github.com/espressif/esp-eth-dr ... rver.c#L48 is example how to configure DHCP Server. Please don't use `ESP_NETIF_AUTOUP`. That's reserved for WiFi AP mode.
by ESP_ondrej
Tue Aug 13, 2024 6:46 am
Forum: ESP-IDF
Topic: Ping session starts, no callbacks or results
Replies: 6
Views: 1537

Re: Ping session starts, no callbacks or results

I don't know details about your code so I cannot give you much more detailed answer. However, you need to free memory allocated for Ethernet frames (https://github.com/espressif/esp-idf/bl ... esp.c#L337)
by ESP_ondrej
Mon Aug 12, 2024 7:19 am
Forum: ESP-IDF
Topic: Ping session starts, no callbacks or results
Replies: 6
Views: 1537

Re: Ping session starts, no callbacks or results

Once you open tap interface for specific ethertype, these frames are then only accepted by the tap interface. They are not passed to the IP stack. It's described at: https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-reference/network/esp_netif.html#e-esp-netif-l2-tap-interface Please l...
by ESP_ondrej
Fri Aug 09, 2024 12:48 pm
Forum: General Discussion
Topic: ESP32 can not initialize IP101 Ethernet PHY
Replies: 6
Views: 2547

Re: ESP32 can not initialize IP101 Ethernet PHY

Do I understand it correctly that your board is able to boot now? You just don't get IP address? If so, try to download this application https://github.com/espressif/esp-eth-dr ... phy_tester and follow the instructions. Just note it currently works (was tested) only on Linux.
by ESP_ondrej
Fri Aug 09, 2024 12:43 pm
Forum: General Discussion
Topic: Issue with ESP IoT Bridge Integration in Project
Replies: 2
Views: 893

Re: Issue with ESP IoT Bridge Integration in Project

Check if MDIO and MDC GPIOs are properly configured.
Check the PHY address is correctly set in code and in PHY device via it's bootstraps or set PHY address to -1 (auto) in menuconfig.
Probe the MDIO and MDC with oscilloscope if you see any signal.
by ESP_ondrej
Fri Aug 09, 2024 8:37 am
Forum: ESP-IDF
Topic: Ethernet packet loss with ESP-NOW (idf v4.4.6)
Replies: 9
Views: 96827

Re: Ethernet packet loss with ESP-NOW (idf v4.4.6)

The observed issue with generated CLK stability is unfortunately a real issue... ESP32 cannot be used as RMII CLK source when Wi-Fi is used. The only workaround is to not use Wi-Fi or use external source of the CLK :( We are deeply sorry for trouble caused. We at least updated errata https://www.esp...
by ESP_ondrej
Fri Aug 09, 2024 8:35 am
Forum: ESP-IDF
Topic: eth2ap gets ethernet link down and up repeatedly
Replies: 12
Views: 72811

Re: eth2ap gets ethernet link down and up repeatedly

The observed issue with generated CLK stability is unfortunately a real issue... ESP32 cannot be used as RMII CLK source when Wi-Fi is used. The only workaround is to not use Wi-Fi or use external source of the CLK :( We are deeply sorry for trouble caused. We at least updated errata https://www.esp...