0

Feather M4 drive issues; windows sees it as a keyboard
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Feather M4 drive issues; windows sees it as a keyboard

by JoshBuildsRobots on Mon Apr 05, 2021 7:08 pm

I took it out of the packaging and tested to make sure it worked. I had both Circuitpy and FEATHERBOOT drives show up. Soldered the pin headers on, and have had nothing but issues. Originally, I had to learn the learn the 3 modes being boot loader, safe mode, and the active mode where the code actually runs. Occasionally, it will take between 30 seconds to a few minutes to boot into what I've dubbed the "active mode." However, it wasn't showing up in file explorer. After searching around, I found that windows recognizes it as a keyboard which is really weird. I've discovered that I can still read and write serial info, so I downloaded Mu to get to the circuit python REPL, and tried importing storage to do a storage.erase; nothing. Tried importing microcontroller to force it into boot loader and maybe knock some sense into it; nothin. Device Manager shows that it can have storage, but it's grayed out and I'm unable to click into it. It's recognized as COM6, so I tried loading the bare minimum arduino sketch, that doesn't work either. It resets just before the sketch is finished uploading, which is unlike the arduinos which reset right after, so the arduino IDE no longer has access to the com port and doesn't know what to do.

Tried installing the adafruit drivers, didn't work. Tried uninstalling the adafruit drivers, but they aren't on my computer so I went and nuked everything that the drivers installed or anything that I didn't immediately need. Still not working.

I don't ***think*** I need an RMA. It looks like it's 85% of the way into working, since it has REPL. But the fact the boot drive isn't showing up and that windows views it as a keyboard is a problem that I want to repair ASAP. Any help is appreciated. Thanks <3
Attachments
Screenshot (3).png
Screenshot (3).png (19.85 KiB) Viewed 108 times
Screenshot (2)_LI.jpg
Screenshot (2)_LI.jpg (168.65 KiB) Viewed 108 times

JoshBuildsRobots
 
Posts: 5
Joined: Fri Aug 14, 2020 5:34 pm

Re: Feather M4 drive issues; windows sees it as a keyboard

by JoshBuildsRobots on Mon Apr 05, 2021 11:47 pm

update: borrowed a laptop. When I plugged in the m4 express, windows set it up as a keyboard as well. Both are running windows 10, borrowing a friend's mac and will update again.

I don't believe it's a code problem. I never once wrote code to it besides the repl statements I mentioned in the previous post. Fingers crossed that it's a windows problem and i can update circuit py on the mac and this will fix the problem, but i wont hold my breath

JoshBuildsRobots
 
Posts: 5
Joined: Fri Aug 14, 2020 5:34 pm

Re: Feather M4 drive issues; windows sees it as a keyboard

by adafruit_support_mike on Wed Apr 07, 2021 11:07 pm

Check your COM ports to see if the OS has a cached configuation for a keyboard.

USB devices have to identify themselves to the USB host, and list all the things they can do. That makes USB self-configuring, but the process is slow. All the major OSes save the config information so they can just look up the settings when they see the device connect again. On Windows, that information is saved as a COM port.

Old COM ports aren't always deleted when they should be, so you can end up with a bunch of hidden ones. This tutorial shows how to find and clear them:

https://learn.adafruit.com/how-to-find-hidden-com-ports

adafruit_support_mike
 
Posts: 62196
Joined: Thu Feb 11, 2010 2:51 pm

Re: Feather M4 drive issues; windows sees it as a keyboard

by JoshBuildsRobots on Wed Apr 07, 2021 11:31 pm

Thank you for responding. I disconnected the feather, followed the tutorial, and deleted everything except for com1 which if i recall is an internal thing for windows? Not 100% sure; doesn't really matter. I connected the feather m4, and it connected again as a keyboard. Both the default windows settings detects it alongside my keyboard and mouse, device manager recognizes it as com3, and devices and printers recognizes it as a keyboard.

It's not incredibly interesting that DM assigned it com3, since it was assigned as com6 last time, but the fact that DM sees it on a com port gives me hope.

JoshBuildsRobots
 
Posts: 5
Joined: Fri Aug 14, 2020 5:34 pm

Re: Feather M4 drive issues; windows sees it as a keyboard

by adafruit_support_mike on Fri Apr 09, 2021 10:11 pm

Hmm.. does the board still mount normally when you connect it to a Mac?

adafruit_support_mike
 
Posts: 62196
Joined: Thu Feb 11, 2010 2:51 pm

Re: Feather M4 drive issues; windows sees it as a keyboard

by danhalbert on Thu Apr 15, 2021 11:06 am

You don't need to install the drivers, and they check whether they are on Windows 10 and don't install anything anyway for most boards.

Normally CircuitPython presents as a drive, a COM port (for the REPL), and several HID devices, including keyboard and mouse. So it's completely expected it would show up as a keyboard. The odd thing is that the CIRCUITPY drive is not appearing.

On your friend's laptops, does CIRCUITPY show up? If so, and it does not show up on yours, then it's possible some third-party software (anti-virus or disk utility, for example) is interfering with CIRCUITPY showing up. See https://learn.adafruit.com/welcome-to-c ... 3004181-14.

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

Re: Feather M4 drive issues; windows sees it as a keyboard

by JoshBuildsRobots on Thu Apr 15, 2021 6:30 pm

apologies for the late response. Neither drive shows up on the mac. The #13 led rapidly flashes, but the neopixel doesn't show any color. I purchased another feather m4, and discovered that this one functions normally. I have no idea what would cause the first board to act up. It worked, I soldered the pins on and then it didn't. There are no shorts on the pins, the flux is cleaned off, and the ipa that I used to clean off the flux is also completely off the board. I even waited two days to make sure it dried properly because it was the one board I did NOT want to screw up, lol.

Thank you guys for your help. I'm really invested into figuring out what went wrong with this, if there is anything else I can test or any advice I can get to help replicate the problem, let me know and I'll do it. If it's fixable, I would really like to not be out $20

JoshBuildsRobots
 
Posts: 5
Joined: Fri Aug 14, 2020 5:34 pm

Re: Feather M4 drive issues; windows sees it as a keyboard

by danhalbert on Thu Apr 15, 2021 6:33 pm

If you double-click, do you still see the BOOT drive?

Could you post a picture of your soldering?

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

Please be positive and constructive with your questions and comments.