Electronic Components Datasheet Search
  English  ▼

X  

AVR32AP Datasheet(PDF) 146 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) 146 Page - ATMEL Corporation

Back Button AVR32AP Datasheet HTML 142Page - ATMEL Corporation AVR32AP Datasheet HTML 143Page - ATMEL Corporation AVR32AP Datasheet HTML 144Page - ATMEL Corporation AVR32AP Datasheet HTML 145Page - ATMEL Corporation AVR32AP Datasheet HTML 146Page - ATMEL Corporation AVR32AP Datasheet HTML 147Page - ATMEL Corporation AVR32AP Datasheet HTML 148Page - ATMEL Corporation AVR32AP Datasheet HTML 149Page - ATMEL Corporation AVR32AP Datasheet HTML 150Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 146 / 181 page
background image
146
32001A–AVR32–06/06
AVR32
hardware error to be triggered if the CPU attempts to access the protected area. This allows the
emulator to abort the program execution and notify the user about the illegal access.
NanoTrace access protection will only function correctly when physical and virtual addresses
are the same for the memory region reserved for NanoTrace. If this is not the case, NTAP
should stay zero to avoid incorrect access error breakpoints.
Note that NanoTrace access protection will never trigger in Monitor Mode.
9.8.6.4
Overrun control
The DC:OVC bits works for NanoTrace as well as for AUX port messages. However, the overrun
prevention will not be as efficient for NanoTrace. If the Transmit Queue becomes full, the CPU
will not issue any more instructions, but already issued instructions will be allowed to complete. If
these instructions generate trace information, the Transmit Queue may overrun even when the
CPU is stalled.
9.8.6.5
NanoTrace Buffer Control
By default, the NanoTrace buffer will be repeatedly overwritten until NanoTrace is stopped. How-
ever, by writing the RWCS:NTBC bits, it is possible to control the behavior when the buffer
becomes full. In this case, RWD will not contain trace information, and does not need to be read
out. RWA will point to the first address in the buffer, so RWA does not need to be rewritten if
NanoTrace is restarted.
In some cases, only the first trace messages after NanoTrace is enabled are interesting. In this
case, NanoTrace can be disabled when the buffer is full. The debugger will detect that this has
occurred by observing when RWCS:NTE is negated. RWCS:AC and DV will also be cleared, to
indicate that the memory operation is complete, and no valid trace information exists in RWD. To
restart NanoTrace, RWCS:NTE and AC must be written to one.
Alternatively, Debug Mode can be triggered when the buffer is full. This will set the NanoTrace
Buffer Full bit in the Development Status register (DS:NTBF). RWCS:NTE will stay set, but AC
and DV will be cleared. The debugger can then read out the NanoTrace buffer in Debug Mode,
before restarting execution. To restart NanoTrace when exiting Debug Mode, RWCS:NTE and
RWCS:AC must be written to one.
9.8.6.6
CRC-32 check of a memory block
The memory interface unit can generate a CRC-32 checksum on a memory block.
The standard CRC-32 (802.3) polynomial is used:
x
32
+ x
26
+ x
23
+ x
22
+ x
16
+ x
12
+ x
11
+ x
10
+ x
8
+ x
7
+ x
5
+ x
4
+ x
2
+ x + 1
To enable this feature the debugger must set the AC=1, CRC=1, SIZE=2 (word) and
CNT=<number of words in block> bit in RWCS and the start of the block in RWA. The MIU will
then read the memory block and put a CRC-32 of the memory block in RWD when AC is cleared
and DV is set. The debugger can continue the CRC generation on a new block by rewriting the
RWCS with AC, CRC, SIZE and CNT when a CRC block is finished and the CRC bit is still set.
The CRC in RWD after the second block will be CRC32(block1 + block2).
9.8.7
Messages
The Memory Interface generates no messages, all features are accessed with regular read /
write messages on the JTAG interface.



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