-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESP8266 Arduino Core v2.6.0 #471
Comments
esp8266/Arduino#6552 is actually super interesting if you read through the whole thread from the original issue in esp8266/Arduino#6366. The issue is not that low-end flash chips are slow - the issue is that cheap boards are poorly laid out, and at higher TX powers the RF interference actually causes the flash to misread, resulting in all kinds of bad things including executing instructions that send the pointer to bad offsets in the stack. I wonder if it might also be affecting writes and corrupting flash - that wasn't tested in the thread. The fix was to either reduce TX power, use an external antenna, or reduce the flash frequency: esp8266/Arduino#6366 (comment). ESPHome doesn't currently expose wifi power settings, but this might be a good reason to do so. See: esp8266/Arduino#764 (comment) |
esp8266/Arduino#6674 (comment) is also interesting |
See also: - esphome/feature-requests#471 (comment) - esp8266/Arduino#6366 - esp8266/Arduino#6471 - https://github.com/xoseperez/espurna/blob/849f8cf920096fa4b804e70913dab0917ee18ad9/code/espurna/config/general.h#L593-L599 - https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/network/esp_wifi.html#_CPPv425esp_wifi_set_max_tx_power6int8_t
* Add wifi output_power setting See also: - esphome/feature-requests#471 (comment) - esp8266/Arduino#6366 - esp8266/Arduino#6471 - https://github.com/xoseperez/espurna/blob/849f8cf920096fa4b804e70913dab0917ee18ad9/code/espurna/config/general.h#L593-L599 - https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/network/esp_wifi.html#_CPPv425esp_wifi_set_max_tx_power6int8_t * Lint
* Add wifi output_power setting See also: - esphome/feature-requests#471 (comment) - esp8266/Arduino#6366 - esp8266/Arduino#6471 - https://github.com/xoseperez/espurna/blob/849f8cf920096fa4b804e70913dab0917ee18ad9/code/espurna/config/general.h#L593-L599 - https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/network/esp_wifi.html#_CPPv425esp_wifi_set_max_tx_power6int8_t * Lint
Just a heads-up, Core 2.6.2 just got released and is in platform-espressif8266 2.3.1 |
Arduino Core v2.6.0 for ESP8266 was just released: https://github.com/esp8266/Arduino/releases/tag/2.6.0
There appear to be quite a few bugfixes that may help stability.
Some highlights:
ets_intr_lock
nested; from description appears to fix ESP8266 getting unreachable after a while - Ets intr lock nest esp8266/Arduino#6484, Esp8266 IP Address not reachable after a while esp8266/Arduino#2330Add option for slower flash chips, behavior seems to kinda be similar to the infamous ESP8266 Various Connection Issues issues#455; plus the fact that it depends on fw size/alignment would finally make sense; idk, don't want to get my hopes up too much yet - Add 20/26MHz Flash frequencies for slow/cheap flash chips on the Generic ESP Board esp8266/Arduino#6552
i2c transaction fix: Double I2C read in one transaction skips a clock pulse (#5528) esp8266/Arduino#6654
NONOS-SDK updated to 2.2.x, and appears to be the new default; TODO evaluate stability, check tools/platformio-build.py - nonos-sdk: update to latest version 2.2.x branch, commitlog added in tree esp8266/Arduino#6257, Switch default FW to "2.2.2-dev(38a443e)" (menu:2.2.1+100) esp8266/Arduino#6272, FW: use NONOS-SDK branch 2.2.x from 2019-10-24 by default esp8266/Arduino#6724
Potential changes needed for:
May want to copy some bugfixes downstream:
Other useful stuff:
precache()
(like prefetch for instruction memory) - precache() - preload code into the flash cache. esp8266/Arduino#6628Misc:
disable_interrupts()
+enable_interrupts()
function to be a scoped lock likeesp8266::InterruptLock
. Makes code cleanerThe text was updated successfully, but these errors were encountered: