ESP32 set instructions give address overlap

Issue #134 resolved
Mike Karliner created an issue

Following instructions leads to address overlap error.

esptool.py -b 921600 write_flash 0x1000 bootloader_dio_40m.bin 0x8000 partitions.bin 0xe000 boot_app0.bin
usage: esptool write_flash [-h] [--erase-all]
[--flash_freq {keep,40m,26m,20m,80m}]
[--flash_mode {keep,qio,qout,dio,dout}]
[--flash_size FLASH_SIZE]
[--spi-connection SPI_CONNECTION] [--no-progress]
[--verify] [--compress | --no-compress]
<address> <filename> [<address> <filename> ...]
esptool write_flash: error: argument <address> <filename>: Detected overlap at address: 0x8000 for file: partitions.bin

Comments (3)

  1. John Maloney repo owner

    Sorry you’re having this problem. Unfortunately, I can’t reproduce it.

    Make sure you’ve got the correct files:

    boot_app0.bin, 8192 bytes
    bootloader_dio_40m.bin, 16848 bytes
    partitions.bin, 3072 bytes

    Those files can be downloaded from:

    https://bitbucket.org/john_maloney/smallvm/src/master/esp32/

    What ESP32 board are you using?

    What version of esptool.py? You can find out by running:

    esptool.py version

    I have version 2.7 which might not be the latest.

  2. John Maloney repo owner

    It turns out that many ESP boards do not work reliably at 921600 baud. My apologies that our install instructions suggested that speed. A fairly reliable speed is 230400 baud or, if that fails, 115200.

    However, you may not need to use esptool.py at all.

    The latest version of MicroBlocks (0.6.4) has a built-in installer for MicroBlocks firmware on many ESP32 and ESP8266 boards. Just plug in your board and select “update firmware on board” from the MicroBlocks (gear) menu, and select your board from the menu. For example, if you have a generic ESP32 board, select ESP32.

    Let me know if you’re still having problems and I’ll look into it.

  3. Log in to comment