I think it's dead. QT Py M0 not recognized by macOS or W10

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
daperl
 
Posts: 13
Joined: Wed Feb 28, 2018 1:23 pm

I think it's dead. QT Py M0 not recognized by macOS or W10

Post by daperl »

When I plug my just-arrived QT Py in to either machine it is not recognized as a USB device. It's as if it doesn't exist and thus my Arduino IDE can't load the simple neopixel script. I'm using a data cable that works with other devices. My VOM meter shows sufficient voltage to both the 3V and 5V pins. Not sure what to do from here. I can't tell if it's alive or dead. Help me Adafruit Kenobi, you're my only hope.

User avatar
adafruit_support_mike
 
Posts: 67454
Joined: Thu Feb 11, 2010 2:51 pm

Re: I think it's dead. QT Py M0 not recognized by macOS or

Post by adafruit_support_mike »

As a sanity check, verify your USB cable by using it to connect some other, known-working device to a computer.

There's a plague of charge-only cables out there with USB connectors at both ends, but no wires for the data signals. People get caught by them every day.

Just swapping cables has no diagnostic value. The current record is someone who had to try ten cables before finding one that worked. Only a working USB connection can rule out a charge-only cable.

User avatar
daperl
 
Posts: 13
Joined: Wed Feb 28, 2018 1:23 pm

Re: I think it's dead. QT Py M0 not recognized by macOS or

Post by daperl »

I did. I verified two different cables for data transfer. I ordered a micro B to C adapter with the QT Py and verified data transfer with that also.

User avatar
daperl
 
Posts: 13
Joined: Wed Feb 28, 2018 1:23 pm

Re: I think it's dead. QT Py M0 not recognized by macOS or

Post by daperl »

I took these two pictures with my phone's camera. My phone is a USB C device. I then used a micro USB cable with the "Micro B USB to USB C Adapter" Adafruit just sent me to transfer these photos from my Android phone to my Windows 10 computer. I had to edit them down to size. From my Windows 10 computer I posted them here. I tried to use this same cable/adapter to plug the QT Py into the same Windows 10 computer. It did not work. I'm confident that my USB C cable solution is fine. I'm pretty sure the SAMD21 is a USB 2.0 device so this cable/adapter should work with a QT Py. No? The "Micro B USB to USB C Adapter" is a suggested include from the QT Py SAMD21 product page.
Attachments
20210821_080207_s.jpg
20210821_080207_s.jpg (956.15 KiB) Viewed 164 times
20210821_080124_s.jpg
20210821_080124_s.jpg (619.32 KiB) Viewed 164 times

User avatar
adafruit_support_mike
 
Posts: 67454
Joined: Thu Feb 11, 2010 2:51 pm

Re: I think it's dead. QT Py M0 not recognized by macOS or

Post by adafruit_support_mike »

Thanks. The next most likely option is a crash in the microcontroller’s USB code.

Try double-clicking the reset button and see if the QtPy shows up,as a USB device again.

User avatar
daperl
 
Posts: 13
Joined: Wed Feb 28, 2018 1:23 pm

Re: I think it's dead. QT Py M0 not recognized by macOS or

Post by daperl »

I've double clicked. I've tripled clicked. I've quadruple clicked. I've tried all the USB ports with the USB C in both directions. Nothing.

User avatar
adafruit_support_mike
 
Posts: 67454
Joined: Thu Feb 11, 2010 2:51 pm

Re: I think it's dead. QT Py M0 not recognized by macOS or

Post by adafruit_support_mike »

That’s all the low-cost debugging options, and you still aren’t getting basic hardware recognition, is that correct?

Let’s try another board. Send a note containing a link to this page and your order number to [email protected]. The folks there will get you a replacement.

User avatar
daperl
 
Posts: 13
Joined: Wed Feb 28, 2018 1:23 pm

Re: I think it's dead. QT Py M0 not recognized by macOS or

Post by daperl »

Yes, that's correct. No basic hardware recognition. :( Thanks for your help.

User avatar
daperl
 
Posts: 13
Joined: Wed Feb 28, 2018 1:23 pm

Re: I think it's dead. QT Py M0 not recognized by macOS or

Post by daperl »

I'm not sure how in the replacement loop you are, but it would be to nice have the replacement loaded up with the simple neopixel program from the Adafruit Arduino examples. I would at least be able to see that something is working. Here's the one I'm talking about:

Code: Select all

// NeoPixel Ring simple sketch (c) 2013 Shae Erisson
// Released under the GPLv3 license to match the rest of the
// Adafruit NeoPixel library
  
#include <Adafruit_NeoPixel.h>
#ifdef __AVR__
 #include <avr/power.h> // Required for 16 MHz Adafruit Trinket
#endif

// Which pin on the Arduino is connected to the NeoPixels?
#define PIN        6 // On Trinket or Gemma, suggest changing this to 1

// How many NeoPixels are attached to the Arduino?
#define NUMPIXELS 16 // Popular NeoPixel ring size

// When setting up the NeoPixel library, we tell it how many pixels,
// and which pin to use to send signals. Note that for older NeoPixel
// strips you might need to change the third parameter -- see the
// strandtest example for more information on possible values.
Adafruit_NeoPixel pixels(NUMPIXELS, PIN, NEO_GRB + NEO_KHZ800);

#define DELAYVAL 500 // Time (in milliseconds) to pause between pixels

void setup() {
  // These lines are specifically to support the Adafruit Trinket 5V 16 MHz.
  // Any other board, you can remove this part (but no harm leaving it):
#if defined(__AVR_ATtiny85__) && (F_CPU == 16000000)
  clock_prescale_set(clock_div_1);
#endif
  // END of Trinket-specific code.

  pixels.begin(); // INITIALIZE NeoPixel strip object (REQUIRED)
}

void loop() {
  pixels.clear(); // Set all pixel colors to 'off'

  // The first NeoPixel in a strand is #0, second is 1, all the way up
  // to the count of pixels minus one.
  for(int i=0; i<NUMPIXELS; i++) { // For each pixel...

    // pixels.Color() takes RGB values, from 0,0,0 up to 255,255,255
    // Here we're using a moderately bright green color:
    pixels.setPixelColor(i, pixels.Color(0, 150, 0));

    pixels.show();   // Send the updated pixel colors to the hardware.

    delay(DELAYVAL); // Pause before next pass through loop
  }
}

User avatar
adafruit_support_mike
 
Posts: 67454
Joined: Thu Feb 11, 2010 2:51 pm

Re: I think it's dead. QT Py M0 not recognized by macOS or

Post by adafruit_support_mike »

Sorry, but that’s not an option. We don’t do custom orders because we aren’t staffed for it in general, and right now we’re operating with limited/isolated staff.

You can post an offer on the Jobs board if you want to:

https://www.adafruit.com/jobs

You’ll probably get rates much lower than we’d have to charge if we wanted to be in that market.

User avatar
daperl
 
Posts: 13
Joined: Wed Feb 28, 2018 1:23 pm

Re: I think it's dead. QT Py M0 not recognized by macOS or

Post by daperl »

I'm not looking for some custom work. I guess it was more of a suggestion. When I plugged the QT Py in and nothing happened I had to go to my VOM to see if there was any electrical activity. I own plenty of Teensys and Arduinos, and I think they all came pre-loaded with the blink program. I just think the QT Py should do something similar to at least demonstrate that the microcontroller is working. Kind of a no brainer, don't you think? The first picture on the product page shows it running a similar program to the one I posted, so I thought that's how it would arrive.

User avatar
daperl
 
Posts: 13
Joined: Wed Feb 28, 2018 1:23 pm

Re: I think it's dead. QT Py M0 not recognized by macOS or

Post by daperl »

Solved by replacement unit. Also, new device came with neopixel demo installed. Yay.

Locked
Please be positive and constructive with your questions and comments.

Return to “Itsy Bitsy Boards”