LAN8720 custom board

morphal
Posts: 3
Joined: Mon Jun 06, 2022 10:40 am

LAN8720 custom board

Postby morphal » Wed Jun 19, 2024 11:23 am

HI! I've made a custom board with LAN8720. Generally speaking it's a copy of WT32-ETH01 with a USB added.
esp32-lan-i2c-adapter.pdf
(554.55 KiB) Downloaded 40 times
I'm struggling to get the Ethernet working. Having a weird behaviour: LAN8720 detects link up without cable connected.

Here are debug logs I'm getting for ISP-IDF Basic ethernet example:

Code: Select all


D (0) cpu_start: App cpu up
D (165) clk: RTC_SLOW_CLK calibration value: 3014157
I (176) cpu_start: Pro cpu start user code
I (176) cpu_start: cpu freq: 160000000 Hz
I (176) cpu_start: Application information:
I (181) cpu_start: Project name:     ethernet_basic
I (187) cpu_start: App version:      1
I (191) cpu_start: Compile time:     Jun 12 2024 18:49:53
I (197) cpu_start: ELF file SHA256:  ceb53bc15...
I (203) cpu_start: ESP-IDF:          v5.2.1
I (207) cpu_start: Min chip rev:     v0.0
I (212) cpu_start: Max chip rev:     v3.99
I (217) cpu_start: Chip rev:         v1.0
D (222) memory_layout: Checking 9 reserved memory ranges:
D (227) memory_layout: Reserved memory range 0x3ff82000 - 0x3ff82000
D (234) memory_layout: Reserved memory range 0x3ffae000 - 0x3ffae6e0
D (240) memory_layout: Reserved memory range 0x3ffb0000 - 0x3ffb35f0
D (246) memory_layout: Reserved memory range 0x3ffe0000 - 0x3ffe0440
D (253) memory_layout: Reserved memory range 0x3ffe3f20 - 0x3ffe4350
D (259) memory_layout: Reserved memory range 0x40070000 - 0x40078000
D (266) memory_layout: Reserved memory range 0x40078000 - 0x40080000
0x40080000: _WindowOverflow4 at C:/Users/aho/esp/v5.2.1/esp-idf/components/xtensa/xtensa_vectors.S:2027

D (272) memory_layout: Reserved memory range 0x40080000 - 0x4008d0e0
0x40080000: _WindowOverflow4 at C:/Users/aho/esp/v5.2.1/esp-idf/components/xtensa/xtensa_vectors.S:2027

D (279) memory_layout: Reserved memory range 0x50001fe8 - 0x50002000
D (285) memory_layout: Building list of available memory regions:
D (291) memory_layout: Available memory region 0x3ffae6e0 - 0x3ffb0000
D (298) memory_layout: Available memory region 0x3ffb35f0 - 0x3ffb8000
D (304) memory_layout: Available memory region 0x3ffb8000 - 0x3ffc0000
D (311) memory_layout: Available memory region 0x3ffc0000 - 0x3ffc2000
D (318) memory_layout: Available memory region 0x3ffc2000 - 0x3ffc4000
D (324) memory_layout: Available memory region 0x3ffc4000 - 0x3ffc6000
D (331) memory_layout: Available memory region 0x3ffc6000 - 0x3ffc8000
D (337) memory_layout: Available memory region 0x3ffc8000 - 0x3ffca000
D (344) memory_layout: Available memory region 0x3ffca000 - 0x3ffcc000
D (351) memory_layout: Available memory region 0x3ffcc000 - 0x3ffce000
D (357) memory_layout: Available memory region 0x3ffce000 - 0x3ffd0000
D (364) memory_layout: Available memory region 0x3ffd0000 - 0x3ffd2000
D (370) memory_layout: Available memory region 0x3ffd2000 - 0x3ffd4000
D (377) memory_layout: Available memory region 0x3ffd4000 - 0x3ffd6000
D (383) memory_layout: Available memory region 0x3ffd6000 - 0x3ffd8000
D (390) memory_layout: Available memory region 0x3ffd8000 - 0x3ffda000
D (397) memory_layout: Available memory region 0x3ffda000 - 0x3ffdc000
D (403) memory_layout: Available memory region 0x3ffdc000 - 0x3ffde000
D (410) memory_layout: Available memory region 0x3ffde000 - 0x3ffe0000
D (416) memory_layout: Available memory region 0x3ffe0440 - 0x3ffe3f20
D (423) memory_layout: Available memory region 0x3ffe4350 - 0x3ffe8000
D (430) memory_layout: Available memory region 0x3ffe8000 - 0x3fff0000
D (436) memory_layout: Available memory region 0x3fff0000 - 0x3fff8000
D (443) memory_layout: Available memory region 0x3fff8000 - 0x3fffc000
D (449) memory_layout: Available memory region 0x3fffc000 - 0x40000000
0x40000000: _WindowOverflow4 in ROM

D (456) memory_layout: Available memory region 0x4008d0e0 - 0x4008e000
D (463) memory_layout: Available memory region 0x4008e000 - 0x40090000
D (469) memory_layout: Available memory region 0x40090000 - 0x40092000
D (476) memory_layout: Available memory region 0x40092000 - 0x40094000
D (482) memory_layout: Available memory region 0x40094000 - 0x40096000
D (489) memory_layout: Available memory region 0x40096000 - 0x40098000
D (496) memory_layout: Available memory region 0x40098000 - 0x4009a000
D (502) memory_layout: Available memory region 0x4009a000 - 0x4009c000
D (509) memory_layout: Available memory region 0x4009c000 - 0x4009e000
D (515) memory_layout: Available memory region 0x4009e000 - 0x400a0000
I (522) heap_init: Initializing. RAM available for dynamic allocation:
D (529) heap_init: New heap initialised at 0x3ffae6e0
I (534) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
D (540) heap_init: New heap initialised at 0x3ffb35f0
I (546) heap_init: At 3FFB35F0 len 0002CA10 (178 KiB): DRAM
I (552) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (558) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
D (565) heap_init: New heap initialised at 0x4008d0e0
I (570) heap_init: At 4008D0E0 len 00012F20 (75 KiB): IRAM
D (576) intr_alloc: Connected src 46 to int 2 (cpu 0)
D (582) spi_flash: trying chip: issi
D (585) spi_flash: trying chip: gd
D (588) spi_flash: trying chip: mxic
D (592) spi_flash: trying chip: winbond
D (596) spi_flash: trying chip: generic
I (600) spi_flash: detected chip: generic
I (604) spi_flash: flash io: dio
W (608) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
D (621) cpu_start: calling init function: 0x400d90f0
0x400d90f0: esp_ipc_init at C:/Users/aho/esp/v5.2.1/esp-idf/components/esp_system/esp_ipc.c:114

D (627) cpu_start: calling init function: 0x400859c4
0x400859c4: enable_timer_group0_for_calibration at C:/Users/aho/esp/v5.2.1/esp-idf/components/esp_hw_support/port/esp32/rtc_time.c:197

D (631) cpu_start: calling init function: 0x400d22fc
0x400d22fc: esp_app_format_init_elf_sha256 at C:/Users/aho/esp/v5.2.1/esp-idf/components/esp_app_format/esp_app_desc.c:68

D (636) cpu_start: calling init function: 0x400d5124 on core: 0
0x400d5124: __esp_system_init_fn_esp_timer_startup_init at C:/Users/aho/esp/v5.2.1/esp-idf/components/esp_timer/src/esp_timer.c:578

D (643) intr_alloc: Connected src 17 to int 3 (cpu 0)
D (647) cpu_start: calling init function: 0x400fd254 on core: 0
0x400fd254: __esp_system_init_fn_init_components0 at C:/Users/aho/esp/v5.2.1/esp-idf/components/esp_system/startup.c:493

D (654) intr_alloc: Connected src 24 to int 9 (cpu 0)
D (659) app_start: Starting scheduler on CPU0
 (663) intr_alloc: Connected src 25 to int 2 (cpu 1)
D (663) app_start: Starting scheduler on CPU1
mI (663) main_task: Started on CPU0
D (683) heap_init: New heap initialised at 0x3ffe0440
D (683) heap_init: New heap initialised at 0x3ffe4350
D (683) intr_alloc: Connected src 16 to int 12 (cpu 0)
I (683) main_task: Calling app_main()
D (693) intr_alloc: Connected src 38 to int 13 (cpu 0)
D (703) efuse: In EFUSE_BLK0__DATA2_REG is used 8 bits starting with 8 bit
D (703) efuse: In EFUSE_BLK0__DATA2_REG is used 8 bits starting with 0 bit
D (713) efuse: In EFUSE_BLK0__DATA1_REG is used 8 bits starting with 24 bit
D (713) efuse: In EFUSE_BLK0__DATA1_REG is used 8 bits starting with 16 bit
D (723) efuse: In EFUSE_BLK0__DATA1_REG is used 8 bits starting with 8 bit
D (733) efuse: In EFUSE_BLK0__DATA1_REG is used 8 bits starting with 0 bit
D (743) efuse: In EFUSE_BLK0__DATA2_REG is used 8 bits starting with 16 bit
D (763) esp_eth: new ethernet driver @0x3ffb9c3c
D (763) esp_netif_lwip: LwIP stack has been initialized
D (763) esp_netif_lwip: esp-netif has been successfully initialized
D (763) event: running task for loop 0x3ffbaf58
D (773) event: created task for loop 0x3ffbaf58
D (773) event: created event loop 0x3ffbaf58
D (773) esp_netif_lwip: check: remote, if=0x3ffb5840 fn=0x400da744
0x400da744: esp_netif_new_api at C:/Users/aho/esp/v5.2.1/esp-idf/components/esp_netif/lwip/esp_netif_lwip.c:690

D (783) esp_netif_objects: esp_netif_add_to_list_unsafe netif added successfully (total netifs: 1)
D (793) esp_netif_lwip: call api in lwip: ret=0x0, give sem
I (803) esp_eth.netif.netif_glue: 0c:dc:7e:86:eb:0f
D (803) esp_netif_lwip: check: remote, if=0x3ffbbe80 fn=0x400da1ac
0x400da1ac: esp_netif_set_mac_api at C:/Users/aho/esp/v5.2.1/esp-idf/components/esp_netif/lwip/esp_netif_lwip.c:993

D (813) esp_netif_lwip: call api in lwip: ret=0x0, give sem
I (813) esp_eth.netif.netif_glue: ethernet attached to netif
D (2923) event: running post ETH_EVENT:0 with handler 0x400dc6bc and context 0x3ffbc08c on loop 0x3ffbaf58
0x400dc6bc: eth_action_start at C:/Users/aho/esp/v5.2.1/esp-idf/components/esp_eth/src/esp_eth_netif_glue.c:76

D (2923) esp_eth.netif.netif_glue: eth_action_start: 0x3ffbc034, 0x3f407fdc, 0, 0x3ffbc1d4, 0x3ffb9c3c
D (2923) esp_netif_handlers: esp_netif action has started with netif0x3ffbbe80 from event_id=0
D (2933) esp_netif_lwip: check: remote, if=0x3ffbbe80 fn=0x400da9a4
0x400da9a4: esp_netif_start_api at C:/Users/aho/esp/v5.2.1/esp-idf/components/esp_netif/lwip/esp_netif_lwip.c:1068

D (2943) esp_netif_lwip: esp_netif_start_api 0x3ffbbe80
D (2943) esp.emac: working in 100Mbps
D (2943) esp_netif_lwip: esp_netif_get_hostname esp_netif:0x3ffbbe80
D (2953) esp_netif_lwip: check: local, if=0x3ffbbe80 fn=0x400db068
0x400db068: esp_netif_update_default_netif_lwip at C:/Users/aho/esp/v5.2.1/esp-idf/components/esp_netif/lwip/esp_netif_lwip.c:316

D (2963) esp_netif_lwip: esp_netif_update_default_netif_lwip 0x3ffbbe80
D (2973) esp_netif_lwip: call api in lwip: ret=0x0, give sem
D (2973) event: running post ETH_EVENT:0 with handler 0x400d6e88 and context 0x3ffbc194 on loop 0x3ffbaf58
0x400d6e88: eth_event_handler at D:/Depot/playground/esp32/eth_basic/basic/main/ethernet_example_main.c:25

I (2983) eth_example: Ethernet Started
D (2993) esp.emac: working in half duplex
D (2993) esp.emac: Flow control not enabled for the link
D (3003) event: running post ETH_EVENT:2 with handler 0x400dc62c and context 0x3ffbc0ec on loop 0x3ffbaf58
0x400dc62c: eth_action_connected at C:/Users/aho/esp/v5.2.1/esp-idf/components/esp_eth/src/esp_eth_netif_glue.c:96

D (3013) esp_eth.netif.netif_glue: eth_action_connected: 0x3ffbc034, 0x3f407fdc, 2, 0x3ffbc1d4, 0x3ffb9c3c
D (3023) esp_netif_handlers: esp_netif action connected with netif0x3ffbbe80 from event_id=2
D (3023) esp_netif_lwip: check: remote, if=0x3ffbbe80 fn=0x400dad28
0x400dad28: esp_netif_up_api at C:/Users/aho/esp/v5.2.1/esp-idf/components/esp_netif/lwip/esp_netif_lwip.c:1647

D (3033) esp_netif_lwip: esp_netif_up_api esp_netif:0x3ffbbe80
I (3033) main_task: Returned from app_main()
D (3043) esp_netif_lwip: check: local, if=0x3ffbbe80 fn=0x400db068
0x400db068: esp_netif_update_default_netif_lwip at C:/Users/aho/esp/v5.2.1/esp-idf/components/esp_netif/lwip/esp_netif_lwip.c:316

D (3053) esp_netif_lwip: esp_netif_update_default_netif_lwip 0x3ffbbe80
D (3053) esp_netif_lwip: call api in lwip: ret=0x0, give sem
D (3063) esp_netif_lwip: check: remote, if=0x3ffbbe80 fn=0x400dac08
0x400dac08: esp_netif_dhcpc_start_api at C:/Users/aho/esp/v5.2.1/esp-idf/components/esp_netif/lwip/esp_netif_lwip.c:1439

D (3073) esp_netif_lwip: esp_netif_dhcpc_start_api esp_netif:0x3ffbbe80
D (3073) esp_netif_lwip: esp_netif_start_ip_lost_timer esp_netif:0x3ffbbe80
D (3083) esp_netif_lwip: if0x3ffbbe80 start ip lost tmr: interval=120
D (3093) esp_netif_lwip: starting dhcp client
D (3093) esp_netif_lwip: call api in lwip: ret=0x0, give sem
D (3103) event: running post ETH_EVENT:2 with handler 0x400d6e88 and context 0x3ffbc194 on loop 0x3ffbaf58
0x400d6e88: eth_event_handler at D:/Depot/playground/esp32/eth_basic/basic/main/ethernet_example_main.c:25

I (3113) eth_example: Ethernet Link Up
I (3113) eth_example: Ethernet HW Addr 0c:dc:7e:86:eb:0f
Just for the reference here are the correct logs from WT32-ETH01 board:

Code: Select all


D (0) cpu_start: App cpu up
D (165) clk: RTC_SLOW_CLK calibration value: 3293504
I (177) cpu_start: Pro cpu start user code
I (177) cpu_start: cpu freq: 160000000 Hz
I (177) cpu_start: Application information:
I (182) cpu_start: Project name:     ethernet_basic
I (187) cpu_start: App version:      1
I (192) cpu_start: Compile time:     Jun 18 2024 17:21:50
I (198) cpu_start: ELF file SHA256:  58d2b24ed...
I (203) cpu_start: ESP-IDF:          v5.2.1
I (208) cpu_start: Min chip rev:     v0.0
I (213) cpu_start: Max chip rev:     v3.99
I (218) cpu_start: Chip rev:         v1.0
D (223) memory_layout: Checking 9 reserved memory ranges:
D (228) memory_layout: Reserved memory range 0x3ff82000 - 0x3ff82000
D (234) memory_layout: Reserved memory range 0x3ffae000 - 0x3ffae6e0
D (241) memory_layout: Reserved memory range 0x3ffb0000 - 0x3ffb35f0
D (247) memory_layout: Reserved memory range 0x3ffe0000 - 0x3ffe0440
D (254) memory_layout: Reserved memory range 0x3ffe3f20 - 0x3ffe4350
D (260) memory_layout: Reserved memory range 0x40070000 - 0x40078000
D (266) memory_layout: Reserved memory range 0x40078000 - 0x40080000
0x40080000: _WindowOverflow4 at C:/Users/aho/esp/v5.2.1/esp-idf/components/xtensa/xtensa_vectors.S:2027

D (273) memory_layout: Reserved memory range 0x40080000 - 0x4008d0e0
0x40080000: _WindowOverflow4 at C:/Users/aho/esp/v5.2.1/esp-idf/components/xtensa/xtensa_vectors.S:2027

D (279) memory_layout: Reserved memory range 0x50001fe8 - 0x50002000
D (286) memory_layout: Building list of available memory regions:
D (292) memory_layout: Available memory region 0x3ffae6e0 - 0x3ffb0000
D (298) memory_layout: Available memory region 0x3ffb35f0 - 0x3ffb8000
D (305) memory_layout: Available memory region 0x3ffb8000 - 0x3ffc0000
D (312) memory_layout: Available memory region 0x3ffc0000 - 0x3ffc2000
D (318) memory_layout: Available memory region 0x3ffc2000 - 0x3ffc4000
D (325) memory_layout: Available memory region 0x3ffc4000 - 0x3ffc6000
D (331) memory_layout: Available memory region 0x3ffc6000 - 0x3ffc8000
D (338) memory_layout: Available memory region 0x3ffc8000 - 0x3ffca000
D (345) memory_layout: Available memory region 0x3ffca000 - 0x3ffcc000
D (351) memory_layout: Available memory region 0x3ffcc000 - 0x3ffce000
D (358) memory_layout: Available memory region 0x3ffce000 - 0x3ffd0000
D (364) memory_layout: Available memory region 0x3ffd0000 - 0x3ffd2000
D (371) memory_layout: Available memory region 0x3ffd2000 - 0x3ffd4000
D (378) memory_layout: Available memory region 0x3ffd4000 - 0x3ffd6000
D (384) memory_layout: Available memory region 0x3ffd6000 - 0x3ffd8000
D (391) memory_layout: Available memory region 0x3ffd8000 - 0x3ffda000
D (397) memory_layout: Available memory region 0x3ffda000 - 0x3ffdc000
D (404) memory_layout: Available memory region 0x3ffdc000 - 0x3ffde000
D (411) memory_layout: Available memory region 0x3ffde000 - 0x3ffe0000
D (417) memory_layout: Available memory region 0x3ffe0440 - 0x3ffe3f20
D (424) memory_layout: Available memory region 0x3ffe4350 - 0x3ffe8000
D (430) memory_layout: Available memory region 0x3ffe8000 - 0x3fff0000
D (437) memory_layout: Available memory region 0x3fff0000 - 0x3fff8000
D (444) memory_layout: Available memory region 0x3fff8000 - 0x3fffc000
D (450) memory_layout: Available memory region 0x3fffc000 - 0x40000000
0x40000000: _WindowOverflow4 in ROM

D (457) memory_layout: Available memory region 0x4008d0e0 - 0x4008e000
D (463) memory_layout: Available memory region 0x4008e000 - 0x40090000
D (470) memory_layout: Available memory region 0x40090000 - 0x40092000
D (477) memory_layout: Available memory region 0x40092000 - 0x40094000
D (483) memory_layout: Available memory region 0x40094000 - 0x40096000
D (490) memory_layout: Available memory region 0x40096000 - 0x40098000
D (496) memory_layout: Available memory region 0x40098000 - 0x4009a000
D (503) memory_layout: Available memory region 0x4009a000 - 0x4009c000
D (509) memory_layout: Available memory region 0x4009c000 - 0x4009e000
D (516) memory_layout: Available memory region 0x4009e000 - 0x400a0000
I (523) heap_init: Initializing. RAM available for dynamic allocation:
D (530) heap_init: New heap initialised at 0x3ffae6e0
I (535) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
D (541) heap_init: New heap initialised at 0x3ffb35f0
I (546) heap_init: At 3FFB35F0 len 0002CA10 (178 KiB): DRAM
I (552) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (559) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
D (565) heap_init: New heap initialised at 0x4008d0e0
I (570) heap_init: At 4008D0E0 len 00012F20 (75 KiB): IRAM
D (577) intr_alloc: Connected src 46 to int 2 (cpu 0)
D (582) spi_flash: trying chip: issi
D (585) spi_flash: trying chip: gd
D (589) spi_flash: trying chip: mxic
D (592) spi_flash: trying chip: winbond
D (596) spi_flash: trying chip: generic
I (600) spi_flash: detected chip: generic
I (605) spi_flash: flash io: dio
W (609) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
D (622) cpu_start: calling init function: 0x400d90f0
0x400d90f0: esp_ipc_init at C:/Users/aho/esp/v5.2.1/esp-idf/components/esp_system/esp_ipc.c:114

D (627) cpu_start: calling init function: 0x400859c4
0x400859c4: enable_timer_group0_for_calibration at C:/Users/aho/esp/v5.2.1/esp-idf/components/esp_hw_support/port/esp32/rtc_time.c:197

D (632) cpu_start: calling init function: 0x400d22fc
0x400d22fc: esp_app_format_init_elf_sha256 at C:/Users/aho/esp/v5.2.1/esp-idf/components/esp_app_format/esp_app_desc.c:68

D (637) cpu_start: calling init function: 0x400d5124 on core: 0
0x400d5124: __esp_system_init_fn_esp_timer_startup_init at C:/Users/aho/esp/v5.2.1/esp-idf/components/esp_timer/src/esp_timer.c:578

D (643) intr_alloc: Connected src 17 to int 3 (cpu 0)
D (648) cpu_start: calling init function: 0x400fd254 on core: 0
0x400fd254: __esp_system_init_fn_init_components0 at C:/Users/aho/esp/v5.2.1/esp-idf/components/esp_system/startup.c:493

D (655) intr_alloc: Connected src 24 to int 9 (cpu 0)
D (659) app_start: Starting scheduler on CPU0
 (664) intr_alloc: Connected src 25 to int 2 (cpu 1)
D (664) app_start: Starting scheduler on CPU1
mI (664) main_task: Started on CPU0
D (684) heap_init: New heap initialised at 0x3ffe0440
D (684) heap_init: New heap initialised at 0x3ffe4350
D (684) intr_alloc: Connected src 16 to int 12 (cpu 0)
I (684) main_task: Calling app_main()
D (694) intr_alloc: Connected src 38 to int 13 (cpu 0)
D (694) efuse: In EFUSE_BLK0__DATA2_REG is used 8 bits starting with 8 bit
D (704) efuse: In EFUSE_BLK0__DATA2_REG is used 8 bits starting with 0 bit
D (714) efuse: In EFUSE_BLK0__DATA1_REG is used 8 bits starting with 24 bit
D (714) efuse: In EFUSE_BLK0__DATA1_REG is used 8 bits starting with 16 bit
D (724) efuse: In EFUSE_BLK0__DATA1_REG is used 8 bits starting with 8 bit
D (734) efuse: In EFUSE_BLK0__DATA1_REG is used 8 bits starting with 0 bit
D (744) efuse: In EFUSE_BLK0__DATA2_REG is used 8 bits starting with 16 bit
D (764) esp_eth: new ethernet driver @0x3ffb9c3c
D (764) esp_netif_lwip: LwIP stack has been initialized
D (764) esp_netif_lwip: esp-netif has been successfully initialized
D (764) event: running task for loop 0x3ffbaf58
D (774) event: created task for loop 0x3ffbaf58
D (774) event: created event loop 0x3ffbaf58
D (774) esp_netif_lwip: check: remote, if=0x3ffb5840 fn=0x400da744
0x400da744: esp_netif_new_api at C:/Users/aho/esp/v5.2.1/esp-idf/components/esp_netif/lwip/esp_netif_lwip.c:690

D (784) esp_netif_objects: esp_netif_add_to_list_unsafe netif added successfully (total netifs: 1)
D (794) esp_netif_lwip: call api in lwip: ret=0x0, give sem
I (804) esp_eth.netif.netif_glue: f0:08:d1:c8:b3:77
D (804) esp_netif_lwip: check: remote, if=0x3ffbbe80 fn=0x400da1ac
0x400da1ac: esp_netif_set_mac_api at C:/Users/aho/esp/v5.2.1/esp-idf/components/esp_netif/lwip/esp_netif_lwip.c:993

D (814) esp_netif_lwip: call api in lwip: ret=0x0, give sem
I (814) esp_eth.netif.netif_glue: ethernet attached to netif
D (4824) event: running post ETH_EVENT:0 with handler 0x400dc6bc and context 0x3ffbc08c on loop 0x3ffbaf58
0x400dc6bc: eth_action_start at C:/Users/aho/esp/v5.2.1/esp-idf/components/esp_eth/src/esp_eth_netif_glue.c:76

D (4824) esp_eth.netif.netif_glue: eth_action_start: 0x3ffbc034, 0x3f407fdc, 0, 0x3ffbc1d4, 0x3ffb9c3c
D (4824) esp_netif_handlers: esp_netif action has started with netif0x3ffbbe80 from event_id=0
D (4834) esp_netif_lwip: check: remote, if=0x3ffbbe80 fn=0x400da9a4
0x400da9a4: esp_netif_start_api at C:/Users/aho/esp/v5.2.1/esp-idf/components/esp_netif/lwip/esp_netif_lwip.c:1068

D (4844) esp_netif_lwip: esp_netif_start_api 0x3ffbbe80
I (4844) main_task: Returned from app_main()
D (4844) esp_netif_lwip: esp_netif_get_hostname esp_netif:0x3ffbbe80
D (4864) esp_netif_lwip: check: local, if=0x3ffbbe80 fn=0x400db068
0x400db068: esp_netif_update_default_netif_lwip at C:/Users/aho/esp/v5.2.1/esp-idf/components/esp_netif/lwip/esp_netif_lwip.c:316

D (4864) esp_netif_lwip: esp_netif_update_default_netif_lwip 0x3ffbbe80
D (4874) esp_netif_lwip: call api in lwip: ret=0x0, give sem
D (4874) event: running post ETH_EVENT:0 with handler 0x400d6e88 and context 0x3ffbc194 on loop 0x3ffbaf58
0x400d6e88: eth_event_handler at D:/Depot/playground/esp32/eth_basic/basic/main/ethernet_example_main.c:25

I (4884) eth_example: Ethernet Started

I do not get any events after last log records on my board.
Can you please suggest how I can debug the issue?
Thank you

Who is online

Users browsing this forum: Google [Bot] and 33 guests