logo elektroda
logo elektroda
X
logo elektroda

[Solved] ESP01: Difficulty uploading ESP8266_AT_Bin_V1.6.2_0 firmware via Flash Download Tools v3.8.5

88xtc 2337 23
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 19045122
    88xtc
    Level 11  
    Welcome,

    This is my first 'approach' to these modules. I bought 3pc. + adapters for programming on CP2104, FTDI 232RL, CH340. Diagram according to which I made the connections: ESP01: Difficulty uploading ESP8266_AT_Bin_V1.6.2_0 firmware via Flash Download Tools v3.8.5 .
    I have also added a reset button. External power supply, power supply ground, esp01 and adapters connected. I start the arduino, on the serial port monitor after a reset to 74880kb I have this notification: ESP01: Difficulty uploading ESP8266_AT_Bin_V1.6.2_0 firmware via Flash Download Tools v3.8.5 .
    I run Flash Download Tools v3.8.5, Firmware to upload is ESP8266_AT_Bin_V1.6.2_0, address map setting to upload according to readme.md. file, GPIO0 on ground, I press start : ESP01: Difficulty uploading ESP8266_AT_Bin_V1.6.2_0 firmware via Flash Download Tools v3.8.5 .
    At the end, a message like this: ESP01: Difficulty uploading ESP8266_AT_Bin_V1.6.2_0 firmware via Flash Download Tools v3.8.5 .
    Attempting to issue AT command : ESP01: Difficulty uploading ESP8266_AT_Bin_V1.6.2_0 firmware via Flash Download Tools v3.8.5 .
    After checking the firmware version in the port monitor it is still the same : ESP01: Difficulty uploading ESP8266_AT_Bin_V1.6.2_0 firmware via Flash Download Tools v3.8.5
    I have the same thing on every adapter, no commands.
    Please any advice from colleagues on the subject, what am I doing wrong.
    Greetings
  • ADVERTISEMENT
  • #2 19045944
    Anonymous
    Level 1  
  • ADVERTISEMENT
  • #3 19046222
    88xtc
    Level 11  
    I have already corrected the memory address map settings for the upload: ESP01: Difficulty uploading ESP8266_AT_Bin_V1.6.2_0 firmware via Flash Download Tools v3.8.5 .
    And the situation after uploading: ESP01: Difficulty uploading ESP8266_AT_Bin_V1.6.2_0 firmware via Flash Download Tools v3.8.5 .
    On the AT+GMR command at 74880kb it responds with screams: ESP01: Difficulty uploading ESP8266_AT_Bin_V1.6.2_0 firmware via Flash Download Tools v3.8.5 while after a reset at this speed I have feedback about what I have uploaded.
    At 115200kb after issuing the AT command it responds: ESP01: Difficulty uploading ESP8266_AT_Bin_V1.6.2_0 firmware via Flash Download Tools v3.8.5 while a reset at this speed results in a dump of bushes instead of feedback.
  • #4 19046240
    Anonymous
    Level 1  
  • #5 19046302
    88xtc
    Level 11  
    khoam wrote:
    .
    Try at 9600.
    .
    On 9600kb there is no response at all on the other ones these predefined also either bushes or silence. I wonder if the firmware is actually uploaded well, looking through the videos there is a percentage progress with me it is different. I have ordered another 4 pcs and will see if anything moves.
    For one I uploaded EspEasy+ds1820, configuration in the browser ok, temp read but again not sending on thingspeak.
  • #6 19046313
    Anonymous
    Level 1  
  • #7 19046321
    88xtc
    Level 11  
    khoam wrote:
    Have you tried clearing all the flash before uploading the firmware?
    .

    No, I don't know how to do that ?
  • #8 19046326
    Anonymous
    Level 1  
  • ADVERTISEMENT
  • #9 19046365
    88xtc
    Level 11  
    I just cleaned + uploaded this firmware from AT, still the same as before. Is it possible to deduce from these circuit feedback messages that it is faulty ?
  • ADVERTISEMENT
  • #10 19046367
    Anonymous
    Level 1  
  • #11 19046427
    88xtc
    Level 11  
    I uploaded via ArduinoIDE the simplest sketch to flash the blue LED on esp01, it uploaded correctly but there is no correct operation, only the red power supply is lit. I uploaded via GPIO0 shorted to ground on the CH340 adapter and the settings for the "Generic ESP8266 module" default because I don't know what to change there.
  • #12 19046635
    Anonymous
    Level 1  
  • #13 19046761
    88xtc
    Level 11  
    Yes after uploading ESP8266_AT_Bin_V1.6.2_0 there is an ESP_CAF666 network open. Each esp01 after uploading reports me a WiFi network
  • #14 19046768
    Anonymous
    Level 1  
  • #15 19046788
    88xtc
    Level 11  
    The terminal built into the Arduino that is this serial port monitor and Putty. W
    Putty I open a session, serial - select the port on which CH340 is visible, set the speed and that's it. ESP01: Difficulty uploading ESP8266_AT_Bin_V1.6.2_0 firmware via Flash Download Tools v3.8.5 .

    One more thing, I don't know if it matters but when I upload a sketch via ArduinoIDE and even though the sketch uploaded doesn't work, the Esp continues to broadcast the WiFi signal. I thought that if I upload anything via Arduino then the uploaded sketch will act as firmware and Esp should not work in AP mode after that ? Sorry for such 'peasant' reasoning but I am describing as much as I can.
  • #16 19046864
    Anonymous
    Level 1  
  • #17 19046903
    88xtc
    Level 11  
    khoam wrote:
    Try uploading AT firmware again, but with DOUT option instead of QIO (settings in SPI MODE section).
    .
    AT uploaded with DOUT option, on 115200kb AT+GMR responds Error, on 9600 silence, on 74880 bushes.
    Strange that after a reset it doesn't state what mode the SPI is in: ESP01: Difficulty uploading ESP8266_AT_Bin_V1.6.2_0 firmware via Flash Download Tools v3.8.5 .
  • #18 19046973
    Anonymous
    Level 1  
  • #19 19049255
    88xtc
    Level 11  
    DIO didn't change anything either, it returns ERROR after issuing any command, on 74880 after a reset it returns the information correctly. The ones I am trying to flash are 'ordinary' ESP01s. Today 4pcs of esp01 have arrived including one esp01S and a Nodemcu V3 through which I will also try to upload something on esp01. If the situation repeats itself, then it's either an adapters fault or something with the ports ? I will report back from the battlefield on Wednesday. Thanks a lot for the support so far !
  • Helpful post
    #20 19049266
    Anonymous
    Level 1  
  • #21 19049440
    Slawek K.
    Level 35  
    Is GPIO0 shorted to GND during programming and disconnected from GND during normal operation ? The question may be trivial but it is worth being sure ;) .

    Greetings
  • Helpful post
    #22 19049760
    simw
    Level 27  
    88xtc wrote:
    DIO didn't change anything either, it returns ERROR after issuing any command,
    .
    Do you take care in the terminal to add the appropriate characters at the end of the line after typing the command? Depending on the terminal this can vary. In the Serial monitor with the arduino, "Both NL and CR" should be selected.
  • #23 19052354
    88xtc
    Level 11  
    khoam wrote:
    If you uploaded a photo of the "lid" of these modules, it would be possible to have a closer look.
    .
    ESP01: Difficulty uploading ESP8266_AT_Bin_V1.6.2_0 firmware via Flash Download Tools v3.8.5 .
    From what I read the esp01 on the blue pcb had 512kB. I can't take a better photo with what camera I have.

    simw wrote:
    In the Serial monitor with the arduino it should be selected "Both NL and CR"
    .
    I inserted and it works, every AT command. I have wasted several days looking for a problem where there is none, leaving me with 7pcs of esp01 to use :) .
    ESP01: Difficulty uploading ESP8266_AT_Bin_V1.6.2_0 firmware via Flash Download Tools v3.8.5 .
    Works even on upload without external power supply
    ESP01: Difficulty uploading ESP8266_AT_Bin_V1.6.2_0 firmware via Flash Download Tools v3.8.5

    Slawek K. wrote:
    Is GPIO0 shorted to GND during programming and disconnected from GND during normal operation ? Question may be trivial but it is worth being sure
    .
    Yes, GPIO0 returns to VCC

    A big thank you to you Fellows for your support and knowledge sharing, which I will probably still use when 'wrestling' with these modules.
  • #24 19056611
    88xtc
    Level 11  
    No CR LF characters inserted at the end of commands

Topic summary

The discussion revolves around difficulties encountered while uploading the ESP8266_AT_Bin_V1.6.2_0 firmware to ESP-01 modules using Flash Download Tools v3.8.5. The user initially faced issues with serial communication settings and firmware upload progress. After several attempts and adjustments, including changing the memory address map and trying different baud rates (74880, 115200, and 9600), the user confirmed that the firmware was uploaded correctly as the ESP module broadcasted a WiFi network. However, issues persisted with serial terminal communication, leading to confusion over command responses. Suggestions included clearing the flash memory before uploading, using different SPI modes (DOUT and DIO), and ensuring proper terminal settings. Ultimately, the user resolved the issue by confirming the correct operation of the ESP-01 after ensuring proper command formatting and GPIO configurations.
Summary generated by the language model.
ADVERTISEMENT