Questions tagged [esptool]
23 questions
6
votes
5 answers
esptool.py not recognized as internal or external command, operable program or batch file
I recently tried to load MicroPython on ESP8266 board, but failed. To do that I had to install esptool. I successfully installed it but when I wanted to use it, it would not work.
For instance,
esptool.py --help
'not recognized as internal or…

OskarCvj
- 69
- 1
- 1
- 3
4
votes
8 answers
A fatal esptool.py error occurred: Cannot configure port. PermissionError(13, 'A device attached to the system is not functioning.', None, 31)
I am using a windows OS and I tried running a .ino code in arduino IDE for ESP8266 and came across the following error while trying to upload the code to ESP8266.
A fatal esptool.py error occurred: Cannot configure port, something went wrong.…

Krshnapriy
- 41
- 1
- 1
- 3
2
votes
1 answer
What does "stub" mean in the context of ESP32 and esptool option --no-stub?
I want to program a board with an esp32 on it using esp-prog and esptool. When I do that I get the following error:
...
Crystal is 40MHz
MAC: c8:2b:96:b8:e7:e0
Uploading stub...
Running stub...
Traceback (most recent call last):
File…

Martin Günther
- 25
- 1
- 3
2
votes
0 answers
esptool.FatalError: Timed out waiting for packet header Arduino
I have a ESP8266. The last working state was loading just fine and wasn't getting any errors on esptool. However, after coming back to the code and running the Arduino. To give some background, I am creating a nixie clock with…

Acire
- 270
- 2
- 13
1
vote
0 answers
Bootloop Problem of My Own Brand New Board w/ ESP32-S3 Chip
We made our own board with ESP32-S3 (FN8 Model with 8 MB Flash internal). We see bootloop when we first turn it on. After looading bootloader.bin (and many different *.bin files) we still see bootloop problem and we get the following messages from…

Canik01
- 11
- 2
1
vote
0 answers
Is it possible to use a Memory Mapped File (C#) instead of a file in command Write_Flash of esptool.py?
I have encrypted files which are later decrypted and written to Memory Mapped Files.
I want to write to ESP32's flash a binary file that is decoded into Memory Mapped File. I saw this command in the documentation: esptool --port /dev/ttyUSB0…

slpncrg
- 11
- 2
1
vote
0 answers
SerialTimeoutException while flashing firmware to a esp8266 nodeMCU board using esptool
I have been working on a project that involves controlling a 4 channel relay using micropython on a esp8266 nodeMCU board. I have been using esptool to flash the latest micropython firmware bin file to the board. Everything went well at first, and I…

Willyd
- 37
- 7
1
vote
1 answer
ampy no longer connecting
I had ampy working for a while. It was intermittent after that, and now it doesn't work most of the time. I'm able to run esptool.py --port COM3 flash_id and esptool.py --port COM3 chip_id, but when I try to run ampy --port COM3 ls or ampy --port…

tazboy
- 1,685
- 5
- 23
- 39
1
vote
0 answers
Having trouble with programming ESP8266-01 chips. Connection Issue?
I'm trying to program these ESP chips but in order to upload to them, I need something called 'esptool.py' and flash the firmware on each chip in order to do so. I have got to a point where I have the chip connected and I am giving the prompt this…

Joseph Higgins
- 11
- 1
- 3
1
vote
0 answers
How to properly download SPIFFS bin by using mkspiffs and esptool
I am working on an application generator tool for esp8266 devices and cannot use properly the mkspiffs and esptool tools.
I have read the available documentation for mkspiffs and esptool, also enabled the verbose output in the Arduino IDE to see how…

litechniks
- 11
- 3
0
votes
0 answers
ESP32-S2 serial port
I have Adafriut ESP32-S2 FeatherS2 Development Board. By default it is configured for circuitPython (UF2 bootloader mode). To program it with arduino/espidf I followed the manufacturer instructions and pressed BOOT button on the board, then clicked…

Arek
- 1
- 1
0
votes
1 answer
Upload data folder file to spiff of esp8266
I'm trying to upload an Arduino file and its associated data folder to an esp8266 using Arduino-cli, but I'm having trouble uploading the contents of the data folder to the esp8266 SPIFF memory.
I am not able to find a way to solve this…
0
votes
0 answers
Way to upload files to ESP32's spiffs file system using Python
I'm working on a self-project that I need to upload some values to esp32 from Python program.
I want to upload those values esp32 in .txt format and read those with SPIFFS library. I know a way to upload files to esp32 and esp8266 with Arduino ide…

SMD_Human
- 11
- 1
0
votes
1 answer
Re-flash en encrypted ESP32
I have configure my esp32 s3 project by using "idf.py menuconfig" and I have set they parameters as below :
Security features ->
Enable flash encryption on boot ->
```
…

Stimm4
- 13
- 3
0
votes
0 answers
Why do I keep receiving a syntax error when trying to run pip install esptool onto my ESP8266?
I am trying to code my Feather Huzzah ESP8266 with Python. I have followed multiple different tutorials but have ran into the same error each time while trying to flash the device using esptool. The error I get I am pasting below. I have made sure…

jsimmons
- 1