question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Upload to ESP32 failed

See original GitHub issue

Hello, I have a problem uploading to my ESP32. When I try to upload with pycharm I have an error: ampy.pyboard.PyboardError: could not enter raw repl So I tried to upload directly from the terminal without a virtual environment. And it works. So I logged into the virtual environment, updated ampy to version 1.1.1 and was able to upload it from the terminal. On the other hand, I cannot upload with pycharm because it wants to update version 1.0.5. How do I get the extension to accept version 1.1.1 of ampy. I’m on big macos on.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:1
  • Comments:11

github_iconTop GitHub Comments

2reactions
Elizaveta239commented, Sep 2, 2022

Hi! We’ll try to include it in the next update.

1reaction
kpostekkcommented, May 26, 2021

You can try to increase hardcoded delay on the following line and see if it helps

Solution by @lensvol has worked for me. I have changed value from 0.5 to 2.5 and it works.

Zrzut ekranu 2021-05-26 o 21 48 18Zrzut ekranu 2021-05-26 o 21 47 38

You can open file by following command code "~/Library/Application Support/JetBrains/PyCharm2021.1/plugins/intellij-micropython/scripts/microupload.py"

Read more comments on GitHub >

github_iconTop Results From Across the Web

ESP32 Troubleshooting Guide | Random Nerd Tutorials
When you try to upload a new sketch to your ESP32 and it fails to connect to your board, it means that your...
Read more >
How to fix Failed to connect to ESP32: Timed out waiting for ...
Press the boot button when press uploading button until it write the code. Try disconnect esp32 from the board/header/pcb that you are using ......
Read more >
A fatal error occurred: Failed to connect to ESP32: Timed out …..
Open the Arduino IDE Serial Monitor; Hold-down the “BOOT” button; Press the “ENABLE” button once; Release the finger from the “BOOT” button. Do...
Read more >
ESP32 upload failure
Recently I started to see hick-ups when trying to upload my sketch to the ESP32 board. I had to try several times in...
Read more >
Failed to connect to ESP32: Timed out waiting for packet ...
Make sure certain pins are not connected when uploading programs ! In my case, pin 12 was connected to an INT signal from...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found