Flashing sketch over serial port to a bare 328p.

How are you resetting the target board during upload?