Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ethernet Example DHCP Issue (IDFGH-14551) #15312

Closed
3 tasks done
diplfranzhoepfinger opened this issue Jan 30, 2025 · 2 comments
Closed
3 tasks done

Ethernet Example DHCP Issue (IDFGH-14551) #15312

diplfranzhoepfinger opened this issue Jan 30, 2025 · 2 comments
Assignees
Labels
Resolution: NA Issue resolution is unavailable Status: Done Issue is done internally

Comments

@diplfranzhoepfinger
Copy link
Contributor

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

https://github.com/espressif/esp-idf/tree/master/examples/ethernet/basic

ESP-IDF v5.4

Issue:

using 2times W5500

https://gist.github.com/diplfranzhoepfinger/6fc3e9050228a7696de2a1af00b4d7e6

ETH 1 all OK,
ETH 2 only show UP and DOWN, but no DHCP.

tested on 2 totally different Hardware:

  • 1 Self made Board,
  • 1 M5 Stack with 2 W5500 Modules

so i guess it is a SW Problem.

Thanks,
Franz

@espressif-bot espressif-bot added the Status: Opened Issue is new label Jan 30, 2025
@github-actions github-actions bot changed the title Ethernet Example DHCP Isuue Ethernet Example DHCP Isuue (IDFGH-14551) Jan 30, 2025
@diplfranzhoepfinger diplfranzhoepfinger changed the title Ethernet Example DHCP Isuue (IDFGH-14551) Ethernet Example DHCP Issue (IDFGH-14551) Feb 2, 2025
@kostaond
Copy link
Collaborator

kostaond commented Feb 3, 2025

@diplfranzhoepfinger thanks for reporting the issue. There is really a problem, https://github.com/espressif/esp-idf/blob/master/examples/ethernet/basic/main/ethernet_example_main.c#L109.

eth_netif_glues[i] = esp_eth_new_netif_glue(eth_handles[0]);

should be

eth_netif_glues[i] = esp_eth_new_netif_glue(eth_handles[i]);

@espressif-bot espressif-bot added Status: Done Issue is done internally Resolution: NA Issue resolution is unavailable and removed Status: Opened Issue is new labels Feb 12, 2025
@Alvin1Zhang
Copy link
Collaborator

Alvin1Zhang commented Feb 25, 2025

Thanks for reporting and sorry for the slow turnaround, fix on master branch is available at 39f34a6, and fix on release/5.4 is available at 462ed83 (it will be included in the v5.4.1, and regarding the release timeframe of v5.4.1 release, please help refer to https://github.com/espressif/esp-idf/blob/master/ROADMAP.md#esp-idf-bugfix-releases), thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: NA Issue resolution is unavailable Status: Done Issue is done internally
Projects
None yet
Development

No branches or pull requests

5 participants