ESP32_Devkitc_V4 - unable to flash
Posted: Fri Nov 01, 2019 5:07 pm
Hello,
I was able to erase my ESP32_Devkitc_V4 with ESP32-WROOM-32D module, however I'm not able to get one to work again.
I followed the https://docs.espressif.com/projects/esp ... index.html
Flashing result:
However monitor shows:
I have nothing connected to my module, except USB cable. Module is powered up only via USB.
I have no clue, what is wrong with my module, my setup or my firmware build process.
What I've checked already:
- C15 is not present on my board
- GPIO12 voltage is 0
- Watchdog timer is disabled
Any help appreciated.
I was able to erase my ESP32_Devkitc_V4 with ESP32-WROOM-32D module, however I'm not able to get one to work again.
I followed the https://docs.espressif.com/projects/esp ... index.html
Flashing result:
Code: Select all
$ idf.py -p /dev/ttyUSB0 flash
Checking Python dependencies...
Python requirements from /home/tom/esp/esp-idf/requirements.txt are satisfied.
Adding flash's dependency "all" to list of actions
Executing action: all (aliases: build)
Running ninja in directory /home/tom/esp/hello_world/build
Executing "ninja all"...
[1/3] Performing build step for 'bootloader'
ninja: no work to do.
Executing action: flash
Running esptool.py in directory /home/tom/esp/hello_world/build
Executing "/home/tom/.espressif/python_env/idf4.0_py2.7_env/bin/python /home/tom/esp/esp-idf/components/esptool_py/esptool/esptool.py -p /dev/ttyUSB0 -b 460800 --after hard_reset write_flash @flash_project_args"...
esptool.py -p /dev/ttyUSB0 -b 460800 --after hard_reset write_flash --flash_mode dio --flash_freq 40m --flash_size 2MB 0x8000 partition_table/partition-table.bin 0x1000 bootloader/bootloader.bin 0x10000 hello-world.bin
esptool.py v2.8-dev
Serial port /dev/ttyUSB0
Connecting.....
Detecting chip type... ESP32
Chip is ESP32D0WDQ5 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 24:6f:28:de:76:08
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Compressed 3072 bytes to 82...
Wrote 3072 bytes (82 compressed) at 0x00008000 in 0.0 seconds (effective 3554.6 kbit/s)...
Hash of data verified.
Compressed 24576 bytes to 14555...
Wrote 24576 bytes (14555 compressed) at 0x00001000 in 0.3 seconds (effective 597.2 kbit/s)...
Hash of data verified.
Compressed 146864 bytes to 76350...
Wrote 146864 bytes (76350 compressed) at 0x00010000 in 1.7 seconds (effective 683.9 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
Done
Code: Select all
rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
flash read err, 1000
ets_main.c 371
I have no clue, what is wrong with my module, my setup or my firmware build process.
What I've checked already:
- C15 is not present on my board
- GPIO12 voltage is 0
- Watchdog timer is disabled
Any help appreciated.