Note that the ATtiny2313 earlier than rev C has an error in the parallel programming interface. This does not apply to rev C of ATtiny2313 which works OK.
CAUTION: Avoid fuse settings disabling the ISP interface. This will cause the device to lock for further programming.
Clock sources and pre-scale options
The ATtiny2313 has numerous settings for clock sources and pre-scaling of these. Keep in mind that the Atmel STK500/AVRISP only is able to program the part using the ISP method if:
The pre-scaled clock source used on the ATtiny2313 is higher than 32 kHz.
-AND-
The pre-scaled clock source used on the ATtiny2313 is equal to or higher than the selected oscillator settings used