-
Notifications
You must be signed in to change notification settings - Fork 42
Description
Erase the badge with "python2 esp-idf/components/esptool_py/esptool/esptool.py --port /dev/ttyUSB0 erase_flash", followed by this one to flash everything:
python2 esp-idf/components/esptool_py/esptool/esptool.py --chip esp32 --port /dev/ttyUSB0 --baud 2000000 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0x1000 firmware/build/bootloader/bootloader.bin 0x8000 firmware/build/disobey2020_4MB.bin 0x10000 firmware/build/firmware.bin 0x10000 firmware/build/firmware.bin 0x191000 initial_files_disobey2020.zip
Note: to build a partition table .bin file select that table in menuconfig, then build the fw.
Note: this uses the existing 4MB partition table. The flasher should state the detected flash size. If this is 16MB then please try doing the same thing with the "sha2017_16MB.csv" partition table selected, this will increase the FAT partition to use the full flash size