Arduino Micro - not showing in IDE - port

Hi all,
I have Arduino Micro about 5 month, it was working ok but suddenly port is not showing in IDE.
I didnt change OS or anything. When connects to the usb (tried more cables) the blue light is on, when I restart Arduino for a moment during the restart port shows in IDE, but after the restart it disappears again.

What can be the problem?

Thank you

Marcel

It could be stuck in a mode that is not allowing you to program it.
As a micro has no reset pin temporally wire a push button between the reset pin and ground. Then give it a tap or double tap and it should come back to life.

Thanks, I tried it but didn't help.

When you do the double tap reset, the board should go into bootloader mode; your operating system should see that. If your operating system does not see that, are you sure that you're using a data/sync cable and not a charge-only cable?

Which operating system?
Which version of the IDE?

Yes when I double tap I can see the port for the moment during restart. After that, port disappear. I tried all cables and they are data/sync.
Today I tried a new Arduino micro and its working with the same cable, same OS and IDE version.
Old micro is still not working. Maybe its burned or I can try reinstall bootloader as last option.

Which as @sterretje asked you is what?

Ah, Sorry

Versions:
IDE - 2.1.0
OS - Monterey 12.6.3

Do you have another Arduino like Nano, Mega or Uno? Or do you have a serial-to-usb adapter?

If yes, in the IDE

  1. Select the Pro Micro as the target board.
  2. Connect both the Pro Micro and the Nano/Mega/Uno/serial-to-usb adapter.
  3. Select the port of the latter.
  4. Start the upload.
  5. When the IDE reports the memory usage, double-tap the reset button of the Pro Micro.

Use an innocent sketch, not your sketch that caused the problems.