Troubles with Espruino Tools

Posted on
    1. Is it OK that uploading files via TCP connection is extremly slow? Smth around ~0.2kb/sec as I see
    2. With such low speed I cant manage to download any files from MCU larger than ~750 bytes due to timeout error. It's kinda weird as I checked source code and noticed there is a huge 10min timer.
    3. How to connect to ESP32? I fail connecting both with -b9600 and 115200 (attachment)


    1 Attachment

    • e.png
  • Mostly we connect with Serial for ESP32, I'm not sure why it would be quite as slow as you're seeing over TCP.

    115200 baud would be right for ESP32. The 'Unknown error code 31' seems like it comes from the serialport library though. I quick google showed: https://github.com/serialport/node-serialport/issues/1961

    Sounds nuts but have you tried a different USB cable/port?

  • Or https://stackoverflow.com/questions/35977468/nodejs-serialport-setcommstate which implies there aren't drivers for the serial port chip you're using. Are you able to connect with a terminal app like Putty?

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Troubles with Espruino Tools

Posted by Avatar for Nicktonious @Nicktonious

Actions