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.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
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/PF257938
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: