ATTINY20-EK1 Atmel, ATTINY20-EK1 Datasheet - Page 167

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
19.4.1
8235B–AVR–04/11
Accessing the NVM
Addressing the Flash
NVM lock bits, and all Flash memory sections are mapped to the data space as shown in
5-1 on page
in the data space.
The NVM Controller recognises a set of commands that can be used to instruct the controller
what type of programming task to perform on the NVM. Commands to the NVM Controller are
issued via the NVM Command Register. See
Register” on page
writing data to the NVM locations mapped to the data space.
When the NVM Controller is busy performing an operation it will signal this via the NVM Busy
Flag in the NVM Control and Status Register. See
Status Register” on page
as the busy flag is active. This is to ensure that the current command is fully executed before a
new command can start.
Programming any part of the NVM will automatically inhibit the following operations:
The ATtiny20 supports only external programming. Internal programming operations to the NVM
have been disabled, which means any internal attempt to write or erase NVM locations will fail.
The data space uses byte accessing but since the Flash sections are accessed as words and
organized in pages, the byte-address of the data space must be converted to the word-address
of the Flash section. This is illustrated in
Figure 19-1. Addressing the Flash Memory
• All programming to any other part of the NVM
• All reading from any NVM location
ADDRESS POINTER
SECTIONEND
16
16. The NVM can be accessed for read and programming via the locations mapped
00
01
02
...
...
...
SECTION
FLASH
170. After the selected command has been loaded, the operation is started by
PAGE
171. The NVM Command Register is blocked for write access as long
PADDRMSB
WITHIN A FLASH
PAGE ADDRESS
Figure
SECTION
PADDR
PAGEEND
19-1. Also, see
“NVMCMD – Non-Volatile Memory Command
“NVMCSR - Non-Volatile Memory Control and
00
01
...
...
...
WADDRMSB+1
FLASH
WORD
PAGE
Table 19-3 on page
WADDRMSB
WADDR
WORD ADDRESS
WITHIN A FLASH
PAGE
1
ATtiny20
0/1
LOW/HIGH
BYTE SELECT
165.
Figure
167

Related parts for ATTINY20-EK1