But you now have a different error message
Consider that progress ![]()
Overriding Baud Rate : 115200 indicates that you're using the "328P" option under tools / processors in the IDE. Try the "old bootloader" option and if that fails the 168 under tools / processors.
The approach by @ptillisch in post #11 is to determine if there is a bootloader and if yes, which one.