Open-sourced program code for an AVR which programs an AT89LP51/52 over SPI (i.e. AVRISP).