2defunct:
Вот выдержки из даташита:
Цитата
When writing serial data to the ATtiny12, data is clocked on the rising edge of SCK.
When reading data from the ATtiny12, data is clocked on the falling edge of SCK.
Может я не правильно это понимаю, но в первом абзаце говориться, что при записи данных в мискросхему, они пишуться по переднему фронту, а читаются по заднему фронту.
Цитата
Wait for at least 20 ms and enable serial programming by sending the Programming
Enable Serial instruction to the MOSI (PB0) pin.
The serial programming instructions will not work if the communication is out of
synchronization. When in sync, the second byte ($53) will echo back when issuing
the third byte of the Programming Enable instruction.
А тут как я понимаю написанно что при посылке команды "Programming
Enable " в она должна возвратить второй байт этой команды, во время посылки третьего.
Может я что то не так понимаю ?
Команды чтения сигнатур я тоже посылал в ответ 0xff