ESP32 Thing Flash Options [solved]

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
User avatar
devnull
Posts: 473
Joined: Sat Jan 07, 2017 1:52 am
Location: Singapore / Cornwall
Contact:

ESP32 Thing Flash Options [solved]

Post by devnull » Sat Oct 21, 2017 4:23 am

I've not built or touched the esp32 clone for several months and have just started on it today.

First thing I noticed is my clone and build scripts no longer work due to the new "ports" folder in the build path, but that is fixed and all is updated and built.

But now my flash scripts for the esp32 thing don't work either, it appears to flash sucessfully, but I get dropped back to the command interpreter and python is not running !

Yes I am erasing the chip first and here's my flash settings:

Code: Select all

esptool.py --chip esp32 --port /dev/tty.usbserial-DN02N7EB --baud 460800 write_flash --compress -fs 4MB -fm dio 0x0 latest.bin

Code: Select all

rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
flash read err, 1000
Falling back to built-in command interpreter.
Any suggestions on what may be wrong ??
Last edited by devnull on Sat Oct 21, 2017 4:31 am, edited 1 time in total.

User avatar
devnull
Posts: 473
Joined: Sat Jan 07, 2017 1:52 am
Location: Singapore / Cornwall
Contact:

Re: ESP32 Thing Flash Options

Post by devnull » Sat Oct 21, 2017 4:31 am

Answering my own post :-(

The clue was in the error message, the offset for ESP32 is 0x1000.

Code: Select all

/Volumes/Data/uPython/bash/../build/esptool/esptool.py --chip esp32 --port /dev/tty.usbserial-DN02N7EB --baud 460800 write_flash --compress -fs 4MB -fm dio 0x1000 latest.bin

Post Reply