• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Open Serial Error

Q&A Forum › Category: ESP32 › Open Serial Error
0 Vote Up Vote Down
bm3011 asked 6 years ago

Whenever I disconnect my ESP32 from my PC, I get a open serial error, please try again

error when I try to reconnect to it with Upycraft after a while. The python script on the chip still works, but i cannot establish a serial connection.

The only thing I can do at the moment is re-flash the firmware, but that is really annoying since every time i do this, i have to erase all the scripts on the board and start from scratch

Question Tags: connection issues, open serial error
1 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 6 years ago

Hi.
That’s very annoying indeed. Basically, we think this is what’s happening: when you’re running a script in your board, sometimes it’s busy running that script and performing the tasks. So, you need to try opening the COM port multiple times or restart the ESP to catch it available to establish the serial communication with uPyCraft IDE.

If you’re running a script that uses Wi-Fi, deep sleep, or it’s doing multiple tasks, I recommend trying 3 or 4 times to establish the communication. If you can’t, you really need to re-flash the ESP with MicroPython firmware.

Alternatively, you can use Thonny IDE (it is very intuitive and simple to use – simpler than uPyCraft, in my opinion). With Thonny IDE, you won’t have that problem so often. Will you try it?

Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.