Problem uploading to Arduino " Error in USB "

Hello!! I want to upload my project to an Arduino-nano , but it show on :

and my platformio.ini :
[env:nanoatmega328]
platform = atmelavr
board = nanoatmega328
framework = arduino
upload_protocol = arduinoisp
upload_port = COM3

I can use Serial Monitor to select Port and read information from my Arduino-nano.
My computer OS is WIndow10 ,and use the CH340 usb driver, and can find the usb port.

Is it possible my USB driver can’t contact with PlatformIO correctly , and cause this error ?
How can i solve this problem?

See Atmel AVR — PlatformIO latest documentation

Could you add this line to platformio.ini

upload_flags = -P$UPLOAD_PORT

Hi,thx your reply.
I use this setting , and it work success.

[env:nanoatmega328]
platform = atmelavr
board = nanoatmega328
framework = arduino
upload_speed = 57600
upload_protocol = arduino
upload_port = COM6
upload_flags = -P$UPLOAD_PORT

But there are other problems.

When I upload my project to Arduino nano (USB mini) , IDE show on “upload success” ,but the program did’t uploaded to Arduino nano.

I try another Arduino board like Pro mini (USB/TTL) ,and the program upload success.