Arduino pro micro not showing in ports after flashing firmware

Hello today i got my arduino pro micro and i wanted to use it as a joystick so i flashed mmjoy2 to it but just because it has a code inside of it the codes doesnt work so i need to flash original firmware again and delete the code so i tired to find the port but i couldnt see the any port connected i tried resetting and when i reset the board, its showing up as arduino leonardo and when i click on that and try to upload code or burn bootloader i get this error code:
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. avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x3f avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x3f avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x3f avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x3f avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x3f avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x3f avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x3f avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x3f avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x3f avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x3f Failed uploading: uploading error: exit status 1

It's all about timing the upload after reset. Follow the unbricking instructions and repeat until you succeed. It just takes some patience and care.

So you bought a clone.

Do you have other boards (like Uno, Nano or a TTL-to-USB adapter)? Connect that as well to your PC. Or when using Windows does it have a COM1?

Step one
With the Pro Micro connected, select any of the available ports in the IDE (as long as it isn't of another board that has native USB).

Step two
Start the upload of an innocent sketch.

Step three
Double tap the reset button at the moment that the IDE reports the memory usage (you have approximately 8 seconds). Yes, I know that a Pro Micro does not have a reset button; add one or use a wire on reset and tap that twice to GND.

Hello that worked thanks but i need to burn bootloader of my arduino how i should do that, i connected my arduino pro micro i selected arduino leonardo and atmega chip because it was showing up like arduino leonardo then i clicked burn bootloader, it started burining bootloader but after 10 minutes still the same screen.

If my approach worked, there is nothing wrong with the bootloader.

How does the board currently identify itself (without pressing reset)?

Can you describe the exact behaviour of the board after

  1. Single tap reset
  2. Double tap reset

Check with device manager.

Note that you can only burn a bootloader using a dedicated programmer or a second Arduino; you can not do that using the USB port.

If you haven't installed the SparkFun AVR board package yet, I suggest that you install it. After that you can select Pro Micro instead of Leonardo; and you can select the speed (8MHz/16MHz). See Pro Micro & Fio V3 Hookup Guide - SparkFun Learn

Below is what you should see

Leonardo running sketch
image

Leonardo bootloader after single tap or double tap reset
image

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