Closed asat232 closed 2 months ago
Strange thing, i added in setup:
pinMode(CONFIG_ZIGBEE_MODULE_PIN, OUTPUT);
digitalWrite(CONFIG_ZIGBEE_MODULE_PIN, HIGH);
delay(500);
pinMode(CONFIG_BLUE_LIGHT_PIN, OUTPUT);
digitalWrite(CONFIG_BLUE_LIGHT_PIN, HIGH);
and reboot happened after 16 minutes, next time after almost 30 minutes Board is powered by programming USB stick. I will test powering with battery.
Just added to code WiFi functionality and board running already more than 2 hours without reboot (board is powered by the same programming USB stick) Any ideas?
10 hours without reboot, the reason is clear, empty loop(), because
vTaskDelay(1000 / portTICK_PERIOD_MS);
and
delay(1000);
behave in a different way, and without delay() in a loop() i experienced reboot or crash on other boards too.
Minimal example
Constantly keep rebooting:
Time between reboots is not constant and can be from 10 seconds to 10 minutes. The same behaviour from time to time i observed with "factory_test". "zigbee2mqtt" and "light_demo" seems to be working fine, at least i have not seen it.