ATEVK1105 Atmel, ATEVK1105 Datasheet - Page 120

KIT EVAL FOR AT32UC3A0

ATEVK1105

Manufacturer Part Number
ATEVK1105
Description
KIT EVAL FOR AT32UC3A0
Manufacturer
Atmel
Series
AVR®32r
Type
MCUr
Datasheets

Specifications of ATEVK1105

Contents
Evaluation Board, Software and Documentation
Processor To Be Evaluated
AT32UC3A0512
Processor Series
AVR
Data Bus Width
32 bit
Interface Type
USART, TWI, USB, SPI, Ethernet
Operating Supply Voltage
3.3 V
Silicon Manufacturer
Atmel
Core Architecture
AVR
Core Sub-architecture
AVR UC3
Silicon Core Number
AT32UC3A0512
Silicon Family Name
AVR
Kit Contents
Board CD Docs
Rohs Compliant
Yes
For Use With/related Products
AT32UC3A0
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
18.5.2
18.5.3
18.6
32058J–AVR32–04/11
General-purpose fuse bits
Erase All operation
Region lock bits
The entire memory is erased if the Erase All command (EA) is written to the Flash Command
Register (FCMD). Erase All erases all bits in the flash array. The User page is not erased. All
flash memory locations, the general-purpose fuse bits, and the security bit are erased (reset to
0xFF) after an Erase All.
The EA command also ensures that all volatile memories, such as register file and RAMs, are
erased before the security bit is erased.
Erase All operation is allowed only if no regions are locked, and the BOOTPROT fuses are
programmed with a region size of 0. Thus, if at least one region is locked, the bit LOCKE in
FSR is set and the command is cancelled. If the bit LOCKE has been written to 1 in FCR, the
interrupt line rises.
When the command is complete, the bit FRDY bit in the Flash Status Register (FSR) is set. If
an interrupt has been enabled by setting the bit FRDY in FCR, the interrupt line of the flash
controller is set. Two errors can be detected in the FSR register after issuing the command:
The flash block has p pages, and these pages are grouped into 16 lock regions, each region
containing p/16 pages. Each region has a dedicated lock bit preventing writing and erasing
pages in the region. After production, the device may have some regions locked. These locked
regions are reserved for a boot or default application. Locked regions can be unlocked to be
erased and then programmed with another application or other data.
To lock or unlock a region, the commands Lock Region Containing Page (LP) and Unlock
Region Containing Page (UP) are provided. Writing one of these commands, together with the
number of the page whose region should be locked/unlocked, performs the desired operation.
One error can be detected in the FSR register after issuing the command:
The lock bits are implemented using the lowest 16 general-purpose fuse bits. This means that
lock bits can also be set/cleared using the commands for writing/erasing general-purpose fuse
bits, see chapter 18.6. The general-purpose bit being in an erased (1) state means that the
region is unlocked.
The lowermost pages in the Flash can additionally be protected by the BOOTPROT fuses, see
Section
Each flash block has a number of general-purpose fuse bits that the application programmer
can use freely. The fuse bits can be written and erased using dedicated commands, and read
• Lock Error: The page to be programmed belongs to a locked region. A command must be
• Programming Error: A bad keyword and/or an invalid command have been written in the
• Lock Error: At least one lock region to be erased is protected, or BOOTPROT is different
• Programming Error: A bad keyword and/or an invalid command have been written in the
executed to unlock the corresponding region before programming can start.
FCMD register.
from 0. The erase command has been refused and no page has been erased. A Clear Lock
Bit command must be executed previously to unlock the corresponding lock regions.
FCMD register.
18.6.
AT32UC3A
120

Related parts for ATEVK1105