logo elektroda
logo elektroda
X
logo elektroda

Flashing OpenBeken/OBK firmware to ESP8266/ESP8285 devices

divadiow 4359 95
ADVERTISEMENT
  • #91 21846791
    p.kaczmarek2
    Moderator Smart Home
    ESP32 and ESP8266 protocols are very similar, not many changes were required.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #92 21846794
    divadiow
    Level 38  
    cool. fails MD5 for me, but boots OK

    Screenshot of BK7231 Easy UART Flasher showing “Verifying MD5…” and an MD5 verification timeout in the log
  • ADVERTISEMENT
  • #93 21846795
    p.kaczmarek2
    Moderator Smart Home
    MD5 also fails for me, not yet clear why, but i will look into it

    Added after 9 [minutes]:

    Screenshot of BK7231 Easy UART Flasher showing “Write verified” and a flashing operation log.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #94 21846838
    divadiow
    Level 38  
    cool. I wonder how the flash size detection for 2mb+ could work when it happens after the firmware has been downloaded. download both in one go then EF chooses what to flash based on detected flash size?
  • ADVERTISEMENT
  • #95 21846850
    Tilator
    Level 12  
    p.kaczmarek2 wrote:
    MD5 also fails for me, not yet clear why, but i will look into it


    Is it possible, it uploads 2MB but download whole 4MB for comparison?

Topic summary

The discussion centers on flashing a 2MB OpenBeken/OBK firmware onto a 4MB ESP8266 board. Initial boot logs confirm successful recognition of the 4MB flash size with a detailed partition table including OTA data, WiFi NVS, two OTA app partitions, and an LFS partition. Users report smooth flashing and stable WiFi connectivity without resets after manual reboot. GPIO2 functionality is confirmed. Subsequent updates include added PWM and UART support, with UART implemented via a task-based polling method to avoid crashes seen with interrupt-driven approaches. PWM operates inverted but functional, with PWM_n also working as expected. OTA updates remain non-functional despite passing image checks. Adjustments to QuickTick timer handling and stack size were necessary to prevent crashes. Disabling PWM on GPIO0 resolved bootloop issues. Overall, the firmware demonstrates improved hardware compatibility and peripheral support on the 4MB ESP8266 platform.
Summary generated by the language model.
ADVERTISEMENT