Code: Select all
--port COM4 erase_flash
esptool.py v3.0
Serial port COM4
Connecting....
Chip is ESP32-D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 78:21:84:80:8d:d8
Uploading stub...
Running stub...
Stub running...
Erasing flash (this may take a while)...
Chip erase completed successfully in 13.1s
Hard resetting via RTS pin...
Erasing done
------------------------------------
C:\Users\Admin\AppData\Local\Programs\Thonny\python.exe -u -m esptool --chip esp32 --port COM4 write_flash --flash_mode keep --flash_size detect 0x1000 C:/Users/Admin/Downloads/micropython-camera-driver-master/micropython-camera-driver-master/firmware/micropython_cmake_9fef1c0bd_esp32_idf4.x_ble_camera.bin
esptool.py v3.0
Serial port COM4
Connecting........_____....._____....._____....._____....._____....._____....._____
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
Write command returned with error code 2
But then there is another message that suggests there is a problem with either the flash memory chip or the sd card?
Code: Select all
rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
flash read err, 1000
ets_main.c 371
ets Jun 8 2016 00:22:57