Problem loading sketch to Nano or Micro

Loading to an UNO works fine. When I switch to a Nano or Micro, the boards are not recognized. I ran through the troubleshooting tips and still nothing.

I get this error code:
Arduino: 1.8.12 (Windows 10), Board: "Arduino Nano, ATmega328P"

Sketch uses 1728 bytes (5%) of program storage space. Maximum is 30720 bytes.
Global variables use 13 bytes (0%) of dynamic memory, leaving 2035 bytes for local variables. Maximum is 2048 bytes.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x4c
Problem uploading to board.

Same for all 10 attempts...then times out.

Thank you for help!

For the Nano, select Tools > Processor > ATmega328P (Old Bootloader) and then try uploading again.

For the Micro, if you're getting that error it means you have the wrong board selected. Select Tools > Board > Arduino Micro before uploading to your Micro.

That did it! Thank you!

You're welcome. I'm glad to hear it's working now. Enjoy!
Per

With the Micro Pro, I'm now having problems getting it to recognize the CH340 USB programmer.

Error:
Arduino: 1.8.12 (Windows 10), Board: "Arduino Micro"

Sketch uses 4916 bytes (17%) of program storage space. Maximum is 28672 bytes.
Global variables use 153 bytes (5%) of dynamic memory, leaving 2407 bytes for local variables. Maximum is 2560 bytes.
An error occurred while uploading the sketch

avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
Found programmer: Id = "�"; type = �
Software Version = i.

A Pro Micro doesn't have a CH340. Please post a link to where you bought that board so I can understand what's going on.

Here is the micro and the relay board:

Here is the programmer:

That's a Pro Mini, not a Pro Micro. When you're using the Pro Mini you need to select Tools > Board > Arduino Pro or Pro Mini.

Oh boy, Do I feel dumb! Oops. That was easy. Thank you for your help! That did it!

You're welcome. I'm glad if I was able to be of assistance. Enjoy!
Per