another one
for upload to nano atmega328pu maybe this work for you (it work for me)
different baudrate and another way to find the hex file
Tools -- Configure external tools -- Add
Title:
Arduino nano upload with avrdude (old bootloader)
Program File name:
F:\Program Files\arduino\arduino_1_8_8\hardware\tools\avr\bin\avrdude.exe
Parameters:
-CF:\progra~1\arduino\arduino_1_8_8\hardware\tools\avr\etc\avrdude.conf
-v -patmega328p -carduino -P\\.\COM13 -b57600 -D -Uflash:w:$ProjPath()\$NameOnly($ProjFile()).hex:i