Arduino Micro: Dosen't show port although it is connected!!!

Hey,

I am facing a problem with my Arduino Micro, I kept searching for days but couldn't find a solution. I am working on my graduation project and using almost all the arduino's pins.

The error message is shown below.

Arduino: 1.8.1 (Mac OS X), Board: "Arduino/Genuino Micro"

Sketch uses 12328 bytes (42%) of program storage space. Maximum is 28672 bytes.
Global variables use 931 bytes (36%) of dynamic memory, leaving 1629 bytes for local variables. Maximum is 2560 bytes.
Couldn't find a Board on the selected port. Check that you have the correct port selected. If it is correct, try pressing the board's reset button after initiating the upload.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

So basically, I am connecting the Arduino but the port doesn't not showed.
I get rid of the problem by changing the Micro!! which doesn't make sense!.

So PLEASE I need someone to figure it out for me. Why the port doesn't show up and disappear suddenly?

The only way that I could solve the problem is by replacing the Arduino with another one.

THANKS A LOT!! :cry:

Anyone can help with this PLEASE??

idk about micro but "pro micro leonardo" which according to google pics uses the same chip (atmega 32u4) stops being recognized by PC if wrong board is selected while uploading sketch. The solution for "pro micro leonardo" is to reflash the bootloader which isn't a trivial task:

https://forum.arduino.cc/index.php?topic=376079.msg2599769#msg2599769

So possibly you could try to find some information how to do the same with "Arduino Micro"...