arduino nano problems...

Hi, guys and gals!

So, I have an arduino nano which used to work just fine. I plugged it in recently, and tried to upload some code to it, and this is what it said:

Arduino: 1.8.9 (Windows Store 1.8.21.0) (Windows 10), Board: "Arduino Mini, ATmega328P"

Sketch uses 444 bytes (1%) of program storage space. Maximum is 28672 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 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=0xf5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xf5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xf5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xf5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xf5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xf5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xf5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xf5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xf5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xf5
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

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

Also, when I plug it in, the red "L" led blinks eight times. it blinks again (just once) when the upload begins.

I have tried several things, such as plugging in/unplugging the arduino, restarting before upload, double restart, changing ports; cords; and processors, etc.

I did notice the last few times I used the code that was on it that it didn't seem to run the script properly every now and then... I have another that does the same thing on occasion.

other than the "L" and "POWER" leds, no other lights are coming on, not even the rx/tx leds.

Thanks!

Quick note:

I have not tried uploading to my other nano, but I have successfully uploaded code to my uno.

And yes, I have made sure to select the right board in the menu, in case anyone was wondering... I forgot to mention that the first time.

Select Tools > Processor > ATmega328P (Old Bootloader) and try uploading again.

I did look for that, but there is no "old bootloader" button... my only options are ATmega328P and ATmega168. Is there a particular reason for that? Perhaps I need to update the arduino IDE?

You have arduino mini selected, instead of nano. Why?

Old bootloader option not present indicates old version of avr board package. If those are genuine names of recent provenance, you would need to use the not-old-bootloader nano option on a version of the ide/board package recent enough to have the old bootloader option (if it doesn't have old bootloader option, the only option is equivalent to old bootloader, as it dates to when that's all there was). Some clones may now ship with new bootloader.

I don't know why mini was selected... I must have copied it while I was experimenting. However, I just tried what user pert suggested (again), and this time the old bootloader did come up. I have no idea why it didn't before. I selected it, but I'm still getting the error message. Is there a specific programmer I'm supposed to use? when I open tools it now gives me a list of options to choose from... It's currently on AVRISP mkll.

Tools -> programmer is only used for "Burn Bootloader" and "Upload using programmer" (in which case it refers to the piece of hardware you're using as a programmer), that option is irrelevant for normal uploads.

Have you tried with the not-old-bootloader option too now that old bootloader is showing up?

Yeah, that gives an error message as well.
I just noticed that the red led flashed again at the same time the IDE sent the error message...