Questions tagged [esptool]
23 questions
0
votes
2 answers
Emulate CP210x USB-FTDI chip using SAMD21
The dev boards for the ESP32 family of MCU use CP210x (or similar) "FTDI" chips to communicate with the MCU when flashing. CP210x presents a COM port to the host computer which runs esptool.py, a script which implements the Esressif communication…

Marchingband
- 489
- 1
- 7
- 14
0
votes
1 answer
NodeMCU ESP8266 cannot upload sketch - timeout error
Using arduino-cli, the arduino-ide, or directly the esptool.py (from https://github.com/espressif/esptool) I obtain the following error when uploading a simple (correct) sketch.
x@y:~/blink$ ~/tools/arduino-cli upload -p /dev/ttyUSB0 --fqbn…

65537
- 28
- 8
0
votes
1 answer
ESP32 phy_init partition has no size
I want to flash the ESP32-D0WDQ6 chip, but the code will not run. In the monitor I can see that the app actually never loads. The partition phy_init does not seem to have any size and the chip gets stuck after that line.
Monitor output:
rst:0x1…

Alex98776
- 11
- 3
0
votes
1 answer
Setup ESP-IDF Tools 2.3 ended up with error code 128
When I try to install esp-idf and tools for my windows 7 64bit verssion, I get this error:
Installation has failed with exit code 128
Here is a part of the log...
2021-01-22 13:43:52.756 --------
2021-01-22 13:43:52.756 Resetting the…

Cristian F.
- 328
- 2
- 12
0
votes
2 answers
Functions in Micro-python
i have a question about micro-python that how to make and call functions in micro-python or any other idea related to functions
my code throwing an error that NameError: name 'my_func' isn't defined
import time
from machine import Pin
led = Pin(2,…
user12267802
0
votes
1 answer
Terminal issue, MicroPythonREPL
I'm using PyCharm to do some kinds of stuff on ESP32,
It's ongoing, but I can't use the terminal correctly. MicroPython REPL doesn't seem to work. I can't do serial commands on the terminal.
I'm using a venv to do it, and maybe the problem is…

Hyago Taya
- 3
- 2
0
votes
2 answers
Can't upload my code to esp32 and not able able to erase flash
Every time i try to upload a code or erase flash it gets me "A fatal error occurred: Timed out waiting for packet content"
C:\esptool>python esptool.py --port com4 erase_flash
esptool.py v3.0-dev
Serial port com4
Connecting........_
Detecting chip…

Mohamed Salah
- 1
- 2
0
votes
2 answers
ESP32 cannot upload code write_flash error
I'm getting this error on Arduino(1.8.9).
usage: esptool write_flash [-h] [--erase-all]
[--flash_freq {keep,40m,26m,20m,80m}]
[--flash_mode {keep,qio,qout,dio,dout}]
[--flash_size…

Developer Here
- 75
- 1
- 10