Electronic Components Datasheet Search
  English  ▼

X  

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

Back Button AVR32AP Datasheet HTML 119Page - ATMEL Corporation AVR32AP Datasheet HTML 120Page - ATMEL Corporation AVR32AP Datasheet HTML 121Page - ATMEL Corporation AVR32AP Datasheet HTML 122Page - ATMEL Corporation AVR32AP Datasheet HTML 123Page - ATMEL Corporation AVR32AP Datasheet HTML 124Page - ATMEL Corporation AVR32AP Datasheet HTML 125Page - ATMEL Corporation AVR32AP Datasheet HTML 126Page - ATMEL Corporation AVR32AP Datasheet HTML 127Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 123 / 181 page
background image
123
32001A–AVR32–06/06
AVR32
One data breakpoint module can only compare 32 bits of data. The data to be matched can
therefore not cross a word boundary if the data breakpoint is to match correctly. When the
debugger wants to match on a byte or halfword, the BWD register must be written with the LSB
aligned, and the BWC:BME bits must be set to mask the upper bits of the BWD register.
For example, if the debugger wants to match against Byte 1 in Figure 9-9, the BWA must be set
to the byte address of Byte 1 and the BWD written with the value to match on aligned to LSB.
Also the BWC:BME must be set to mask the 24 most significant bits of the BWD register (BME =
0xE).
By default, the data breakpoint module will match on the data value regardless of the size of the
access. The data BWC can also be set to match on a specific access size if the SIZE bits are
set. The debugger can for example, set the breakpoint module to match only on byte writes to
byte 1 in Figure 9-9. The BWD register must still be aligned correctly, and the byte mask must be
set, but the data breakpoint will only trigger if a single byte is written to byte 1 and not if, for
example, a whole word is written to byte 0, 1, 2, and 3.
The OCD system can also break on a 64-bit value if both data breakpoint modules are combined
as shown in Figure 9-10. Setting the Double Word Enable (DWE) bit in EPC3 will cause break-
point module A to trigger only if both breakpoint module A and B matches. The debugger can
then set the BWA3A and BWD3A to the least significant word in the double word and the
BWA3B and BWD3B to the most significant word of the double word. BWC3A:BWE control the
breakpoint operation of the combined breakpoint, while BWC3B:BWE is disregarded.
F o r ex am ple, to se t a bre a k poin t w hen the a d d r ess 0 x 80 0C is w r itten to
0x0123456789ABCDEF, the registers must be configured as follows:
• EPC3 = (DWE)
• BWC3A = (BWE | BRW | BWO*3 | SIZE*7 )
• BWC3B = (BWE | BRW | BWO*3 | SIZE*7 )
• BWA3A = 0x8010
• BWA3B = 0x800C
• BWD3A = 0x89ABCDEF
• BWD3B = 0x01234567
Figure 9-9.
Memory access data alignment.
Word
Byte 0
Byte 3
Byte 2
Byte 1
Halfw ord 0
Halfw ord 1
0x8008
0x8004
0x8000
0
1
2
3
Double w ord byte 4 to 7
Double w ord byte 0 to 3
0x800C
0x8010



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