AVR ISP Pinout
AVR microcontrollers can be programmed via their SPI ports in conjunction with the RESET pin.
For in system progamming, the standard connectors used by programmers such as the USBASP are either IDC 6-pin or IDC 10-pin with pinouts as shown.
The USBASP programmer can provide 5v or 3.3v on the Vcc pin to power the device.