I am uploading my sketches onto the ATmega328 via USB and FT232RL. I am using the standard setup, except for using a resonator (crystal with in-built 30pF capacitors). I use Arduino IDE.
Interestingly, there is no problem when I upload sketches from my PC. However, when I upload from Raspberry Pi (/dev/ttyUSB0), there are always mismatch errors, like this one:
avrdude: verification error, first mismatch at byte 0x0105 0x27 != 0x2f
The error numbers keep changing.
Also, there is no problem when uploading sketches to Arduino Uno from the same Raspberry Pi (/dev/ttyACM0).
Since it works on PC, this is more of an annoyance than a real problem, but I would still like to solve it.