Скрыть объявление
На нашем форуме недоступен просмотр изображений для неавторизованных пользователей. Если Вы уже зарегистрированы на нашем форуме, то можете войти. Если у Вас еще нет аккаунта, мы будем рады, если Вы к нам присоединитесь. Зарегистрироваться Вы можете здесь.

FLASH DOWNLOAD TOOL 3.4.2

Утилита для прошивки ESP8266

Метки:
  1. Victor
    flash_download_tool-1.2.png

    NOTE: (IMPORTANT!) (раскрыть)
    The spi settings in the flash download tool will overwrite the setting during the compile procedure(at first serveral bytes from 0x0).
    Make sure the settings are accord with the compile procedure.
    The original binary will not be changed.
    You can find the configured binaries in FLASH_DOWNLOAD_TOOLS/bin_tmp after the download is finished.
    Especially for bootvxx.bin, it will not change and keep default settings for spi mode.
    Also , you can press "CombineBin" button to get a combined binary which is already set to the mode you choose.

    The flash mode are defined in the 2nd and 3rd( count from 0) byte at flash address 0x0.
    Bootloader will read this bytes out and changed spi mode and size mode immediately. So this is very important for your production.
    Definition:

    # write flash bin header
    #============================
    # SPI FLASH PARAMS
    #-------------------
    #flash_mode=
    # 0: QIO
    # 1: QOUT
    # 2: DIO
    # 3: DOUT
    #-------------------
    #flash_clk_div=
    # 0 : 80m / 2
    # 1 : 80m / 3
    # 2 : 80m / 4
    # 0xf: 80m / 1
    #-------------------
    #flash_size=
    # 0 : 512 KB
    # 1 : 256 KB
    # 2 : 1024 KB
    # 3 : 2048 KB
    # 4 : 4096 KB
    #-------------------
    # END OF SPI FLASH PARAMS
    #============================
    byte2=int(flash_mode)&0xff
    byte3=(((int(flash_size)<<4)| int(flash_clk_div))&0xff)