参数资料
型号: MV80C51T-16D
厂商: TEMIC SEMICONDUCTORS
元件分类: 微控制器/微处理器
英文描述: 8-BIT, MROM, 16 MHz, MICROCONTROLLER, PQFP44
文件页数: 15/170页
文件大小: 4133K
代理商: MV80C51T-16D
111
ATtiny4/5/9/10 [DATASHEET]
8127F–AVR–02/2013
15.4.3
Programming the Flash
The Flash can be written word-by-word. Before writing a Flash word, the Flash target location must be erased.
Writing to an un-erased Flash word will corrupt its content.
The Flash is word-accessed for writing, and the data space uses byte-addressing to access Flash that has been
mapped to data memory. It is therefore important to write the word in the correct order to the Flash, namely low
bytes before high bytes. First, the low byte is written to the temporary buffer. Then, writing the high byte latches
both the high byte and the low byte into the Flash word buffer, starting the write operation to Flash.
The Flash erase operations can only performed for the entire Flash sections.
The Flash programming sequence is as follows:
1.
Perform a Flash section erase or perform a Chip erase
2.
Write the Flash section word by word
15.4.3.1
Chip Erase
The Chip Erase command will erase the entire code section of the Flash memory and the NVM Lock Bits. For
security reasons, the NVM Lock Bits are not reset before the code section has been completely erased. Configura-
tion, Signature and Calibration sections are not changed.
Before starting the Chip erase, the NVMCMD register must be loaded with the CHIP_ERASE command. To start
the erase operation a dummy byte must be written into the high byte of a word location that resides inside the Flash
code section. The NVMBSY bit remains set until erasing has been completed. While the Flash is being erased nei-
ther Flash buffer loading nor Flash reading can be performed.
The Chip Erase can be carried out as follows:
1.
Write the CHIP_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 code
section
3.
Wait until the NVMBSY bit has been cleared
15.4.3.2
Erasing the Code Section
The algorithm for erasing all pages of the Flash code 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 code
section
3.
Wait until the NVMBSY bit has been cleared
15.4.3.3
Writing a Code Word
The algorithm for writing a word to the code section is as follows:
1.
Write the WORD_WRITE command to the NVMCMD register
2.
Write the low byte of the data into the low byte of a word location
3.
Write the high byte of the data into the high byte of the same word location. This will start the Flash write
operation
4.
Wait until the NVMBSY bit has been cleared
相关PDF资料
PDF描述
MS80C51T-20R 8-BIT, MROM, 20 MHz, MICROCONTROLLER, PQCC44
MF180C31-25D 8-BIT, 25 MHz, MICROCONTROLLER, PQFP44
MF180C51T-25R 8-BIT, MROM, 25 MHz, MICROCONTROLLER, PQFP44
MS80C51C-36R 8-BIT, MROM, 36 MHz, MICROCONTROLLER, PQCC44
MF280C51C-12R 8-BIT, MROM, 12 MHz, MICROCONTROLLER, PQFP44
相关代理商/技术参数
参数描述
MV8102 功能描述:标准LED-通孔 T-1 3/4 RED CLR 20DG RoHS:否 制造商:Vishay Semiconductors 照明颜色:Red 光强度:0.7 mcd 波长/色温:615 nm 显示角:45 deg 透镜颜色/类型:Clear, Non-Diffused 正向电流:70 mA 正向电压:1.83 V to 3.03 V LED 大小:2 mm 系列: 封装:Tube
MV8102 制造商:Fairchild Semiconductor Corporation 功能描述:LED ALGAAS SUPERBRIGHT RED
MV8102 制造商:Fairchild Semiconductor Corporation 功能描述:LED LAMP
MV8103 功能描述:标准LED-通孔 T-1 3/4 RED CLR 20DG RoHS:否 制造商:Vishay Semiconductors 照明颜色:Red 光强度:0.7 mcd 波长/色温:615 nm 显示角:45 deg 透镜颜色/类型:Clear, Non-Diffused 正向电流:70 mA 正向电压:1.83 V to 3.03 V LED 大小:2 mm 系列: 封装:Tube
MV8104 功能描述:标准LED-通孔 T-1 3/4 RED CLR 20DG RoHS:否 制造商:Vishay Semiconductors 照明颜色:Red 光强度:0.7 mcd 波长/色温:615 nm 显示角:45 deg 透镜颜色/类型:Clear, Non-Diffused 正向电流:70 mA 正向电压:1.83 V to 3.03 V LED 大小:2 mm 系列: 封装:Tube