I am having trouble to flash the ESP32 after updating to the latest esp-idf. After i used "make flash", these 2 errors occur pretty often:
Code: Select all
[b]A fatal error occurred: Failed to write to target RAM (result was 0x1, 0x7, 0x0, 0x0)[/b]
~/esp3/esp-idf/components/esptool_py/Makefile.projbuild:47: recipe for target 'flash' failed
make: *** [flash] Error 2
~/esp3/esp-idf-template# make flash
~/esp3/esp-idf/make/component_common.mk:1: Deprecated feature: No longer necessary to include component_common.mk from ~/esp3/esp-idf-template/main/component.mk
Flashing binaries to serial port /dev/ttyUSB0 (app at offset 0x10000)...
esptool.py v2.0-dev
Connecting...
Uploading stub...
Running stub...
Stub running...
Attaching SPI flash...
Configuring flash size...
Writing at 0x00001000... (100 %)
[b]A fatal error occurred: Failed to write to target Flash after seq 0 (result was 0xc1, 0x0)[/b]
~/esp3/esp-idf/components/esptool_py/Makefile.projbuild:47: recipe for target 'flash' failed
make: *** [flash] Error 2
Code: Select all
Flashing binaries to serial port /dev/ttyUSB0 (app at offset 0x10000)...
esptool.py v2.0-dev
Connecting...
Uploading stub...
Running stub...
Stub running...
Attaching SPI flash...
Configuring flash size...
Wrote 16384 bytes at 0x00001000 in 1.4 seconds (94.3 kbit/s)...
Hash of data verified.
Writing at 0x00020000... (17 %)
[b]A fatal error occurred: Failed to write to target Flash after seq 4 (result was 0xc1, 0x0)[/b]
~/esp3/esp-idf/components/esptool_py/Makefile.projbuild:47: recipe for target 'flash' failed
make: *** [flash] Error 2