Please note: Friday June 18 is a holiday celebrating Juneteenth, please allow extra time for your order to arrive and plan accordingly.
0

QT PY not installing properly on Windows 7
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

QT PY not installing properly on Windows 7

by Baconator on Sat Nov 07, 2020 3:27 am

I'm trying to upload code to a QT PY via the Arduino IDE, but I can't get a port because Windows 7 isn't recognizing the device. I just upgraded the IDE to 1.8.13 from 1.8.12 to rule that out as a factor, and I installed the latest Adafruit drivers package. I'm confident that it has nothing to do with the IDE, because Windows itself is failing to recognize it.

I have tried 2 different cables, in case one was bad. Nothing different happened.

When I press the reset button twice, the neopixel turns solid green and I can see it as a USB drive, so I also updated the bootloader to UF2 Bootloader 3.11.0 SFHWRO, but that hasn't helped anything.

Baconator
 
Posts: 22
Joined: Wed Sep 05, 2018 9:00 am

Re: QT PY not installing properly on Windows 7

by Baconator on Sun Nov 08, 2020 1:43 am

Additionally, I tried uploading my code via my Raspberry Pi 3 with Raspbian Buster. Using Arduino IDE version 1.8.13, with both the Arduino SAMD package and Adafruit SAMD package up to date. The IDE sees my board on the Pi, but I get this compiling error:

/home/pi/.arduino15/packages/adafruit/tools/arm-none-eabi-gcc/9-2019q4/bin/arm-none-eabi-ar: error while loading shared libraries: libfl.so.2: cannot open shared object file: No such file or directory
exit status 127
/home/pi/Documents/arduino/arduino-1.8.13/arduino-builder returned 127
Error compiling for board Adafruit QT PY (SAMD21).

Please help! I just wanna be able to use my freaking boards! :*(

Baconator
 
Posts: 22
Joined: Wed Sep 05, 2018 9:00 am

Re: QT PY not installing properly on Windows 7

by Baconator on Sun Nov 08, 2020 3:45 am

I did manage to find a work-around using a tool to convert my sketches into UF2 files. Not really a proper fix, but at least I can use the boards now.

https://github.com/blurfl/makeUF2-tool

Baconator
 
Posts: 22
Joined: Wed Sep 05, 2018 9:00 am

Re: QT PY not installing properly on Windows 7

by adafruit_support_carter on Mon Nov 09, 2020 2:02 pm

Do you get that compile error even with the basic Blink example sketch?

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

Re: QT PY not installing properly on Windows 7

by flounder on Mon Nov 09, 2020 8:00 pm

I have yet to find an express board that can last for more than a few uploads, so I would love to see this problem solved. I can't teach in an environment where the response for the students is "Nobody knows why this fails, or how to fix it, so you're just blocked from using the board into perpetuity ". In the teaching trade, we do not call this "user friendly". I'm serial here. I need a fix before I start putting together student kits. I want the growth paths to CircuitPython and MakeCode while retaining the ability to still use C++ code. It's not there right now. I'm stuck. Should I move to the Mac? This might help me, but not my students.

flounder
 
Posts: 459
Joined: Wed Sep 18, 2013 9:10 pm
Location: Pittsburgh PA

Re: QT PY not installing properly on Windows 7

by Baconator on Tue Nov 10, 2020 8:10 am

adafruit_support_carter wrote:Do you get that compile error even with the basic Blink example sketch?


Hi Carter,

Thanks for the reply. I just now tried compiling the blink example on the Raspberry Pi, and got the same compiling error.

Baconator
 
Posts: 22
Joined: Wed Sep 05, 2018 9:00 am

Re: QT PY not installing properly on Windows 7

by adafruit_support_carter on Tue Nov 10, 2020 12:00 pm

Just did a test compile here and could not recreate that issue.

Do you get it on both your Windows 7 machine and the Raspberry Pi?

This is just a compile test - something you could do even without the hardware attached.

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

Re: QT PY not installing properly on Windows 7

by Baconator on Tue Nov 10, 2020 5:42 pm

The compile issue is only on the RasPi. On my Windows PC, I can compile for the QT Py, I just can't get a port to upload to.

Baconator
 
Posts: 22
Joined: Wed Sep 05, 2018 9:00 am

Re: QT PY not installing properly on Windows 7

by adafruit_support_carter on Tue Nov 10, 2020 6:05 pm

OK, let's focus on the Win 7 machine. It sounds like you can get into bootloader mode. When in that mode, what shows up in Device Manager under COM ports?

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

Re: QT PY not installing properly on Windows 7

by Baconator on Wed Nov 11, 2020 7:28 am

Under COM ports I have Communications Port (COM1) and ECP Printer Port (LPT1).

QT Py M0 shows up under "other devices" (twice, in fact) with a driver error. Under the general tab of Properties, I get the following:

"The drivers for this device are not installed. (Code 28)
There is no driver selected for the device information set or element.
To find a driver for this device, click Update Driver."

To be sure, I re-downloaded the Adafruit drivers package on Saturday and re-ran it, in case the QT Py needed drivers that were added after I last installed drivers, so if in fact there's a missing driver, I don't know where to get it from at this point.
Attachments
desktop_11_11_20.png
desktop_11_11_20.png (344.12 KiB) Viewed 230 times

Baconator
 
Posts: 22
Joined: Wed Sep 05, 2018 9:00 am

Re: QT PY not installing properly on Windows 7

by adafruit_support_carter on Wed Nov 11, 2020 3:45 pm

Thanks. I think the issue is the Win 7 + QT PY combo. The driver needs to be updated. Keep an eye on this issue:
https://github.com/adafruit/Adafruit_Wi ... /issues/29

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

Re: QT PY not installing properly on Windows 7

by danhalbert on Wed Nov 11, 2020 9:38 pm

I am finishing up a Windows drivers update that includes the QT Py, and will let you know here when it's available.

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

Re: QT PY not installing properly on Windows 7

by Baconator on Wed Nov 11, 2020 10:36 pm

Okay, thank you so much!

Baconator
 
Posts: 22
Joined: Wed Sep 05, 2018 9:00 am

Re: QT PY not installing properly on Windows 7

by danhalbert on Wed Nov 11, 2020 10:44 pm

Here is a temporary link to a test version. I tested this with a QT Py Haxpress (not a regular QT Py).
https://drive.google.com/file/d/1ESdwys ... sp=sharing

We no longer will sign our drivers and executables, because our signing certificate has expired, and we don't plan to get a new one, due to the limited use of Windows 7.

So when you install, you'll get a warning about things being unsigned.

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

Re: QT PY not installing properly on Windows 7

by Baconator on Thu Nov 12, 2020 7:27 am

danhalbert wrote:Here is a temporary link to a test version. I tested this with a QT Py Haxpress (not a regular QT Py).
https://drive.google.com/file/d/1ESdwys ... sp=sharing


I gave it a try and it works! Thanks!

Baconator
 
Posts: 22
Joined: Wed Sep 05, 2018 9:00 am

Please be positive and constructive with your questions and comments.


cron