I've been having some trouble flashing an esp-32 module I have soldered to a breakout board. I have successfully flashed a few of the examples on a sparkfun esp32 thing development board, but I'm not having any luck with this one.
I have serial communication with the board, and it seems I'm able to get it in download-boot mode:
Code: Select all
rst:0x1 (POWERON_RESET),boot:0x23 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
waiting for download
Code: Select all
Flashing binaries to serial port COM7 (app at offset 0x10000)...
esptool.py v2.0-dev
Connecting...
Uploading stub...
Running stub...
Stub running...
Attaching SPI flash...
Configuring flash size...
Compressed 7200 bytes to 4194...
Wrote 7200 bytes (4194 compressed) at 0x00001000 in 0.4 seconds (effective 150.4 kbit/s)...
A fatal error occurred: Timed out waiting for packet header
make: *** [/e/ESP32/esp-idf//components/esptool_py/Makefile.projbuild:48: flash] Error 2
When I do a normal reset, it seems to be resetting itself every second or so with this serial output:
Code: Select all
rst:0x10 (RTCWDT_RTC_RESET),boot:0x37 (SPI_FAST_FLASH_BOOT)
flash read err, 1000
Falling back to built-in command interpreter.
OK
>ets Jun 8 2016 00:22:57
rst:0x10 (RTCWDT_RTC_RESET),boot:0x37 (SPI_FAST_FLASH_BOOT)
flash read err, 1000
Falling back to built-in command interpreter.
OK
>ets Jun 8 2016 00:22:57