Cannot update firmware ESP-WROOM-02 Series v2.2.1.0

hoavinh108
Posts: 5
Joined: Thu Feb 29, 2024 11:16 pm

Cannot update firmware ESP-WROOM-02 Series v2.2.1.0

Postby hoavinh108 » Thu Feb 29, 2024 11:53 pm

Hi everyone
I have a problem when update firmware ESP-WROOM-02 Series v2.2.1.0 to ESP-01S and ESP-12F
1/ About ESP-01S:
Base on information on the website: https://docs.espressif.com/projects/esp ... aries.html
I had download esp8285-1MB-at -> but I do not understand how to flash it. I tried many solution but not successfully.
First my device has firmware 0.9 -> I used an USB TTL connect it to ESP-01S and can upgrade to firmware 1.7.5.0
AT+GMR
AT version:1.7.5.0(Oct 9 2021 09:26:04)
SDK version:3.0.5(b29dcd3)
compile time:Oct 15 2021 18:05:30
Bin version(Wroom 02):1.7.5
OK
Now I tried upgrade to version 2.2 -> open the file esp8285-1MB-at
I used flash_download_tool_3.9.5 -> flash file factory_ESP8266_1MB.bin at address 0x0 ( SPI Speed 40MHz, SPI Mode is DOUT, check DoNotChgBin ) -> after flash: the device cannot boot, it does not reply the command AT to check)
I re-flash version 1.7.5 and it worked well -> tried upgrade another way: upload multiple file
I open file download.config and set the flash_download_tool_3.9.5 as the file require:
0x8000 partition_table/partition-table.bin
0x9000 ota_data_initial.bin
0x0 bootloader/bootloader.bin
0x20000 esp-at.bin
0x18000 at_customize.bin
0x1A000 customized_partitions/client_cert.bin
0x1B000 customized_partitions/client_key.bin
0x1C000 customized_partitions/client_ca.bin
0x1D000 customized_partitions/mqtt_cert.bin
0x1E000 customized_partitions/mqtt_key.bin
0x1F000 customized_partitions/mqtt_ca.bin
0x19000 customized_partitions/factory_param.bin
SPI Speed 40MHz, SPI Mode is DOUT, donot check DoNotChgBin -> after falsh, it cannot boot and does not reply AT
Tried another: replace customized_partitions/factory_param.bin by file factory_param_ESP8266_1MB.bin and tried flash all again -> it cannot boot and does not reply AT
I do not understand what happen
----------------
I buy another module ESP-12F to try upgrade because the ESP-01S only have 1MB
2/ About ESP-12F: first upgrade it successfully to version 1.7.5.0 as above
I download ESP-WROOM-02 Series v2.2.1.0 at website: https://docs.espressif.com/projects/esp ... aries.html
First: tried upload factory_WROOM-02.bin at address 0x0 ( SPI Speed 40MHz, SPI Mode is DIO, check DoNotChgBin ) -> cannot boot and does not reply AT
Second: tried upload multiple file as download.config request (SPI Speed 40MHz, SPI Mode is DIO, donot check DoNotChgBin)
0x8000 partition_table/partition-table.bin
0x9000 ota_data_initial.bin
0x0 bootloader/bootloader.bin
0x10000 esp-at.bin
0xF0000 at_customize.bin
0xFC000 customized_partitions/client_ca.bin
0x106000 customized_partitions/mqtt_key.bin
0x104000 customized_partitions/mqtt_cert.bin
0x108000 customized_partitions/mqtt_ca.bin
0xF1000 customized_partitions/factory_param.bin
0xF8000 customized_partitions/client_cert.bin
0xFA000 customized_partitions/client_key.bin
-> cannot boot and does not reply AT
Third: tried replace customized_partitions/factory_param.bin by file factory_param_WROOM-02.bin as the document request, and tried flash all file again -> cannot boot and does not reply AT

Where did I do it wrong?

hoavinh108
Posts: 5
Joined: Thu Feb 29, 2024 11:16 pm

Re: Cannot update firmware ESP-WROOM-02 Series v2.2.1.0

Postby hoavinh108 » Fri Mar 01, 2024 7:36 am

Hi all
I follow the guide: https://sigmdel.ca/michel/ha/esp8266/ES ... n.html#toc
-> download file bin "espat_esp01.bin" (https://github.com/sigmdel/other_releases) -> flash it by flash_download_tool_3.9.5 ( SPI Speed 40MHz, SPI Mode QIO, check DoNotChgBin, address 0x0)
I can upgrade my ESP-01S to version 2.2.2.0
AT version:2.2.2.0-dev(952f658 - ESP8266 - Nov 23 2022 06:37:28)
SDK version:v3.4-67-g82d8ba2c
compile time(38991f7):Jul 21 2023 04:07:04
Bin version:2.2.1(ESP8266_1MB)
but I tried AT command about MQTT -> it does not support, response is ERROR
AT+MQTTUSERCFG=0,0,"test",,,0,0,""

ERROR
above code is run with another module ESP8266 with version information below
AT+GMR
AT version:1.7.1.0(Nov 22 2019 17:52:35)
SDK version:3.0.2-dev(774826c)
compile time:Jan 18 2022 12:15:04
OK
How I can run AT+MQTT command with my ESP-01S ?

Who is online

Users browsing this forum: No registered users and 12 guests