Skip to content

After upgrade: esptool write_flash error: #149

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
MacWyznawca opened this issue May 15, 2019 · 3 comments
Closed

After upgrade: esptool write_flash error: #149

MacWyznawca opened this issue May 15, 2019 · 3 comments
Labels

Comments

@MacWyznawca
Copy link

After upgrade I can't write flash to ESP8266 (nonos).

PROGRAM: [======= ] 70.2% (used 264389 bytes from 376832 bytes)
Configuring upload protocol...
AVAILABLE: espota, esptool
CURRENT: upload_protocol = esptool
Looking for upload port...
Use manually specified: /dev/cu.usbserial-AH03B6IO
Uploading .pioenvs/d1_mini/eagle.flash.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]

[ ...] esptool write_flash: error: argument : Detected overlap at address: 0x0 for file: /Users/jkk/Documents/HomeKit/ESP-NOW/ESP-NOW Termostat/.pioenvs/d1_mini/eagle.flash.bin *** [upload] Error 2
@WaldoPepper
Copy link

...same here, toolchain is:

espressif8266 @ 2.1.0
toolchain-xtensa @ 1.40802.0
tool-esptool @ 1.413.0
tool-esptoolpy @ 1.20600.0

@MacWyznawca
Copy link
Author

I can flash compiled program using command:

esptool.py -p /dev/cu.usbserial-AH03B6IO write_flash 0x00 eagle.flash.bin -fm dio -ff 40m

esptool.py -p /dev/cu.usbserial-AH03B6IO write_flash 0x10000 eagle.irom0text.bin -fm dio -ff 40m

and it works ok. Only Platformio can't write firmware.

/dev/cu.usbserial-AH03B6IO is my USB-UART port on macOS

@ivankravets
Copy link
Member

Sorry for the issue. Please update to 2.1.1 => https://github.com/platformio/platform-espressif8266/releases/tag/v2.1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants