Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

Trinket Fails on Windows10
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Trinket Fails on Windows10

by uberhund on Mon Oct 12, 2020 4:11 pm

The fruitless time and energy I put into convincing the TrinketM0 to cooperate with my Windows10 system reminded me why I left Arduino for RPi a decade ago.

Even with the correct data capable USB cable, neither of the two TrinketMOs ordered appear anywhere in the Device Manager, nor as a drive on the system. Naturally, the IDE will not find them either.

Are drivers needed or not, or do drivers cause a problem and should be uninstalled? The Adafruit site is far from clear on this.

When updating the Adafruit boards on the IDE, why the null index error, even with the correct github URL in preferences?

Perhaps these exasperating bugs are not an Adafruit/Arduino issue, but a Windows/MacOS issue.

In any event, I can't invest any more time in debugging the TrinketM0 product. Back to the power hungry RPi.

I look forward to suggestions from the forum for any low power PWM, D/A capable microcontroller that actually works as advertised.

uberhund
 
Posts: 146
Joined: Tue Dec 02, 2008 4:06 pm

Re: Trinket Fails on Windows10

by danhalbert on Mon Oct 12, 2020 5:25 pm

I am sorry you're having trouble. Your problems are unusual, and we can try to track them down.

You do NOT need any drivers installed on the Windows 10 system. Our driver installer checks if it is running on Windows 10, and will not install usbser.sys drivers on Wind10.

1. Just to double-check, does the board say "Trinket M0" on the top and bottom?
2. When you double-click the reset button, does the red LED pulse slowly, about once per second, or does it blink quickly? The latter indicates that the bootloader is not seeing a USB connection.
3. Here are some reasons why the TRINKETBOOT drive may not appear: https://learn.adafruit.com/welcome-to-c ... -2978448-5
Do you have any third-party disk utilities installed, including but not limited to: third-party antivirus, disk indexing programs, AIDA64, Hard Disk Sentinel, Acronis utilities, Western Digital utilities?
4. Are you connecting via hub or directly? What kind of machine is the host computer?

danhalbert
 
Posts: 2134
Joined: Tue Aug 08, 2017 12:37 pm

Re: Trinket Fails on Windows10

by uberhund on Mon Oct 12, 2020 5:55 pm

Thanks for your prompt response, Dan. Very much appreciated.

You do NOT need any drivers installed on the Windows 10 system. Our driver installer checks if it is running on Windows 10, and will not install usbser.sys drivers on Wind10.
Excellent. Good to know.

1. Just to double-check, does the board say "Trinket M0" on the top and bottom?
Dang. I just dropped both boards off to be returned to Amazon so I can't confirm. If it helps, here's the link where I ordered them:
https://www.amazon.com/gp/product/B00K9 ... UTF8&psc=1


2. When you double-click the reset button, does the red LED pulse slowly, about once per second, or does it blink quickly? The latter indicates that the bootloader is not seeing a USB connection.

My recollection is that the red LED, upon connection to the USB, flashed like an Arduino uploading a program as it, I presume, was handshaking with the OS. After this brief registration, or whatever, the LED would burn steady red.

Do you have any third-party disk utilities installed, including but not limited to: third-party antivirus, disk indexing programs, AIDA64, Hard Disk Sentinel, Acronis utilities, Western Digital utilities?

Dan, none of these ring a bell. I don't use anti-virus of any kind.

4. Are you connecting via hub or directly? What kind of machine is the host computer?
Directly. The host was an i7 Dell tower, with identical behavior on a Toshiba laptop.

Thanks again; I remain Limor's biggest fan.

uberhund
 
Posts: 146
Joined: Tue Dec 02, 2008 4:06 pm

Re: Trinket Fails on Windows10

by danhalbert on Mon Oct 12, 2020 6:17 pm

uberhund wrote:1. Just to double-check, does the board say "Trinket M0" on the top and bottom?
Dang. I just dropped both boards off to be returned to Amazon so I can't confirm. If it helps, here's the link where I ordered them:
https://www.amazon.com/gp/product/B00K9 ... UTF8&psc=1


That is a classic Trinket, not a Trinket M0. It uses an ATtiny85 chip, not the SAMD21 chip on the Trinket M0. That is why you saw no drive. The classic Trinkets use a software-based USB implemntation which doesn't work on USB3; they are not recommended for new designs.

https://www.adafruit.com/product/1501
vs
https://www.adafruit.com/product/3500

If you want to try again, you may be interested in our new Py QT board, which is almost the same size, but has more available pins (but no red LED, no mounting holes, has USB-C, not micro-B socket):
https://www.adafruit.com/product/4600

danhalbert
 
Posts: 2134
Joined: Tue Aug 08, 2017 12:37 pm

Re: Trinket Fails on Windows10

by uberhund on Mon Oct 12, 2020 6:35 pm

Intriguing, Dan. I'll take a look at the QtPy. Meanwhile, if the Trinket does not show up a com port for the IDE, how does one communicate with it? Apologies in advance if this is well covered elsewhere.

uberhund
 
Posts: 146
Joined: Tue Dec 02, 2008 4:06 pm

Re: Trinket Fails on Windows10

by danhalbert on Mon Oct 12, 2020 8:59 pm

For the classic Trinket, you do need a special driver, even on Windows 10. It's the USBTinyISP driver. Installation is described here: https://learn.adafruit.com/introducing- ... dows-setup. See that same guide for other tips, including fixing the bootloader if it gets damaged. But there's no real reason to use a classic Trinket these days unless you're trying to duplicate a project unique to it: the Trinket M0 is much better in all respects.

danhalbert
 
Posts: 2134
Joined: Tue Aug 08, 2017 12:37 pm

Re: Trinket Fails on Windows10

by uberhund on Mon Oct 12, 2020 10:59 pm

Great input, Dan. Many thanks for your patience. I obviously flunked the Trinket IQ test.
But that's ok. I've flunked IQ tests before.

uberhund
 
Posts: 146
Joined: Tue Dec 02, 2008 4:06 pm

Please be positive and constructive with your questions and comments.