Problem wirh conecting arduino pro micro

My arduino which is pro i think is broken
While uploading program i pluged out my arduino and now just when i plug in into system it just turn one red light on
And without executing program
How to fix it?

Due to the USB stack running on the same chip as your sketch with this board, it is possible for code in your sketch to break the USB functionality (possibly due to a corrupted sketch in this case). Fortunately, the upload code (bootloader) is stored in a separate section of memory and can not be broken by the sketch code. The only tricky thing is that the bootloader has to be activated at just the right time during the upload. Normally this is done by some special code that runs in the background of your sketch code recognizing a 1200 baud connection as the signal to reset the microcontroller and start the bootloader. However, in your current situation, that system wont work so you'll need to manually reset the board to activate the bootloader.

The Pro Micro doesn't have a reset button, so the way to reset it is by momentarily connecting a wire between the RST and GND pins.

You need to get the timing right. If you do the reset too early, the bootloader will have already timed out by the time the upload starts. The tricky thing is that when you press the "Upload" button in the Arduino IDE, it first compiles your sketch before starting the actual upload. So you need to wait until after the compilation finishes before doing the reset.

Do this:

Sketch > Upload

Watch the black console window at the bottom of the Arduino IDE window. As soon as you see something like this:

Sketch uses 444 bytes (1%) of program storage space. Maximum is 30720 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.

reset the board.

After that, the sketch should upload successfully. After that, if the problem persists, you know there is something in your sketch that is breaking the USB functionality. You can verify this by uploading the File > New sketch, after which the board should be recognized by your computer and you should be able to upload normally. If so, you will need to find out what it is in your sketch breaking the USB code. Now that you know how to recover your board, that should be manageable.

The problem is that my pc cant read arduino it just show COM1 which is empty and no more (COMS )

Yes, the code that creates the USB CDC serial port is running in the background of the sketch, so a corrupted sketch can cause the port to disappear.

Please try the instructions above to manually reset your board.

It didnt work
But sometimes it show my arduino and when i click on the true serial port and then i upload and i again check the serial port disaper

It worked
Im

I have another arduino pro micro
And its working yet but on the board there are two yellow or red or orange chips behind the micro port for me one of then is has been removed but it still working what are those two chips and is there any proboem that im using the biard with one of them??

Too vague. You can post a picture with the components in question circled if you like. If you click the "Reply" button here you'll see an "Attachments and other settings" link that will allow you to attach pictures to your reply.

@influxer created a dedicated topic for discussion of the missing component:
https://forum.arduino.cc/index.php?topic=722031

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