Difficulty Connecting Serial to PC

Arduino MEGA
When trying to upload, here is the log…it ends with the comm port timing out.

ploading compiled code to the board…
Waiting for upload port…

No new serial port detected.

“C:\Users\docto\xod_packages_\packages\esp8266\tools\python3\3.7.2-post1/python3” -I “C:\Users\docto\xod_packages_\packages\esp8266\hardware\esp8266\3.1.2/tools/upload.py” --chip esp8266 --port “COM3” --baud “115200” “” --before default_reset --after hard_reset write_flash 0x0 “C:\Users\docto\AppData\Local\Temp\xod_temp_sketchbookDYduQW\xod_1682628099105_sketch\build\esp8266.esp8266.gen4iod/xod_1682628099105_sketch.ino.bin”

at the end of the port time out message was this information.
A fatal esptool.py error occurred: Failed to connect to ESP8266: Timed out waiting for packet header

Help someone? Thanks.

esptool.py v3.0
Serial port COM3

Fixed: Corrected the selected baud rate. Corrected the device type. Works fine so far. Thanks.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.