参数资料
型号: ATTINY13V-10SSUR
厂商: Atmel
文件页数: 72/176页
文件大小: 0K
描述: MCU AVR 1KB FLASH 10MHZ 8SOIC
产品培训模块: tinyAVR Introduction
标准包装: 4,000
系列: AVR® ATtiny
核心处理器: AVR
芯体尺寸: 8-位
速度: 10MHz
外围设备: 欠压检测/复位,POR,PWM,WDT
输入/输出数: 6
程序存储器容量: 1KB(512 x 16)
程序存储器类型: 闪存
EEPROM 大小: 64 x 8
RAM 容量: 64 x 8
电压 - 电源 (Vcc/Vdd): 1.8 V ~ 5.5 V
数据转换器: A/D 4x10b
振荡器型: 内部
工作温度: -40°C ~ 85°C
封装/外壳: 8-SOIC(0.154",3.90mm 宽)
包装: 带卷 (TR)
其它名称: ATTINY13V-10SSUR-ND
ATTINY13V-10SSURTR
2010-2011 Microchip Technology Inc.
Preliminary
DS41430C-page 163
PIC16(L)F720/721
18.5
Writing to Flash Program Memory
A word of the Flash program memory may only be
written to if the word is in an unprotected segment of
memory.
Flash program memory may only be written to if the
destination address is in a segment of memory that is
not write-protected, as defined in bits WRT<1:0> of the
Configuration Word Register 2. Flash program memory
must be written in 32-word rows. See Figure 18-2 for
more details. A row consists of 32 words with sequen-
tial addresses, with a lower boundary defined by an
address, where PMADR<4:0>= 00000. All row writes to
program memory are done as 32-word erase and one
to 32-word write operations. The write operation is
edge-aligned. Crossing boundaries is not recom-
mended, as the operation will only affect the new
boundary, wrapping the data values at the same time.
Once the write control bit is set, the Program Memory
(PM) controller will immediately write the data. Program
execution is stalled while the write is in progress.
To erase a program memory row, the address of the
row
to
erase
must
be
loaded
into
the
PMADRH:PMADRL register pair. A row consists of 32
words so, when selecting a row, PMADR<4:0> are
ignored. After the Address has been set up, then the
following sequence of events must be executed:
1.
Set the WREN and FREE control bits of the
PMCON1 register.
2.
Write 55h, then AAh, to PMCON2 (Flash
programming sequence).
3.
Set the WR control bit of the PMCON1 register.
To write program data, it must first be loaded into the
buffer latches (see Figure 18-2). This is accomplished
by first writing the destination address to PMADRL and
PMADRH and then writing the data to PMDATA and
PMDATH. After the address and data have been set
up, then the following sequence of events must be exe-
cuted:
1.
Set the WREN control bit of the PMCON1
register.
2.
Write 55h, then AAh, to PMCON2 (Flash
programming sequence).
3.
Set the WR control bit of the PMCON1 register.
All 32 buffer register locations should be written to with
correct data. If less than 32 words are being written to
in the block of 32 words, then a read from the program
memory location(s) not being written to must be
performed. This takes the data from the program
location(s) not being written and loads it into the
PMDATL and PMDATH registers. Then, the sequence
of events to transfer data to the buffer registers must be
executed.
When the LWLO bit is ‘1’, the write sequence will only
load the buffer register and will not actually initiate the
write to program Flash:
1.
Set the WREN and LWLO bits of the PMCON1
register.
2.
Write 55h, then AAh, to PMCON2 (Flash
programming unlock sequence).
3.
Set control bit WR of the PMCON1 register to
begin the write operation.
To transfer data from the buffer registers to the program
memory, the last word to be written should be written to
the PMDATH:PMDATL register pair. Then, the
following sequence of events must be executed:
1.
Clear the LWLO bit of the PMCON1 Register.
2.
Write 55h, then AAh, to PMCON2 (Flash
programming sequence).
3.
Set control bit WR of the PMCON1 register to
begin the write operation.
4.
Two NOP must follow the setting of the WR bit.
This is necessary to provide time for the address and to
be provided to the program Flash memory to be put in
the write latches.
No automatic erase occurs upon the initiation of the
write; if the program Flash needs to be erased before
writing, the row (32 words) must be previously erased.
After the “BSF PMCON1, WR” instruction, the processor
requires two cycles to set up the erase/write operation.
The user must place two NOP instructions after the WR
bit is set. These two instructions will also be forced in
hardware to NOP, but if an ICD break occurs at this
point, the forcing to NOP will be lost.
Note:
Self-write execution to Flash memory can-
not be done while running in low power
PFM and Voltage Regulator modes.
Therefore, executing a self-write will put
the PFM and voltage regulator into High
Power mode for the duration of the
sequence.
Note:
An ICD break that occurs during the 55h -
AAh - Set WR bit sequence will interrupt
the timing of the sequence and prevent
the unlock sequence from occurring. In
this case, no write will be initiated, as
there was no operation to complete.
相关PDF资料
PDF描述
1-583853-1 CONN CONTACT TWIN LEAF 20-24AWG
583259-3 CONN CONTACT FORK 24-20AWG
583362-4 CONN FORK CONTACT 20-18AWG .110
583875-5 CONN CONTACT 20-16AWG 30AU CRIMP
1-583853-0 CONTACT CRIMP 24-20AWG .100-.156
相关代理商/技术参数
参数描述
ATTINY13V-10SSU-SL383-EW 制造商:Atmel Corporation 功能描述:
ATtiny13V-10SU 功能描述:8位微控制器 -MCU 1kB Flash 0.064kB EEPROM 6 I/O Pins 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
ATTINY13V-10SU SL383 制造商:Atmel Corporation 功能描述:MCU 8-bit ATtiny AVR RISC 1KB Flash 2.5V/3.3V/5V 8-Pin SOIC EIAJ T/R
ATTINY13V-10SUR 功能描述:8位微控制器 -MCU AVR 1KB FLSH 64B EE 64B SRAM-10MHz 1.8V 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
ATTINY13V-W-11 功能描述:8位微控制器 -MCU Microcontroller 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