Due to high demand expect some shipping delays at this time, orders may not ship for 1-2 business days.
0

QT Py boards only going to bootloader mode
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

QT Py boards only going to bootloader mode

by ovin08 on Tue Apr 20, 2021 6:31 am

For some reason I'm having a major issue with the 3 QT Py boards I just got. They only seem to go into bootloader mode and show up as a removable disk in windows 7. I even tried installing the 2.5.0 driver on a laptop that had never had a QT Py plugged in. Installed the driver just fine. Plugged in the board. Windows tries installing the drivers. Says it's fine. I try uploading a sketch with Arduino IDE and I get an error uploading. Now I have to QT Py's with solid green lights and only come up in bootloader mode. When they first were plugged in they had the rotating LEDs showing they were working fine.
Please someone help me with this. I don't want to believe these boards were bricked without me even doing anything do them.

ovin08
 
Posts: 7
Joined: Fri Apr 16, 2021 2:14 pm

Re: QT Py boards only going to bootloader mode

by adafruit_support_carter on Tue Apr 20, 2021 11:43 am

Is the Windows 7 machine the only PC you have access to?

adafruit_support_carter
 
Posts: 20032
Joined: Tue Nov 29, 2016 2:45 pm

Re: QT Py boards only going to bootloader mode

by ovin08 on Tue Apr 20, 2021 4:01 pm

Yes. Only 2 windows 7 machines. One with pro and the other with Home

ovin08
 
Posts: 7
Joined: Fri Apr 16, 2021 2:14 pm

Re: QT Py boards only going to bootloader mode

by mikemancl on Wed Apr 21, 2021 12:54 am

I bought 2 QT Py, one of them works well but the other doesn't!. My Windows 10 Pc does not recognize the usb port.
I can see the QTPY_Boot disk drive but I can't copy the .uf2 file in it.
Can you help me?

mikemancl
 
Posts: 1
Joined: Sun Apr 18, 2021 2:04 am

Re: QT Py boards only going to bootloader mode

by adafruit_support_carter on Wed Apr 21, 2021 11:10 am

@mikemancl Please start a new thread for your issue.

adafruit_support_carter
 
Posts: 20032
Joined: Tue Nov 29, 2016 2:45 pm

Re: QT Py boards only going to bootloader mode

by adafruit_support_carter on Wed Apr 21, 2021 11:11 am

@ovin08 This may be Windows 7 related. Have you successfully used other boards with these Windows 7 machines?

adafruit_support_carter
 
Posts: 20032
Joined: Tue Nov 29, 2016 2:45 pm

Re: QT Py boards only going to bootloader mode

by ovin08 on Wed Apr 21, 2021 2:06 pm

Yes. I have successfully uploaded code to:
Arduino brand nano v3,
Off brand nano v3 boards,
Seeeduino XAIO,
Off brand Uno 3,
Keeyees ESP32

ovin08
 
Posts: 7
Joined: Fri Apr 16, 2021 2:14 pm

Re: QT Py boards only going to bootloader mode

by ovin08 on Sun Apr 25, 2021 7:49 am

So I was wrong about all 3 boards being messed up. I must have plugged in the same one twice since I found a board that still rotates the RGB neopixel colors and shows up fine. But here is the problem. I ALWAYS get an error uploading code. I'm just trying to upload the Blink example and I get this(I've tried hitting reset once, and even twice which goes to bootloader mode):
Code: Select all | TOGGLE FULL SIZE
Sketch uses 15324 bytes (5%) of program storage space. Maximum is 262144 bytes.
processing.app.debug.RunnerException
   at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:152)
   at cc.arduino.UploaderUtils.upload(UploaderUtils.java:77)
   at processing.app.SketchController.upload(SketchController.java:732)
   at processing.app.SketchController.exportApplet(SketchController.java:703)
   at processing.app.Editor$UploadHandler.run(Editor.java:2055)
   at java.lang.Thread.run(Thread.java:748)
Caused by: processing.app.SerialException: Error touching serial port 'COM17'.
   at processing.app.Serial.touchForCDCReset(Serial.java:107)
   at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:136)
   ... 5 more
Caused by: jssc.SerialPortException: Port name - COM17; Method name - openPort(); Exception type - Port not found.
   at jssc.SerialPort.openPort(SerialPort.java:167)
   at processing.app.Serial.touchForCDCReset(Serial.java:101)
   ... 6 more

I've also attached what my computer says for the COM port.
QTPyCom.PNG
COM Ports
QTPyCom.PNG (2.48 KiB) Viewed 88 times


Here is the ArduinoIDE settings
QTPySettings.png
Currently Selected Settings
QTPySettings.png (14.85 KiB) Viewed 88 times


And here is the list of board packages I have. I followed the walkthrough and got both Arduino SAMD and Adafruit SAMD packages
QTPyBoards.png
All boards packages
QTPyBoards.png (40.98 KiB) Viewed 88 times

ovin08
 
Posts: 7
Joined: Fri Apr 16, 2021 2:14 pm

Re: QT Py boards only going to bootloader mode

by adafruit_support_carter on Mon Apr 26, 2021 11:17 am

Windows may be trying to use the wrong driver. Something to try - download the Device Cleanup tool from here:
https://www.uwe-sieber.de/misc_tools_e.html
(scroll down until you see Device Cleanup Tool)

Disconnect the QT Py from USB and run the Device Cleanup tool. Delete any entries you see that mention QT Py. Quit the Device Cleanup tool. Reconnect the QT Py. This will force Windows to go looking for the driver again, and since you have it installed, should hopefully find it and use it.

adafruit_support_carter
 
Posts: 20032
Joined: Tue Nov 29, 2016 2:45 pm

Re: QT Py boards only going to bootloader mode

by ovin08 on Thu Apr 29, 2021 6:49 am

Ok, I did this and even used the tool to erase all entries in the DeviceCleanup app. I plugged the working QT Py back in, it was picked up on a new COM port, but still the same error:
Code: Select all | TOGGLE FULL SIZE
processing.app.debug.RunnerException
   at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:152)
   at cc.arduino.UploaderUtils.upload(UploaderUtils.java:77)
   at processing.app.SketchController.upload(SketchController.java:732)
   at processing.app.SketchController.exportApplet(SketchController.java:703)
   at processing.app.Editor$UploadHandler.run(Editor.java:2055)
   at java.lang.Thread.run(Thread.java:748)
Caused by: processing.app.SerialException: Error touching serial port 'COM3'.
   at processing.app.Serial.touchForCDCReset(Serial.java:107)
   at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:136)
   ... 5 more
Caused by: jssc.SerialPortException: Port name - COM3; Method name - openPort(); Exception type - Port busy.
   at jssc.SerialPort.openPort(SerialPort.java:164)
   at processing.app.Serial.touchForCDCReset(Serial.java:101)
   ... 6 more

ovin08
 
Posts: 7
Joined: Fri Apr 16, 2021 2:14 pm

Re: QT Py boards only going to bootloader mode

by ovin08 on Thu May 06, 2021 6:15 am

Is that it? There's no way to fix this? I'll see if I can find a support email to try to get a refund then

ovin08
 
Posts: 7
Joined: Fri Apr 16, 2021 2:14 pm

Re: QT Py boards only going to bootloader mode

by adafruit_support_carter on Thu May 06, 2021 11:06 am

Sorry for the delay. We wanted to setup a Win 7 machine and test things here. We were able to get everything to work, so we at least know this should be possible on Win 7.

We are seeing a few things that are different with your setup though.

First, let's double check the bootloader behavior. You would typically double press the reset button to get into bootloader mode. It sounds like for you, the boards are going straight into bootloader mode. Either way, you should see a green status LED and a folder named QTPY_BOOT should show up. Then, when in that state, the COM ports in Device Manager should look like this:
com_ports.png
com_ports.png (8.89 KiB) Viewed 8 times


Your screen shot of Device Manager is more like what would be seen when an Arduino sketch is running on the QT Py, so *not* in bootloader mode. And in that mode, depending on what the running Arduino sketch is, you could have problems getting the board to auto reset for a new upload. In those cases, first manually putting the board in bootloader mode helps recover.

Can you try again to put the board in bootloader mode. Try double pressing reset if needed. Just try and get to the state where a folder named QTPY_BOOT is seen and Device Manager shows the two COM ports as shown above.

adafruit_support_carter
 
Posts: 20032
Joined: Tue Nov 29, 2016 2:45 pm

Please be positive and constructive with your questions and comments.