Use manually specified: /dev/ttyUSB0
Uploading .pioenvs/sonoff/firmware.bin
warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
*** [upload] Error 255esptool --port /dev/ttyUSB0 --baud 57600 write_flash -fs 1MB -fm dout 0x0 sonoff.binesptool.py v2.1
Not saying this is the problem but the baud rate should be 115200.
Try using ESPflasher with that you can see if it’s in flash mode because the QR Code comes up as soon as the handshake is over.
Regards
Phil K
Sent from Mail for Windows 10
--
You received this message because you are subscribed to the Google Groups "SonoffUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Try this flashing tool https://github.com/nodemcu/nodemcu-flasher
As I said you can quickly see if it’s in flash mode. I’m not sure the button is connected to GPIO on the R2 (i’ve got one but can’t remember how I flashed it!) and you may need to find the GPIO.
--