Filling the Temporary Buffer (+)
(«Телесистемы»: Конференция «Микроконтроллеры и их применение»)

миниатюрный аудио-видеорекордер mAVR

Отправлено Codavr 25 августа 2005 г. 13:34
В ответ на: еще пара вопросов по самопрограммированию ATMEGA отправлено <font color=gray>rks</font> 25 августа 2005 г. 13:22

To write an instruction word, set up the address in the Z-pointer and data in R1:R0, write
“00000001” to SPMCR and execute SPM within four clock cycles after writing SPMCR.
The content of PCWORD in the Z-register is used to address the data in the temporary
buffer. The temporary buffer will auto-erase after a page write operation or by writing the
RWWSRE bit in SPMCR. It is also erased after a System Reset. Note that it is not possible
to write more than one time to each address without erasing the temporary buffer.

Составить ответ  |||  Конференция  |||  Архив

Ответы



Перейти к списку ответов  |||  Конференция  |||  Архив  |||  Главная страница  |||  Содержание  |||  Без кадра

E-mail: info@telesys.ru