Hello,
I am aware that this subject as been talked about on the forum but I feel like mine is unique since it's been about 5h, 3 installs of arduino IDE from scratch, about 10 downloads of different drivers for CH340 and 3 restars of the computer.
I'll proceed to elaborate on the issue.
I bought an Arduino Nano on AliExpress recently, it has a CH340C usb driver, it's a 3.0 usb-c board V3.0 acording to the seller.
I'm using Windows11 x64 and an Arduino IDE 2.3.2.
I'm compyling the code with 0 errros but the board gets stuck in an endless loop while uploading, I'm using ATMEGA328P (oldbootloader) ".
On device manager the board is not recognized and shows up as below.

The only way for me to stop the loop is by disconnecting the board or by resseting.
I'd like help please
I'm at a loss
Thank you in advance!
Edit:
If it helps in anyway here is the link to the purchase page, https://pt.aliexpress.com/item/1005006128051481.html
I don't like CH340's.
When I was doing with "Nano", which had FTDI's, we used Duemilanove.
I see now there's 'Arduino Nano' as a choice (I don't know why).
It's what I got though and now i must content :')
Did you try Duemilanove? (I havent thrown in with IDE 2.x)
I was about to say I had and failled but in a desperate attempt retried it
For some reason, this time, it worked O_o.
Thank you!!
Classic Nanos never identify themselves as a Nano. They use a generic serial-to-usb converter (CH340 on most clones, FTDI on the original) so the operating system has no means to identify them.
You can try the "328P" option or the "168" option.
Can you please enable verbose output during upload and disable verbose output during compilation in file / preferences, perform an upload and post the results here in a new reply. When posting the output, please use code tags (the <CODE/> button in the composer window) as described in How to get the best out of this forum.
Your topic has been moved to a more suitable location on the forum.
Amazingly after it worked, it stopped wroking again while nothing has been changed.
avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\**redacted**\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"
Using Port : COM9
Using Programmer : arduino
Overriding Baud Rate : 57600
That's the verbose during the upload process, it stays there and it starts failing with the following message:
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xcf
I'm using "ATMEGA328P" processor and using board as "Arduino Duemilanove or Diecimila",
it stills fails using "ATMEGA168"
Bad cable? Bad socket on "nano"?
All this over $2?
Pitch it and buy something better.
I have a raspberry py that costed 46 cents and an Uno for 2€ as well and they work like a charm.
And program it with the same cable im using for the nanos so that's not the issue.
I'm a portuguese college student, not exactly rich.
Furthermore i got 2 nanos from the same place and they both started and stopped working exactly at the same time so I find it very unlikely for it to be the socket / cable.
Since, the nanos aren't proving fruitful I'm using the uno with the same cable and it's working fine :')
Why? You're using a Nano. So select Nano and play with the processor options.
I did so and it failled, for every processor option.
When a user here, namely " runaway_pancake" proposed using Duemilanove it worked so I thought it had something to do with that, apparently, it had not.
There is a known issue with IDE 2.x when you have the serial monitor open when trying to upload. As far as I know, the symptoms are different (no access) but maybe it is the cause of the problem?
After that, I think that I'm out of options.
I close it every time.
I must do so, if I don't it returns:
avrdude: ser_open(): can't open device "\\.\COM9": Access is denied.
avrdude done. Thank you.
Failed uploading: uploading error: exit status 1
For anyone following/ reading
I have further developments.
As metioned above I got 2 Arduino Nano boards from the same place at the same time.
The issue has been "solved" by plugging one of the two and uploading, after this the second one starts working magically.
It makes 0 difference if its Duemilanove or Nano, I must use old bootloader though.
Aparently one of them has an issue and it's solved by plugging and uploading to a working one
I'm at a lost as to why, but it works I guess 
Maybe there was some crap in your cable that running it in the other device cleaned it up.
Or maybe this is ephemeral and you'll have more magic trouble or something, like before, later.