Arduino pro micro not working

Are you using the same cable as earlier when it worked? Micro-USB cables com in two flavours, charge-only and data/sync cables.

If Windows does not see a new device, it might be because the cable is a charge-only cable.

Post #1.

:wink:

OK, we move on to the next possible cause of this "no port" symptom:

It is possible that the bootloader on your board has somehow been erased or corrupted. This is one of the possible causes of the symptom of the board not producing a port after it is reset. If so, the board might be recoverable by a "Burn Bootloader" operation.

You will need an "ISP programmer" in order to perform a "Burn Bootloader" operation. An ISP programmer is a piece of hardware that allows your computer to write directly to the flash memory of the primary microcontroller on the Arduino board.

If you don't have an ISP programmer, you can use a spare Arduino board as a DIY programmer (known as an "Arduino as ISP"). I'll provide instructions you can follow to do that:

Burning Bootloader with "Arduino as ISP" Programmer

A. Prepare "Arduino as ISP" programmer

Although the "Arduino as ISP" only works for programming targets of the AVR architecture, you can use some boards of other architectures (e.g., "AVR", "SAMD", "megaAVR") as an "Arduino as ISP" programmer.

I will refer to the board which will used as an "Arduino as ISP" as the "programmer board" from here on. The board you are burning the bootloader to will be referred to as the "target board".

  1. Disconnect the Arduino boards from your computer.
  2. Make the following connections between the pins on the "programmer board" and the "target board".
    Programmer Target
    MISO MISO
    VCC 5V (VCC on 3.3 V boards)
    SCK SCK
    MOSI MOSI
    10 RESET
    GND GND
    The documentation for the boards you are using will identify the location of these pins. If you are using an official Arduino board, check the pinout diagram on the documentation page for the board.
  3. Connect the "programmer board" to your computer with a USB cable.
  4. Select File > Examples > 11.ArduinoISP > Arduino ISP from the Arduino IDE menus.
  5. Select your "programmer board" from Arduino IDE's Tools > Board menu.
  6. Select the port of your "programmer board" from Arduino IDE's Tools > Port menu.
  7. Select Sketch > Upload from the Arduino IDE menus.
  8. Wait for the upload to finish.

You are now ready to burn the bootloader using your "Arduino as ISP" programmer.

B. Burn Bootloader

Instructions for burning the bootloader:


It is not possible to do this via "Arduino Web Editor". You will need to use Arduino IDE or Arduino CLI.


  1. Select the "target board" from the Tools > Board menu, and any other custom Tools menus (e.g., Tools > Processor).
  2. Select the appropriate programmer from the Tools > Programmer menu in Arduino IDE.
    This is dependent on which board you are using as the "programmer board":
    • If it is an ATmega32U4-based board (e.g., Leonardo, Micro, Pro Micro): Select "Arduino as ISP (ATmega32U4) from the menu
    • If it is not an ATmega32U4-based board: Select "Arduino as ISP from the menu
  3. Select Tools > Burn Bootloader from the Arduino IDE menus.
  4. Wait for the process to finish successfully.
  5. Unplug the USB cable of the "programmer board" from the computer.
  6. Disconnect the "programmer board" from the "target board".

Conclusion

Now connect the USB cable of the "target board" to your computer. Do you now see a port for the board listed under the Tools > Port menu in Arduino IDE?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.