179
8197C–AVR–05/11
ATtiny261A/461A/861A
1.
Load Command “Write Flash”:
a.
Set XA1, XA0 to “10”. This enables command loading.
b.
Set BS1 to “0”.
c.
Set DATA to “0001 0000”. This is the command for Write Flash.
d.
Give XTAL1 a positive pulse. This loads the command.
2.
Load Address Low byte:
a.
Set XA1, XA0 to “00”. This enables address loading.
b.
Keep BS1 at “0”. This selects low address.
c.
Set DATA = Address low byte (0x00 - 0xFF).
d.
Give XTAL1 a positive pulse. This loads the address low byte.
3.
Load Data Low Byte:
a.
Set XA1, XA0 to “01”. This enables data loading.
b.
Set DATA = Data low byte (0x00 - 0xFF).
c.
Give XTAL1 a positive pulse. This loads the data byte.
4.
Load Data High Byte:
a.
Set BS1 to “1”. This selects high data byte.
b.
Keep XA1, XA0 at “01”. This enables data loading.
c.
Set DATA = Data high byte (0x00 - 0xFF).
d.
Give XTAL1 a positive pulse. This loads the data byte.
5.
Repeat steps 2 to 4 until the entire buffer is filled or until all data within the page is
loaded.
6.
Load Address High byte:
a.
Set XA1, XA0 to “00”. This enables address loading.
b.
Set BS1 to “1”. This selects high address.
c.
Set DATA = Address high byte (0x00 - 0xFF).
d.
Give XTAL1 a positive pulse. This loads the address high byte.
7.
Program Page:
a.
Give WR a negative pulse. This starts programming of the entire page of data.
RDY/BSY goes low.
b.
Wait until RDY/BSY goes high.
8.
Repeat steps 2 to 7 until the entire Flash is programmed or until all data has been
programmed.
9.
End Page Programming:
a.
Set XA1, XA0 to “10”. This enables command loading.
b.
Set DATA to “0000 0000”. This is the command for No Operation.
c.
Give XTAL1 a positive pulse. This loads the command, and the internal write sig-
nals are reset.
While the lower bits in the address are mapped to words within the page, the higher bits address
the pages within the FLASH. This is illustrated in Figure 18-4. Note that if less than eight bits are
required to address words in the page (pagesize < 256), the most significant bit(s) in the address
low byte are used to address the page when performing a Page Write.
相关PDF资料
PIC16C54C-40/SS IC MCU OTP 512X12 20SSOP
22-15-3033 CONN FFC/FPC 3POS .100 RT ANG
PIC18LC858T-I/PT IC MCU OTP 16KX16 CAN 80TQFP
22-02-3033 CONN FFC/FPC VERTICAL 3POS .100
PIC18C858T-E/PT IC MCU OTP 16KX16 CAN 80TQFP
PIC18C858T-I/PT IC MCU OTP 16KX16 CAN 80TQFP
PIC18C658T-I/PT IC MCU OTP 16KX16 CAN 64TQFP
PIC16LC717T-E/SS IC MCU OTP 2KX14 A/D PWM 20SSOP
相关代理商/技术参数
PIC18C452T-E/PT 功能描述:8位微控制器 -MCU 32KB 1536 RAM 34I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18C452T-I/L 功能描述:8位微控制器 -MCU 32KB 1536 RAM 34I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18C452T-I/PT 功能描述:8位微控制器 -MCU 32KB 1536 RAM 34I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18C601-I/L 功能描述:8位微控制器 -MCU 256KB 1536 RAM 26I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18C601-I/L021 制造商:Microchip Technology Inc 功能描述:
PIC18C601-I/PT 功能描述:8位微控制器 -MCU 256KB 1536 RAM 26I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18C601T-I/L 功能描述:8位微控制器 -MCU 256KB 1536 RAM 26I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18C601T-I/PT 功能描述:8位微控制器 -MCU 256KB 1536 RAM 26I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT