поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

AVR32AP датащи(PDF) 71 Page - ATMEL Corporation

номер детали AVR32AP
подробное описание детали  32-bit AVR Microcontroller
PDF  181 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  ATMEL [ATMEL Corporation]
домашняя страница  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

AVR32AP датащи(HTML) 71 Page - ATMEL Corporation

Back Button AVR32AP Datasheet HTML 67Page - ATMEL Corporation AVR32AP Datasheet HTML 68Page - ATMEL Corporation AVR32AP Datasheet HTML 69Page - ATMEL Corporation AVR32AP Datasheet HTML 70Page - ATMEL Corporation AVR32AP Datasheet HTML 71Page - ATMEL Corporation AVR32AP Datasheet HTML 72Page - ATMEL Corporation AVR32AP Datasheet HTML 73Page - ATMEL Corporation AVR32AP Datasheet HTML 74Page - ATMEL Corporation AVR32AP Datasheet HTML 75Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 71 / 181 page
background image
71
32001A–AVR32–06/06
AVR32
6.2.4
The Unlock operation
The unlock operation will try to unlock the line containing the address given by the parameter.
The address is treated as a virtual address, and is translated to a physical address by the MMU.
If the line exists in the cache and is locked, it is unlocked. Otherwise nothing is done. If any MMU
exceptions happen, the operation is silently aborted.
6.2.5
The Prefetch operation
The prefetch operation will try to load the line containing the address given by the parameter into
the cache. The address is treated as a virtual address, and is translated to a physical address by
the MMU. If the line exists in the cache, nothing is done. If the line does not exist in the cache, it
will be fetched from the bus - even if the area is uncacheable. If any exceptions happen - MMU
or bus exceptions - the operation is silently aborted.
6.3
Memory coherency
Whenever code is modified in some way, e.g. through self-modifying code, there is a chance
that the instruction cache may hold cached copies of the old instructions. To ensure correct exe-
cution of the new code, the user must manually force the caches to update. The procedures for
doing so are described below.
6.3.1
DMA of program code
If some peripheral updates program code through DMA to memory, the instruction cache may
hold cached copies of the old code. The old code must be manually flushed from the instruction
cache by following these steps:
1.
Flush the entire instruction cache, as described in chapter 6.2.1, or
2.
Flush only the affected memory areas through one or more Invalidate operations, as
described in chapter 6.2.2.
3.
Jump to the new code using an unpredicted branch
Example:
mov R0, 0
cache ICACHE_FLUSH, R0[ICACHE_INVALIDATE_ALL]
mov PC, new_code_label
6.3.2
Self-modifying code
If the CPU updates the code through writing to memory, the updated code may be buffered in
the data cache or the write buffer, and the instruction cache may hold cached copies of the old
code. The caches must be manually updated by following these steps:
1.
Clean the entire data cache, as described in TODO, or
2.
Clean only the affected memory areas through one or more Clean operations, as
described in TODO.
3.
Empty the write buffer, as described in TODO
4.
Flush the entire instruction cache, as described in chapter 6.2.1, or
5.
Flush only the affected memory areas through one or more Invalidate operations, as
described in chapter 6.2.2.
6.
Jump to the new code using an unpredicted branch



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


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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