Uploading to ATmega328 from Raspberry Pi

OK, I don't know.

As said, I would try some other cables.