参数资料
型号: MT80C31-25D
厂商: ATMEL CORP
元件分类: 微控制器/微处理器
英文描述: 8-BIT, 25 MHz, MICROCONTROLLER, PQFP44
封装: 1 MM HEIGHT, QFP-44
文件页数: 16/170页
文件大小: 4133K
代理商: MT80C31-25D
112
ATtiny4/5/9/10 [DATASHEET]
8127F–AVR–02/2013
15.4.3.4
Erasing the Configuration Section
The algorithm for erasing the Configuration section is as follows:
1.
Write the SECTION_ERASE command to the NVMCMD register
2.
Start the erase operation by writing a dummy byte to the high byte of any word location inside the configu-
ration section
3.
Wait until the NVMBSY bit has been cleared
15.4.3.5
Writing a Configuration Word
The algorithm for writing a Configuration word is as follows.
1.
Write the WORD_WRITE command to the NVMCMD register
2.
Write the low byte of the data to the low byte of a configuration word location
3.
Write the high byte of the data to the high byte of the same configuration word location. This will start the
Flash write operation.
4.
Wait until the NVMBSY bit has been cleared
15.4.4
Reading NVM Lock Bits
The Non-Volatile Memory Lock Byte can be read from the mapped location in data memory.
15.4.5
Writing NVM Lock Bits
The algorithm for writing the Lock bits is as follows.
1.
Write the WORD_WRITE command to the NVMCMD register.
2.
Write the lock bits value to the Non-Volatile Memory Lock Byte location. This is the low byte of the Non-
Volatile Memory Lock Word.
3.
Start the NVM Lock Bit write operation by writing a dummy byte to the high byte of the NVM Lock Word
location.
4.
Wait until the NVMBSY bit has been cleared.
15.5
Self programming
The ATtiny4/5/9/10 don't support internal programming.
15.6
External Programming
The method for programming the Non-Volatile Memories by means of an external programmer is referred to as
external programming. External programming can be done both in-system or in mass production.
The Non-Volatile Memories can be externally programmed via the Tiny Programming Interface (TPI). For details
on the TPI, see “Programming interface” on page 95. Using the TPI, the external programmer can access the NVM
control and status registers mapped to I/O space and the NVM memory mapped to data memory space.
15.6.1
Entering External Programming Mode
The TPI must be enabled before external programming mode can be entered. The following procedure describes,
how to enter the external programming mode after the TPI has been enabled:
1.
Make a request for enabling NVM programming by sending the NVM memory access key with the SKEY
instruction.
2.
Poll the status of the NVMEN bit in TPISR until it has been set.
相关PDF资料
PDF描述
MS80C31-20D 8-BIT, 20 MHz, MICROCONTROLLER, PQCC44
MS80C51T-20D 8-BIT, MROM, 20 MHz, MICROCONTROLLER, PQCC44
MT80C51T-20R 8-BIT, MROM, 20 MHz, MICROCONTROLLER, PQFP44
MS80C51-25D 8-BIT, MROM, 25 MHz, MICROCONTROLLER, PQCC44
MP80C51C-30D 8-BIT, MROM, 30 MHz, MICROCONTROLLER, PDIP40
相关代理商/技术参数
参数描述
MT80C31BH 制造商:Rochester Electronics LLC 功能描述:- Bulk 制造商:Intel 功能描述:
MT80C51BH 制造商:ROCHESTER 制造商全称:ROCHESTER 功能描述:CMOS SINGLE - CHIP 8-BIT MICROCOMPUTER 64K program Memory Space
MT80C51FB 制造商:Rochester Electronics LLC 功能描述:- Bulk
MT80C51FB/B 制造商:Intel 功能描述:
MT80GB 制造商:Datak Corporation 功能描述: