forkineye / ESPixelStick

Firmware for the ESPixelStick
http://forkineye.com/
528 stars 169 forks source link

Dig Octa ethernet connection issues #748

Closed marcobrianza closed 3 months ago

marcobrianza commented 3 months ago

ESPixelStick Firmware Version ESPixelStick_Firmware-4.0-ci8222973023

Hardware Version Dig Octa

Binary release or compiled yourself? CI release

Describe the bug Ethernet connection is unstable.

I'm just setting up network with no other feature enabled

bubble-4C7F5A1B5AE0-eth01.json

using DHCP the device does not get an IP see the log:

14:26:58: [FileMgr] Configuration File: '/config.json' loaded. 14:26:58: [FileMgr] Configuration File: '/input_config.json' loaded. 14:26:58: [FileMgr] Configuration File: '/output_config.json' loaded. 14:26:59: [FileMgr] Configuration File: '/admininfo.json' saved 180 bytes. 14:26:59: [FileMgr] Configuration File: '/config.json' saved 566 bytes. 14:27:00: [WiFiDrv] WiFi Entering State: Connecting Using Config Credentials 14:27:00: [WiFiDrv] Using DHCP 14:27:00: [WiFiDrv] Connecting to 'colors' as bubble 14:27:01: [WiFiDrv] WiFi Entering State: Connected To AP 14:27:02: [WiFiDrv] Connected with IP: 192.168.11.218 14:27:02: [WebMgr] Web server listening on port 80 14:27:02: [ FPPD] FPPDiscovery subscribed to broadcast messages on port: 32320 14:27:02: [ FPPD] FPPDiscovery subscribed to multicast: 239.70.80.80:32320 14:27:02: [ 9879][E][vfs_api.cpp:105] open(): /littlefs/www/index.html does not exist, no permits for creation 14:27:03: E (10399) esp_eth: esp_eth_ioctl(356): ethernet driver handle can't be null 14:27:04: E (11353) esp_eth: esp_eth_ioctl(356): ethernet driver handle can't be null 14:27:05: E (12353) esp_eth: esp_eth_ioctl(356): ethernet driver handle can't be null 14:27:06: E (13358) esp_eth: esp_eth_ioctl(356): ethernet driver handle can't be null 14:27:07: E (14362) esp_eth: esp_eth_ioctl(356): ethernet driver handle can't be null 14:27:08: E (15363) esp_eth: esp_eth_ioctl(356): ethernet driver handle can't be null 14:27:09: [EthDrv] Entering State: Powering Up 14:27:10: [ 16235][E][esp32-hal-gpio.c:102] __pinMode(): Invalid pin selected 14:27:10: E (16229) gpio: gpio_set_level(227): GPIO output gpio_num error 14:27:10: E (16374) esp_eth: esp_eth_ioctl(356): ethernet driver handle can't be null 14:27:10: E (17397) esp_eth: esp_eth_ioctl(356): ethernet driver handle can't be null 14:27:11: [EthDrv] Entering State: Connecting 14:27:12: [EthDrv] ETH IP Before Start: 0.0.0.0 14:27:12: [EthDrv] Ethernet Connecting as bubble 14:27:15: [EthDrv] Connecting to Ethernet using DHCP 14:27:15: [EthDrv] Entering State: Wait for IP Address 14:27:15: [EthDrv] Entering State: Connecting 14:27:17: [EthDrv] Connecting to Ethernet using DHCP 14:27:29: [EthDrv] Entering State: Wait for IP Address 14:27:29: [EthDrv] Entering State: Connecting 14:27:31: [EthDrv] Connecting to Ethernet using DHCP 14:27:33: [EthDrv] Entering State: Wait for IP Address 14:27:33: [EthDrv] Entering State: Connecting 14:27:35: [EthDrv] Connecting to Ethernet using DHCP 14:27:37: [EthDrv] Entering State: Wait for IP Address 14:27:37: [EthDrv] Entering State: Connecting 14:27:39: [EthDrv] Connecting to Ethernet using DHCP 14:27:49: [EthDrv] Entering State: Wait for IP Address 14:27:49: [EthDrv] Entering State: Connecting

--

Setting a static IP is similarly not connecting

14:34:49: [FileMgr] Configuration File: '/config.json' loaded. 14:34:49: [FileMgr] Configuration File: '/input_config.json' loaded. 14:34:49: [FileMgr] Configuration File: '/output_config.json' loaded. 14:34:50: [FileMgr] Configuration File: '/admininfo.json' saved 180 bytes. 14:34:50: [FileMgr] Configuration File: '/config.json' saved 585 bytes. 14:34:50: [WiFiDrv] WiFi Entering State: Connecting Using Config Credentials 14:34:51: [WiFiDrv] Using DHCP 14:34:51: [WiFiDrv] Connecting to 'colors' as bubble 14:34:51: [WiFiDrv] WiFi Entering State: Connected To AP 14:34:53: [WiFiDrv] Connected with IP: 192.168.11.218 14:34:53: [WebMgr] Web server listening on port 80 14:34:53: [ FPPD] FPPDiscovery subscribed to broadcast messages on port: 32320 14:34:53: [ FPPD] FPPDiscovery subscribed to multicast: 239.70.80.80:32320 14:34:53: [EthDrv] Entering State: Powering Up 14:35:00: [ 16063][E][esp32-hal-gpio.c:102] __pinMode(): Invalid pin selected 14:35:00: E (16057) gpio: gpio_set_level(227): GPIO output gpio_num error 14:35:00: [EthDrv] Entering State: Connecting 14:35:02: [EthDrv] ETH IP Before Start: 0.0.0.0 14:35:02: [EthDrv] Ethernet Connecting as bubble 14:35:04: [EthDrv] Connecting to Ethernet with Static IP 14:35:04: [EthDrv] Entering State: Wait for IP Address 14:35:04: [EthDrv] Entering State: Got IP 14:35:04: [EthDrv] Ethernet Connected with IP: 192.168.11.22 14:35:04: [EthDrv] Entering State: Connecting 14:35:06: [EthDrv] Entering State: Got IP 14:35:06: [EthDrv] Ethernet Connected with IP: 192.168.11.22 14:35:06: [EthDrv] Entering State: Connecting 14:35:16: [EthDrv] Entering State: Got IP 14:35:16: [EthDrv] Ethernet Connected with IP: 192.168.11.22 14:35:16: [EthDrv] Entering State: Connecting 14:35:20: [EthDrv] Entering State: Got IP 14:35:20: [EthDrv] Ethernet Connected with IP: 192.168.11.22 14:35:20: [EthDrv] Entering State: Connecting 14:35:28: [EthDrv] Entering State: Got IP 14:35:28: [EthDrv] Ethernet Connected with IP: 192.168.11.22

marcobrianza commented 3 months ago

I think that the issue was caused by powering the board with a usb cable that did no provide enough current (but I'm not sure 100%) I'm closing the issue for the moment