You are reading a single comment by @JumJum and its replies. Click here to read the full conversation.
  • Just tried to reproduce syncStat problem in a different way. Typed commands in terminal window:

    • reset()
    • require("fs").readdir()
    • require("fs").syncStat("Juergen1_data.bin")
      There is no response from Espruino, so I
    • closed connection
    • clicked connect button and got an empty list, no COM port available anymore
    • wrote these lines and about a minute later, a Com port is available
    • tried to connect and got Connection failed
    • unplugged Espruino Board from USB
    • plugged Espruino Board
    • now connect worked fine
    • syncStat worked fine
      Hmmm, whats that ? So tried again:
    • reset()
    • require("fs").readdir()
    • require("fs").statSync("Juergen1_data.bin")
    • Espruino hangs again
About

Avatar for JumJum @JumJum started