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

Open
3 tasks done
diplfranzhoepfinger opened this issue Jan 30, 2025 · 1 comment
Open
3 tasks done

Ethernet Example DHCP Issue (IDFGH-14551) #15312

diplfranzhoepfinger opened this issue Jan 30, 2025 · 1 comment
Assignees
Labels
Status: Opened Issue is new

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]);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Opened Issue is new
Projects
None yet
Development

No branches or pull requests

4 participants