ATTINY20-EK1 Atmel, ATTINY20-EK1 Datasheet - Page 169

no-image

ATTINY20-EK1

Manufacturer Part Number
ATTINY20-EK1
Description
KIT EVAL TOUCH ATTINY20
Manufacturer
Atmel
Datasheet

Specifications of ATTINY20-EK1

Sensor Type
*
Sensing Range
*
Interface
*
Sensitivity
*
Voltage - Supply
*
Embedded
*
Utilized Ic / Part
*
Silicon Manufacturer
Atmel
Core Architecture
AVR
Core Sub-architecture
TinyAVR
Kit Contents
Board
Svhc
No SVHC (15-Dec-2010)
Mcu Supported Families
ATtiny20
Tool / Board Applications
Microcontroller
Rohs Compliant
Yes
Tool Type
Development Kit
Cpu Core
AVR 8
Data Bus Width
8 bit
Processor To Be Evaluated
ATtiny20
Interface Type
Touch
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
19.4.3.2
19.4.3.3
19.4.3.4
19.4.3.5
19.4.4
8235B–AVR–04/11
Reading NVM Lock Bits
Erasing the Code Section
Writing a Double Code Word
Erasing the Configuration Section
Writing a Configuration Word
The algorithm for erasing all pages of the Flash code section is as follows:
The algorithm for writing two words to the code section is as follows:
The algorithm for erasing the Configuration section is as follows:
The algorithm for writing a Configuration word is as follows.
The Non-Volatile Memory Lock Byte can be read from the mapped location in data memory.
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
3. Wait until the NVMBSY bit has been cleared
1. Write the DWORD_WRITE command to the NVMCMD register
2. Write the low byte of the low data word to the low byte of a target word location
3. Write the high byte of the low data word to the high byte of the same target word
4. Send IDLE character as described in section
5. Write the low byte of the high data word to the low byte of the next target word location
6. Write the high byte of the high data word to the high byte of the same target word loca-
7. Wait until the NVMBSY bit has been cleared
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
3. Wait until the NVMBSY bit has been cleared
1. Write the DWORD_WRITE command to the NVMCMD register
2. Write the low byte of the data word to the low byte of the configuration word location
3. Write the high byte of the data word to the high byte of the same configuration word
4. Send IDLE character as described in section
5. Write a dummy byte to the low byte of the next configuration word location
6. Write a dummy byte to the high byte of the same configuration word location. This will
7. Wait until the NVMBSY bit has been cleared
inside the code section
location
tion. This will start the Flash write operation
inside the configuration section
location
start the Flash write operation
“Supported Characters” on page 154
“Supported Characters” on page 154
ATtiny20
169

Related parts for ATTINY20-EK1