# Difficulty Connecting Serial to PC

**URL:** https://forum.xod.io/t/difficulty-connecting-serial-to-pc/6551
**Category:** Uncategorized
**Created:** [April 27, 2023, 8:45pm UTC](https://forum.xod.io/t/difficulty-connecting-serial-to-pc/6551 "2023-04-27T20:45:49Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![hummer1](https://avatars.discourse-cdn.com/v4/letter/h/8797f3/32.png) [@hummer1](https://forum.xod.io/u/hummer1)
#### Post date: [April 27, 2023, 8:45pm UTC](https://forum.xod.io/t/difficulty-connecting-serial-to-pc/6551/1 "2023-04-27T20:45:49Z")

</div>

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  
Connecting…

---

<div class="post-metadata">

### Author: ![hummer1](https://avatars.discourse-cdn.com/v4/letter/h/8797f3/32.png) [@hummer1](https://forum.xod.io/u/hummer1)
#### Post date: [April 28, 2023, 2:19pm UTC](https://forum.xod.io/t/difficulty-connecting-serial-to-pc/6551/2 "2023-04-28T14:19:20Z")

</div>

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

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/eb7348baa04192c2ef932d1db54d44f09f8a7888.png) [@system](https://forum.xod.io/u/system)
#### Post date: [April 30, 2023, 2:20pm UTC](https://forum.xod.io/t/difficulty-connecting-serial-to-pc/6551/3 "2023-04-30T14:20:21Z")

</div>

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