Skip to content

Instantly share code, notes, and snippets.

@tcr
Last active August 19, 2016 10:54
Show Gist options
  • Save tcr/992978a5dbe5bff2e18f495c5c0973c3 to your computer and use it in GitHub Desktop.
Save tcr/992978a5dbe5bff2e18f495c5c0973c3 to your computer and use it in GitHub Desktop.
Fix for Tessel 2 on Windows

Update (August 2016)

Please take a look at these updated instructions on Github to troubleshoot issues you have with Windows and Tessel 2.

 


 

Older instructions (pre-August 2016)

A holdover fix for Tessel 2 drivers on Windows:

  1. Download and unzip the archive on this gist, t2-windows-fix.zip

  2. Open a Command Prompt in the newly unzipped folder using Run as administrator.

  3. Unplug Tessel 2 from your computer.

  4. Run node driver-clean.js.

  5. Hold down the reset button near the edge of Tessel 2 (by the antennas). Plug in Tessel 2. It will now be in DFU mode.

  6. Run node driver-install.js.

  7. Tessel will reboot and working Windows drivers will be loaded. In about 30s, run t2 list to see if this was successful.

Having run the above steps, your computer will have uninstalled the old Tessel 2 drivers. Tessel 2 is now flashed with firmware that works on Windows out of the box.

NOTE: A Tessel 2 with updated firmware can use t2 update as normal. You do not need to repeat the above steps on a new computer that has not been exposed to the old firmware.

@wmmihaa
Copy link

wmmihaa commented May 26, 2016

I had the same problem as @shanselman but got it working after installing the driver using Zadig in DFU mode.

https://github.com/tessel/t2-cli/issues/742#issuecomment-220487881

@rlramirez77
Copy link

This process worked for me until I unplugged the Tessel 2; then when I plugged it back in a few days later, t2 list produced:

INFO Searching for nearby Tessels...
WARN Detected a Tessel that may be booting.

I repeated the same procedure as before, but no luck and I am back to square 1 on Windows 10 x64

@jandrieu
Copy link

Hi. Same problem. Windows 10 x64, Node v4.3.1.

Running the gist failed as @shanselman and @wmmihaa.
Adding the WinUSB driver for Tessel from DFU mode with Zadig helped (Thanks @wmmihaa!)

However, then I got the following error running t2 list:

Submit Crash Report to help Tessel Developers improve the CLI ?
    If yes(y), subsequent crashes will be submitted automatically. Yes
ERR! Error writing preference crash.reporter.prompt false
ERR! Detected CLI crash { [Error: ENOENT: no such file or directory, open 'C:\Users\Joe\.tessel\preferences.json']
ERR!   errno: -4058,
ERR!   code: 'ENOENT',
ERR!   syscall: 'open',
ERR!   path: 'C:\\Users\\Joe\\.tessel\\preferences.json' } Error: ENOENT: no such file or directory, open 'C:\Users\Joe\.tessel\preferences.json'
ERR!     at Error (native)
undefined
Submit Crash Report to help Tessel Developers improve the CLI ?
-   If yes(y), subsequent crashes will be submitted automatically. (Y/n) n|

WARN No Tessels Found.
Terminate batch job (Y/N)? y

Fortunately, all I needed to do was to create that .tessel directory.

C:\Users\Joe\Documents\Software\Tessel>t2 list
INFO Searching for nearby Tessels...
        USB     Tessel-02A37EC8C33C

Then it worked.

@jandrieu
Copy link

@rlramirez, are you waiting for the blue LED to stabilize? It's about a 30s boot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment