ESP8266 IDF Style and OTA for 1MB flash

Sysprogs forums Forums VisualGDB ESP8266 IDF Style and OTA for 1MB flash

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #25020
    julieninnovel
    Participant

    Hello,

     

    I’m using the new SDK of ESP8266 IDF Style.

    Before, I was using the NONOS SDK, and OTA was working fine.

     

    Now, with the new SDK, for ESP8266 with 2MB of flash, all is OK, the OTA working fine.

    But with 1MB of flash, OTA doesn’t work…

     

    I’ve trying to use the CONFIG_APP2_SUPPORT flag, but nothing works…

    I’ve try to use the CONFIG_ESP8266_BOOT_COPY_APP, but there is an error on bootloader build…

     

    I’ve seen in ESPRESSIF docs, that for 1MB of flash, app1 and app2 are different, and final binary file is app1 + app2.

    But when I build my project, I only find one binary file, no app1 or app2 binary.

     

    Here is my partition table :

    # Name, Type, SubType, Offset, Size, Flags
    nvs, data, nvs, 0x9000, 0x4000
    otadata, data, ota, 0xD000, 0x2000
    phy_init, data, phy, 0xF000, 0x1000
    ota_0, app, ota_0, 0x10000, 0x70000
    ota_1, app, ota_1, 0x80000, 0x70000
    calibration, 64, 0x00, 0xF0000, 0x1000
    config, 65, 0x00, 0xF1000, 0x1000
    user_free, 254, 0x00, 0xF2000, 0xE000

     

    I’m using the latest ESP8266 toolchain 5.2.0/7.10/r17

     

    Thanks for your help

    #25021
    support
    Keymaster

    Hi,

    This looks like something managed by the ESP8266 SDK itself and not by VisualGDB. Please consider asking on the Espressif’s forum instead.

    #25022
    julieninnovel
    Participant

    Hi,

     

    Ok thanks I will check directly with espressif.

    #25050
    julieninnovel
    Participant

    Hi,

     

    I’ve check with the last release of espressif SDK RTOS 3.1 and it’s working (https://github.com/espressif/ESP8266_RTOS_SDK/tree/release/v3.1 last commit 22 days ago).

    Do you know if it’s planned to update the VisualGDB toolchain with the latest espressif SDK ?

     

    Also Espressif is working on the SDK 3.2 (master branch of git), but maybe this version still not good to be added to the VisualGDB toolchain ?

     

    Thanks

     

     

    #25051
    support
    Keymaster

    Hi,

    VisualGDB already supports selecting arbitrary ESP-IDF checkouts to use with your projects. Please use VisualGDB Project Properties -> ESP-IDF Project -> ESP-IDF Checkout to select a version you would like to use (VisualGDB can automatically clone IDF releases from Github).

    We are also working on an update to our ESP32 toolchain that will include a newer IDF checkout.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.