Pro Micro not recognized after using Zadig

Hey everyone, I have a problem and I hope you can help me.
I had a Pro Micro that was working fine, and I used it to make various macropads with Arduino IDE. Everything worked perfectly: I could upload programs and everything functioned correctly. In some cases, it got bricked a few times, but I could fix it using the “quick double reset” trick while uploading the program from Arduino IDE, and the file would upload without any issues.

Later, I discovered QMK Toolbox and tried to use it to flash a Pro Micro with a hex file. However, it didn’t work with the Pro Micro that I had already used with Arduino IDE; I noticed it only worked with a brand-new factory Pro Micro.

To try to fix it, I used Zadig and changed the drivers, replacing the Pro Micro driver with WinUSB (v6.1.7600.16385). After that, Windows no longer detects any of the macropads I made with my Pro Micros. The problem only happens on my computer; on other PCs, they work perfectly. There are no issues uploading programs from Arduino IDE: Windows recognizes the port and the upload process works fine, just like before. However, Windows does not recognize any of my macropads as input devices.

thanks

Hi @francosperanza10. You should be able to restore your system back to the normal state of affairs where the "HidUsb" driver is used for the Leonardo's HID device by the following procedure:

  1. Open Windows Device Manager.
  2. Select View > Devices by type from the Device Manager menus.
  3. Open the "View" menu.
  4. If there is a ✓ to the left of the "Show hidden devices" menu item, click on "Show hidden devices" to disable it.
  5. Expand the "Universal Serial Bus devices" section of the Device Manager tree.
  6. You should see a device for the Pro Micro under that section of the tree. Right click on it.
    :red_exclamation_mark: This is a separate device from the USB CDC device produced by the board which you will see under the "Ports (COM & LPT)" section of the device tree.
  7. Select "Uninstall device" from the context menu that opened when you right-clicked the device.
    An "Uninstall device" dialog will open.
  8. Check the box next to "☐ Attempt to remove the driver for this device" in the "Uninstall device" dialog.
  9. Click the "Uninstall" button.
  10. Wait for the uninstall process to finish, as indicated by the "Uninstall device" dialog closing.
  11. Disconnect the USB cable of the Arduino board from your computer.
  12. Connect the Arduino board to your computer with a USB cable.
  13. Start Zadig.
  14. Select the "Interface 2" device produced by the board from the device menu in Zadig.
  15. Verify that the left hand "Driver" field in the Zadig window now shows that the "HidUSB" is installed for the device, not "WinUSB". If it still shows that "WinUSB" is installed, repeat the above procedure (I have found that sometimes you have a situation where there are multiple installations of a driver for a device, and you must uninstall each of these layers of installations until you get back to the original state).

Hopefully you will now be back to the state where Windows detects the macropads made from the Pro Micro boards.

thanks for the reply!

I've tried everything you told me, and I can't get the HID USB driver back. I tried uninstalling it multiple times and it still doesn't work :C
is still traped in WinUSB

Unfortunately I don't have any other ideas about a solution. Hopefully the other forum helpers will be able to suggest something.

I tried installing the WinUSB driver for my board via Zadig, then performed the procedure I described in my previous reply. It worked as expected for me; with the board back to using the HidUsb driver after the procedure.

i was able to fix it!, I had to repeat your method many many many times hehehe

Thanks!

Now I have another question... just like before, I can't seem to flash my Pro Micro with QMK Toolbox after using it with Arduino IDE... it only works with Pro Micros that are factory-new. Is there any way to restore them to their factory state?

Did you have Arduino IDE running while you tried to do that? If so, the problem might have been caused by having the port of the board open in the Arduino IDE Serial Monitor. The Serial Monitor is a tab in the bottom panel of the Arduino IDE window, and has the port open even if that tab is not selected, so it can be easy to miss the fact that it is open. Arduino IDE automagically juggles the control over the port when you upload a sketch via the IDE, so you won't experience any interference from Serial Monitor when using Arduino IDE, but there is no such capability in external applications.

So before attempting a flashing operation via QMK Toolbox, make sure to either close Arduino IDE, or else click the X icon on the "Serial Monitor" tab in the bottom panel of the Arduino IDE window.


If that doesn't solve the problem, it might be caused by the specific sketch you uploaded to the board while using Arduino IDE. Try this:

  1. Select File > Examples > 01.Basics > BareMinimum from the Arduino IDE menus.
    The "BareMinimum" example sketch will open in a new Arduino IDE window.
  2. Select Sketch > Upload from the Arduino IDE menus.
  3. Wait for the sketch to upload successfully.
  4. Select File > Quit from the Arduino IDE menus.
  5. Attempt a flashing operation using QMK Toolbox.