-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
The v5.3 example does not initialize the phy correctly for the POE ISO board. I get the error messages below.
I updated the configuration to use the correct reset and clock configures configurations in menuconfig.
ELF file SHA256: 43dc0b3e1
Rebooting...
ets Jul 29 2019 12:21:46
rst:0xc (SW_CPU_RESET),boot:0x1b (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:7176
load:0x40078000,len:15564
ho 0 tail 12 room 4
load:0x40080400,len:4
--- 0x40080400: _init at ??:?
load:0x40080404,len:3904
entry 0x40080640
I (31) boot: ESP-IDF v5.3.2-dirty 2nd stage bootloader
I (31) boot: compile time Dec 18 2024 12:20:58
I (31) boot: Multicore bootloader
I (36) boot: chip revision: v3.1
I (40) boot.esp32: SPI Speed : 40MHz
I (44) boot.esp32: SPI Mode : DIO
I (49) boot.esp32: SPI Flash Size : 2MB
I (53) boot: Enabling RNG early entropy source...
I (59) boot: Partition Table:
I (62) boot: ## Label Usage Type ST Offset Length
I (70) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (77) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (85) boot: 2 factory factory app 00 00 00010000 00100000
I (92) boot: End of partition table
I (96) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=12e80h ( 77440) map
I (131) esp_image: segment 1: paddr=00022ea8 vaddr=3ffb0000 size=02494h ( 9364) load
I (135) esp_image: segment 2: paddr=00025344 vaddr=40080000 size=0acd4h ( 44244) load
I (154) esp_image: segment 3: paddr=00030020 vaddr=400d0020 size=3125ch (201308) map
I (224) esp_image: segment 4: paddr=00061284 vaddr=4008acd4 size=02bf4h ( 11252) load
I (235) boot: Loaded app from partition at offset 0x10000
I (235) boot: Disabling RNG early entropy source...
I (248) cpu_start: Multicore app
I (256) cpu_start: Pro cpu start user code
I (256) cpu_start: cpu freq: 160000000 Hz
I (256) app_init: Application information:
I (259) app_init: Project name: ethernet_basic
I (264) app_init: App version: 4054ce5-dirty
I (270) app_init: Compile time: Dec 26 2024 16:37:22
I (276) app_init: ELF file SHA256: 43dc0b3e1...
I (281) app_init: ESP-IDF: v5.3.2-dirty
I (286) efuse_init: Min chip rev: v0.0
I (291) efuse_init: Max chip rev: v3.99
I (296) efuse_init: Chip rev: v3.1
I (301) heap_init: Initializing. RAM available for dynamic allocation:
I (308) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (314) heap_init: At 3FFB3768 len 0002C898 (178 KiB): DRAM
I (320) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (327) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (333) heap_init: At 4008D8C8 len 00012738 (73 KiB): IRAM
I (341) spi_flash: detected chip: generic
I (344) spi_flash: flash io: dio
W (348) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (362) main_task: Started on CPU0
I (372) main_task: Calling app_main()
I (372) esp.emac: Setup emac for rmii
E (472) esp.emac: emac_esp32_init(426): reset timeout
E (472) esp_eth: esp_eth_driver_install(228): init mac failed
E (472) example_eth_init: eth_init_internal(94): Ethernet driver install failed
I (472) gpio: GPIO[0]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (482) gpio: GPIO[18]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (492) gpio: GPIO[19]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (502) gpio: GPIO[21]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (512) gpio: GPIO[22]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (522) gpio: GPIO[23]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (532) gpio: GPIO[25]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (542) gpio: GPIO[26]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (552) gpio: GPIO[27]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
E (562) example_eth_init: example_eth_init(249): internal Ethernet init failed
ESP_ERROR_CHECK failed: esp_err_t 0xffffffff (ESP_FAIL) at 0x400d7efe
--- 0x400d7efe: app_main at /home/lfinch/esp/ESP32-POE/SOFTWARE/ESP-IDF/ESP32_PoE_Ethernet_IDFv5.3/main/ethernet_example_main.c:71 (discriminator 1)
file: "./main/ethernet_example_main.c" line 71
func: app_main
expression: example_eth_init(ð_handles, ð_port_cnt)
abort() was called at PC 0x40086077 on core 0
--- 0x40086077: _esp_error_check_failed at /home/lfinch/esp/v5.3.2/esp-idf/components/esp_system/esp_err.c:49
Metadata
Metadata
Assignees
Labels
No labels