You are reading a single comment by @CrashingDutchman and its replies. Click here to read the full conversation.
  • I am trying to flash a Sonoff with Espruino.

    It seems that erasing flash and flashing works, but the Espruino Web IDE does not. After connecting (while holding the button I insert the connected USB programmer into an USB port) I select the correct port and get a connected message in the console. However, the console does not respond to any key I enter.

    In Settings -> Console I see:

    >>> Connecting...
    Set Slow Write = true
    [object Object]
    Connected [object Object]
    Found a prompt... great!
    >>> Sending...
    ---> "echo(0);\nconsole.log(\"<\",\"<<\",JSON­.stringify(process.env),\">>\",\">\");ec­ho(1);\n"
    Sending block "echo(0);\nconsol", wait 50ms
    Sent
    Sending block "e.log(\"<\",\"<<\",", wait 50ms
    Sent
    Sending block "JSON.stringify(", wait 50ms
    Sent
    Sending block "process.env),\">", wait 50ms
    Sent
    Sending block ">\",\">\");echo(1)", wait 50ms
    Sent
    Sending block ";\n", wait 50ms
    Sent
    >>> Sent
    WARNING: No result found - just got ""
    Device found (connectionId=9)
    >>> Connected to port COM4
    

    Please note the: Warning No result found - just go"". This has been discussed in this thread too, however the suggestions do not seem to work.

    Also when connecting to the Sonoff through Putty does not show any characters coming from Sonoff.

    After each erase or flash I disconnect the Sonoff from my PC.

    I appreciate any suggestions to try.

About