i just bought a micro a week ago and yesterday it and whatever port its on stopped showing up in the port menu. Windows also gives out a "device not recognized" message everytime its plugged in.
the doc said to put it into bootloader mode by double pressing the reset button. I did that and sure enough the port shows up temporarely until the green bootloader indicator turns OFF again. then Windows says "device not connected again" and the port menu doesnt show the device anymore.
I did do some sketchy downgrading of the avr pack to get my max3010 puls oximeter to work but thats all back to normal now.
i also didnt install any software that uses the usb port in the meantime.
feel free to ask for clarifiction if needed, this is my first forum post. Thanks for reading.
Part of the sketch that you upload contains functionality that facilitates the board detection by your operating system as well as the reaction on the software reset (opening and closing the serial port with a baud rate of 1200 baud) that the IDE issues when starting the upload.
Bugs in the code that you upload (or in libraries that the sketch uses) can override variables used by the above mentioned functionality and the result is that one of those functionalities breaks. In your case the board detection.
thanks a lot for responding!
Does that override only occur with the actual code and included libraries? I also tested a simple hello world after uninstalling all libraries exept the preinstalled ones. it doesn't seem to have an impact.
Please explain. Are you saying that uploaded examples like blink or hello world still exhibits the undesired behaviour? Or are you saying that basic examples don't show the undesired behaviour? The latter would be expected.
the behavior described in the OP doesn't seem to differ in all the tests I've done. I even reinstalled the IDE at one point and removed all libraries and code besides the hello world.