ATTINY20-MMHR Atmel, ATTINY20-MMHR Datasheet - Page 170
ATTINY20-MMHR
Manufacturer Part Number
ATTINY20-MMHR
Description
MCU AVR 2KB FLASH 12MHZ 20QFN
Manufacturer
Atmel
Series
AVR® ATtinyr
Datasheet
1.ATTINY20-EK1.pdf
(224 pages)
Specifications of ATTINY20-MMHR
Core Processor
AVR
Core Size
8-Bit
Speed
12MHz
Connectivity
I²C, SPI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
12
Program Memory Size
2KB (1K x 16)
Program Memory Type
FLASH
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
*
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATTINY20-MMHR
Manufacturer:
ATMEL
Quantity:
20 000
- Current page: 170 of 224
- Download datasheet (6Mb)
19.4.5
19.5
19.6
19.6.1
19.6.2
19.7
19.7.1
170
Self programming
External Programming
Register Description
ATtiny20
Writing NVM Lock Bits
Entering External Programming Mode
Exiting External Programming Mode
NVMCMD – Non-Volatile Memory Command Register
The algorithm for writing the Lock bits is as follows.
The ATtiny20 doesn't support internal 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
external programmer can access the NVM control and status registers mapped to I/O space and
the NVM memory mapped to data memory space.
The TPI must be enabled before external programming mode can be entered. The following pro-
cedure describes, how to enter the external programming mode after the TPI has been enabled:
Refer to the Tiny Programming Interface description on
of enabling the TPI and programming the NVM.
Clear the NVM enable bit to disable NVM programming, then release the RESET pin.
See NVMEN bit in
• Bits 7:6 – Res: Reserved Bits
These bits are reserved and will always read as zero.
Bit
0x33
Read/Write
Initial Value
1. Write the DWORD_WRITE command to the NVMCMD register.
2. Write the lock bits value to the Non-Volatile Memory Lock Byte location. This is the low
3. Start the NVM Lock Bit write operation by writing a dummy byte to the high byte of the
4. Wait until the NVMBSY bit has been cleared.
1. Make a request for enabling NVM programming by sending the NVM memory access
2. Poll the status of the NVMEN bit in TPISR until it has been set.
byte of the Non-Volatile Memory Lock Word.
NVM Lock Word location.
key with the SKEY instruction.
R
7
–
0
“TPISR – Tiny Programming Interface Status Register” on page
R
6
–
0
R/W
5
0
“Programming Interface” on page
R/W
4
0
R/W
NVMCMD[5:0]
3
0
R/W
page 152
2
0
R/W
1
0
for more detailed information
152. Using the TPI, the
R/W
0
0
NVMCMD
8235B–AVR–04/11
162.
Related parts for ATTINY20-MMHR
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
Part Number:
Description:
KIT EVAL TOUCH ATTINY20
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
MCU AVR 2KB FLASH 12MHZ 14SOIC
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
MCU AVR 2KB FLASH 12MHZ 14TSSOP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
MCU AVR 2KB FLASH 12MHZ 14TSSOP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
MCU AVR 2KB FLASH 12MHZ 20QFN
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
MCU AVR 2KB FLASH 12MHZ 15UFBGA
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
MCU AVR 2KB FLASH 12MHZ 15UFBGA
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC MCU AVR 2K FLASH 14SOIC
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
DEV KIT FOR AVR/AVR32
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
INTERVAL AND WIPE/WASH WIPER CONTROL IC WITH DELAY
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Low-Voltage Voice-Switched IC for Hands-Free Operation
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
MONOLITHIC INTEGRATED FEATUREPHONE CIRCUIT
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
AM-FM Receiver IC U4255BM-M
Manufacturer:
ATMEL Corporation
Datasheet: