logo elektroda
logo elektroda
X
logo elektroda

[Solved] Error uploading code to Generic ESP8266 module - Arduino 1.8.19, Windows 10, board parameters

stasix909 1191 12
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 19821236
    stasix909
    Level 3  

    I have a problem uploading i don't know how to fix it






    . .
    Arduino:1.8.19 (Windows Store 1.8.57.0) (Windows 10), Board: "Generic ESP8266 Module, 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, dtr (aka nodemcu), 26 MHz, 40MHz, DOUT (compatible), 1MB (FS:64KB OTA:~470KB), 2, nonos-sdk 2.2.1+100 (190703), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
    Executable segment sizes:
    ICACHE : 32768 - flash instruction cache
    IROM : 469464 - code in flash (default or ICACHE_FLASH_ATTR)
    IRAM : 28017 / 32768 - code in IRAM (IRAM_ATTR, ISRs...)
    DATE : 4032 ) - initialized variables (global, static) in RAM/HEAP
    RODATA : 4364 ) / 81920 - constants (global, static) in RAM/HEAP
    BSS : 30224 ) - zeroed variables (global, static) in RAM/HEAP
    The sketch uses 505877 bytes (52%) of program memory. The maximum is 958448 bytes.
    Global variables use 38620 bytes (47%) of dynamic memory, leaving 43300 bytes for local variables. The maximum is 81920 bytes.
    esptool.py v3.0
    .
    Serial port COM4
    Connecting........_____....._____....._____....._____....._____....._____.....____Traceback (most recent call last):
    File "C: File "C.0.2/tools/upload.py", line 66, in <module>
    .
    esptool.main(cmdline)
    File "C:/Users/PC/Documents/ArduinoData/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool.py", line 3552, in main
    .
    esp.connect(args.before, args.connect_attempts)
    File "C:/Users/PC/Documents/ArduinoData/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool.py", line 529, in connect
    raise FatalError('Failed to connect to %s: %s' % (self.CHIP_NAME, last_error))
    esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header
    .
    esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header
    .
    _
    This report should contain more information if in
    File -.> Preferences will be enabled with the option "Show
    Detail information during compilation"
    [/table:82fdd9fd60] [/tr:82fdd9fd60]
    Do you have a problem with Arduino? Ask question. Visit our forum Arduino.
  • ADVERTISEMENT
  • #2 19821498
    ArturAVS
    Moderator
    How do you program the ESP? Dedicated board/module with programmer or USB<->UART converter?
  • #3 19821846
    stasix909
    Level 3  
    I'm average at this but it's like this, I take a usb cable I plug it into my computer I have the drivers for esp uploaded and it detects my computer I go into arduino ide and upload and I get this error in 3 esp8266 and I can't upload it says connecting …….—-…….—-…….—-…....
  • ADVERTISEMENT
  • #4 19821862
    ArturAVS
    Moderator
    stasix909 wrote:
    I'm average at this but it's like I take a usb cable and connect it to the computer
    .
    What ESP module is this specifically?
  • #5 19821915
    stasix909
    Level 3  
    And such 3. 2 plain ones from amazon with no description and 1 lolin Error uploading code to Generic ESP8266 module - Arduino 1.8.19, Windows 10, board parameters Error uploading code to Generic ESP8266 module - Arduino 1.8.19, Windows 10, board parameters Error uploading code to Generic ESP8266 module - Arduino 1.8.19, Windows 10, board parameters .
  • #6 19821935
    ArturAVS
    Moderator
    When you turn on the programming (the code compiles without errors) and those dashes and dots in the arduino ide start to go then press reset on the board.
  • #7 19821976
    stasix909
    Level 3  
    Ok I'll check when I get home and get back to you.
  • ADVERTISEMENT
  • #8 19821997
    ArturAVS
    Moderator
    I have (I think) a NodeMcu v3 clone and until I press reset it also throws a communication error.
  • #9 19822009
    stasix909
    Level 3  
    We join in the pain .
  • #10 19822012
    ArturAVS
    Moderator
    It's no pain to press a single button.
  • #11 19848953
    stasix909
    Level 3  
    if anything this doesn't work either :(
  • #12 19848998
    tomek122
    Level 22  
    And do you have the right board selected in arduino?
  • ADVERTISEMENT
  • #13 20618510
    stasix909
    Level 3  
    I have not solved

Topic summary

The discussion revolves around issues faced while uploading code to a Generic ESP8266 module using Arduino IDE 1.8.19 on Windows 10. The user experiences a communication error during the upload process, despite having the correct drivers installed and the module recognized by the computer. Various suggestions are made, including checking the specific ESP module type, ensuring the correct board is selected in the Arduino IDE, and pressing the reset button on the board during the upload process. The user mentions using three ESP8266 modules, including two generic ones and one Lolin model, but continues to face difficulties in resolving the issue.
Summary generated by the language model.
ADVERTISEMENT