Electronic Components Datasheet Search
  English  ▼

X  

AVR32AP Datasheet(PDF) 61 Page - ATMEL Corporation

Part # AVR32AP
Description  32-bit AVR Microcontroller
PDF  181 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

AVR32AP Datasheet(HTML) 61 Page - ATMEL Corporation

Back Button AVR32AP Datasheet HTML 57Page - ATMEL Corporation AVR32AP Datasheet HTML 58Page - ATMEL Corporation AVR32AP Datasheet HTML 59Page - ATMEL Corporation AVR32AP Datasheet HTML 60Page - ATMEL Corporation AVR32AP Datasheet HTML 61Page - ATMEL Corporation AVR32AP Datasheet HTML 62Page - ATMEL Corporation AVR32AP Datasheet HTML 63Page - ATMEL Corporation AVR32AP Datasheet HTML 64Page - ATMEL Corporation AVR32AP Datasheet HTML 65Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 61 / 181 page
background image
61
32001A–AVR32–06/06
AVR32
3.
If any other event arises that requires software intervention, an appropriate exception is
issued.
4.
If the correct entry was found in the TLB, and the access permissions were not violated,
the memory access is performed without any further software intervention.
The following tasks must be performed by software:
1.
Setup of the MMU hardware by initializing the MMU-related registers and data struc-
tures if needed.
2.
Maintenance of the TLB structure. TLB entries are written, invalidated and replaced by
means of software. A tlbw instruction is included in the instruction set to support this.
3.
The MMU may generate several exceptions. Software exception handlers must be writ-
ten in order to service these exceptions.
4.3.1
The tlbw instruction
The tlbw instruction is implemented in order to aid in performing TLB maintenance. The instruc-
tion copies the contents of TLBEHI and TLBELO into the TLB entry pointed to by the DTLB
Replacement Pointer (DRP) in the MMU Control Register. DRP is automatically incremented by
hardware in order to implement a TLB replacement algorithm in hardware. Software may update
DRP before executing tlbw in order to implement a software replacement algorithm.
4.3.2
TLB synonyms
The caches in the AVR32 AP system are virtually indexed but physically tagged. This allows a
cache access to start before the MMU translation has completed, but puts some restrictions on
which address translations can be performed.
If using pages smaller than 1/4th of the cache size, it is possible that the virtual address and the
physical address could map to different places in the cache. To avoid unpredictable behaviour,
the OS must ensure that no translations change address bits that are lower than 1/4th cache
size.
This means that all page translation must fulfill the following restriction:
Address
Physical
modulo (Cache Size / 4) = Address
Virtual
modulo (Cache Size / 4)
For cache sizes up to 16 kB, this is only relevant for 1kB MMU pages. For 32kB caches, this is
also relevant for 4kB pages.
Example 1: On a system with 8kB caches, virtual and physical address must be the same mod-
ulo 2 kB. If using 1kB pages, the OS must ensure that bit 10 of the address is not changed by
the translation.
Example 2: On a system with 16kB caches, virtual and physical address must be the same mod-
ulo 4 kB. If using 1kB pages, the OS must ensure that bit 10 and 11 of the address are not
changed by the translation.
4.3.3
MMU exception handling
This chapter describes the software actions that must be performed for MMU-related excep-
tions. The hardware actions performed by the exceptions are described in detail in Section
3.11.1 ”Description of events in AVR32 AP” on page 35.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com