Zitat Zitat von Datenblatt ATMega128, Seite 304
Even though the SPI Programming interface re-uses the SPI I/O module, there is one
important difference: The MOSI/MISO pins that are mapped to PB2 and PB3 in the SPI
I/O module are not used in the Programming interface. Instead, PE0 and PE1 are used
for data in SPI Programming mode as shown in Table 127.
Also: Du musst PE0 und PE1 verwenden!

Gruß,
askazo