You are reading a single comment by @d0773d and its replies. Click here to read the full conversation.
  • I have Windows 7 installed and I originally tried to install the USB CDC drivers by downloading and install this: http://www.st.com/web/en/catalog/tools/P­F257938

    After installing the CDC drivers I unplugged the Espruino from the USB port and plugged in the Espruino back into the USB port. The Device Manager failed to find the Espruino even though I installed the CDC drivers. I then, completely removed the CDC drivers by using the installer. I then decided to using Windows Update to find and install the CDC drivers. A couple minutes later the installation of the CDC drivers successfully installed and now the Device Manager successfully finds the CDC driver.

    However, multiple new issues arose. The Web IDE has a hard time connecting to the Espruino. Most of the time when I connect to the Espruino in the console I would receive Connect and nothing more instead of the console outputting the double =undefined. When that happens, I noticed when I click the upload code button I would get the upload status bar but the code doesn't actually upload.

    To trouble shoot these issues, I tried multiple usb cables and usb ports and I would still get the issues stated above. I then went into the Device Manager and uninstalled the CDC driver, removed the Espruino from the USB cable and plugged the Espruino back in. I now can successfully connect to the Espruino and upload code. My test code outputs the array values to the console a few times and then stops responding. I have absolutely no idea why these issues happen on Windows. I can't seem to reproduce the issues on my Ubuntu machine.

    Complete test code:

    I2C1.setup({scl:b6, sda:b7});
    
    setInterval(function (e) {
      var tempQuery = 0;
    
      I2C1.writeTo(99, "T,19.5");
      setTimeout(function (e) {
        I2C1.writeTo(99, "T,?");
        setTimeout(function (e) {
          tempQuery = I2C1.readFrom(99, 7);
          console.log(tempQuery);
        }, 300 );
      }, 300 );
    }, 5000);
    
About

Avatar for d0773d @d0773d started