If you are asking a question, please follow this template:
-
My goal is: Flash demo app as per quick start to Sonoff Pow R2
-
My actions are: Successfully built and flashed the demo to NodeMCU ESP8266 via usb cable, failed to flash Sonoff Pow R2 via FTDI cable (same cable successfully flashes an alternative firmware via platformio)
-
The result I see is:
$ mos build --platform esp8266
Connecting to https://mongoose.cloud, user test
Uploading sources (2583 bytes)
Firmware saved to /home/---------/mongoose/app1/build/fw.zip
Command completed.
$ mos flash
Loaded app1/esp8266 version 1.0 (20190821-082808)
Opening /dev/ttyUSB0 @ 115200…
Connecting to ESP8266 ROM, attempt 1 of 10…
Connected, chip: ESP8266EX
Running flasher @ 921600…
Flasher is running
Flash size: 4194304, params: 0x024f (dio,32m,80m)
Deduping…
4096 @ 0x7000 -> 0
262144 @ 0x8000 -> 32768
824368 @ 0x100000 -> 648240
4096 @ 0x3fb000 -> 0
Writing…
4096 @ 0x0
8192 @ 0x9000
24576 @ 0x1a000
24576 @ 0x104000
Error: /build/mos-UgAneL/mos-2.15.0+b14a864~bionic0/go/src/github.com/mongoose-os/mos/mos/flash/esp/flasher/flasher_client.go:264: flasher did not respond
/build/mos-UgAneL/mos-2.15.0+b14a864~bionic0/go/src/github.com/mongoose-os/mos/mos/flash/esp/flasher/flash.go:218: lost connection with the flasher
/build/mos-UgAneL/mos-2.15.0+b14a864~bionic0/go/src/github.com/mongoose-os/mos/mos/flash.go:223:
/build/mos-UgAneL/mos-2.15.0+b14a864~bionic0/go/src/github.com/mongoose-os/mos/mos/main.go:196: flash failed
exit status 1 -
My expectation & question is: Is the Sonoff Pow R2 supported? Is it a matter of changing
flash params “dio,32m,80m” or how flashing is initiated?