facing issue in enabling ethernet in esp32 wrover kit with idf version release/4.2
Posted: Mon May 16, 2022 6:11 am
problem:
I have used espressif esp32s ethernet example trying to build code of basic and binary is successfully generated, now while executing it is throwing error as given below :
hardware/software
chip used esp32-wrover-1
idf version -release/v4.2
build sysytem - msys/MINGW32
power supply - usb
error logs:
ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x33 (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:7236
load:0x40078000,len:13212
load:0x40080400,len:4568
entry 0x400806f4
I (27) boot: ESP-IDF HEAD-HASH-NOTFOUND 2nd stage bootloader
I (27) boot: compile time 13:01:33
I (27) boot: chip revision: 1
I (31) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (54) boot.esp32: SPI Speed : 40MHz
I (54) boot.esp32: SPI Mode : DIO
I (54) boot.esp32: SPI Flash Size : 16MB
I (57) boot: Enabling RNG early entropy source...
I (62) boot: Partition Table:
I (66) boot: ## Label Usage Type ST Offset Length
I (73) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (80) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (88) boot: 2 factory factory app 00 00 00010000 00100000
I (95) boot: End of partition table
I (99) boot_comm: chip revision: 1, min. application chip revision: 0
I (107) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x0e244 ( 57924) map
I (138) esp_image: segment 1: paddr=0x0001e26c vaddr=0x3ffb0000 size=0x01dac ( 7596) load
I (141) esp_image: segment 2: paddr=0x00020020 vaddr=0x400d0020 size=0x2f6dc (194268) map
I (218) esp_image: segment 3: paddr=0x0004f704 vaddr=0x3ffb1dac size=0x00358 ( 856) load
I (219) esp_image: segment 4: paddr=0x0004fa64 vaddr=0x40080000 size=0x0a898 ( 43160) load
I (250) boot: Loaded app from partition at offset 0x10000
I (250) boot: Disabling RNG early entropy source...
I (250) cpu_start: Pro cpu up.
I (254) cpu_start: Application information:
I (259) cpu_start: Project name: ethernet_basic
I (264) cpu_start: App version: 1
I (269) cpu_start: Compile time: May 13 2022 15:20:07
I (275) cpu_start: ELF file SHA256: f0a94d419d039944...
I (281) cpu_start: ESP-IDF: HEAD-HASH-NOTFOUND
I (287) cpu_start: Starting app cpu, entry point is 0x40081830
I (0) cpu_start: App cpu up.
I (297) heap_init: Initializing. RAM available for dynamic allocation:
I (304) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (310) heap_init: At 3FFB38A0 len 0002C760 (177 KiB): DRAM
I (316) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (323) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (329) heap_init: At 4008A898 len 00015768 (85 KiB): IRAM
I (335) cpu_start: Pro cpu start user code
I (354) spi_flash: detected chip: gd
I (354) spi_flash: flash io: dio
I (355) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
E (462) emac_esp32: emac_esp32_init(308): reset timeout
E (462) esp_eth: esp_eth_driver_install(198): init mac failed
ESP_ERROR_CHECK failed: esp_err_t 0xffffffff (ESP_FAIL) at 0x40083ee4
file: "../main/ethernet_example_main.c" line 125
func: app_main
expression: esp_eth_driver_install(&config, ð_handle)
abort() was called at PC 0x40083ee7 on core 0
Backtrace:0x40084357:0x3ffb5620 0x40084a01:0x3ffb5640 0x400884de:0x3ffb5660 0x40083ee7:0x3ffb56d0 0x400d4501:0x3ffb56f0 0x400d2eae:0x3ffb5760 0x40084a09:0x3ffb5790
ELF file SHA256: f0a94d419d039944
Rebooting...
I have used espressif esp32s ethernet example trying to build code of basic and binary is successfully generated, now while executing it is throwing error as given below :
hardware/software
chip used esp32-wrover-1
idf version -release/v4.2
build sysytem - msys/MINGW32
power supply - usb
error logs:
ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x33 (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:7236
load:0x40078000,len:13212
load:0x40080400,len:4568
entry 0x400806f4
I (27) boot: ESP-IDF HEAD-HASH-NOTFOUND 2nd stage bootloader
I (27) boot: compile time 13:01:33
I (27) boot: chip revision: 1
I (31) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (54) boot.esp32: SPI Speed : 40MHz
I (54) boot.esp32: SPI Mode : DIO
I (54) boot.esp32: SPI Flash Size : 16MB
I (57) boot: Enabling RNG early entropy source...
I (62) boot: Partition Table:
I (66) boot: ## Label Usage Type ST Offset Length
I (73) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (80) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (88) boot: 2 factory factory app 00 00 00010000 00100000
I (95) boot: End of partition table
I (99) boot_comm: chip revision: 1, min. application chip revision: 0
I (107) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x0e244 ( 57924) map
I (138) esp_image: segment 1: paddr=0x0001e26c vaddr=0x3ffb0000 size=0x01dac ( 7596) load
I (141) esp_image: segment 2: paddr=0x00020020 vaddr=0x400d0020 size=0x2f6dc (194268) map
I (218) esp_image: segment 3: paddr=0x0004f704 vaddr=0x3ffb1dac size=0x00358 ( 856) load
I (219) esp_image: segment 4: paddr=0x0004fa64 vaddr=0x40080000 size=0x0a898 ( 43160) load
I (250) boot: Loaded app from partition at offset 0x10000
I (250) boot: Disabling RNG early entropy source...
I (250) cpu_start: Pro cpu up.
I (254) cpu_start: Application information:
I (259) cpu_start: Project name: ethernet_basic
I (264) cpu_start: App version: 1
I (269) cpu_start: Compile time: May 13 2022 15:20:07
I (275) cpu_start: ELF file SHA256: f0a94d419d039944...
I (281) cpu_start: ESP-IDF: HEAD-HASH-NOTFOUND
I (287) cpu_start: Starting app cpu, entry point is 0x40081830
I (0) cpu_start: App cpu up.
I (297) heap_init: Initializing. RAM available for dynamic allocation:
I (304) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (310) heap_init: At 3FFB38A0 len 0002C760 (177 KiB): DRAM
I (316) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (323) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (329) heap_init: At 4008A898 len 00015768 (85 KiB): IRAM
I (335) cpu_start: Pro cpu start user code
I (354) spi_flash: detected chip: gd
I (354) spi_flash: flash io: dio
I (355) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
E (462) emac_esp32: emac_esp32_init(308): reset timeout
E (462) esp_eth: esp_eth_driver_install(198): init mac failed
ESP_ERROR_CHECK failed: esp_err_t 0xffffffff (ESP_FAIL) at 0x40083ee4
file: "../main/ethernet_example_main.c" line 125
func: app_main
expression: esp_eth_driver_install(&config, ð_handle)
abort() was called at PC 0x40083ee7 on core 0
Backtrace:0x40084357:0x3ffb5620 0x40084a01:0x3ffb5640 0x400884de:0x3ffb5660 0x40083ee7:0x3ffb56d0 0x400d4501:0x3ffb56f0 0x400d2eae:0x3ffb5760 0x40084a09:0x3ffb5790
ELF file SHA256: f0a94d419d039944
Rebooting...