I’m experiencing with the following error during upload tasmota bin to sonoff device:
.pioenvs\tasmota
Configuring upload protocol…
AVAILABLE: espota, esptool
CURRENT: upload_protocol = esptool
Looking for upload port…
Use manually specified: COM5
Uploading .pioenvs\tasmota\firmware.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 : [Errno 2] No such file or directory: ‘.pioenvs\tasmota\firmware.bin’
The file to be uploaded: firmware.bin is not found.
I inserted a debug line in the module: pio/rename-firmware.py and I can see that the file is renamed in:
renaming .pioenvs\tasmota\firmware.bin to–> .pioenvs\tasmota\tasmota.bin
I modified the rename-firmware.py module to create also firmware.bin file and now I can upload tasmota on sonoff device.
Is it just my problem or has someone else run into this problem?
Regards