| Electronic Components Datasheet Search |
|
AVR32AP Datasheet(PDF) 136 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AVR32AP Datasheet(HTML) 136 Page - ATMEL Corporation |
|
136 / 181 page ![]() 136 32001A–AVR32–06/06 AVR32 9.5.5 Registers Program trace is enabled using the TM field in the Development Control register. 9.6 Data Trace 9.6.1 Overview The AVR32 OCD system provides data trace via the AUX port. The CPU data memory accesses can be monitored real-time using the Nexus class 3 compliant Data Trace Unit. Both reads and writes can be traced. Information is traced between the CPU and data cache, which gives imme- diate access to modified data for cached memory accesses. This provides a direct correspondence between the CPU program and traced data, even if there may be a delay before the written cache data is actually flushed to the data memory. Data Trace information is transmitted through data trace messages, which can be of read or write type, with or without sync. The messages contain information about the data address and value which triggered the trace. Data addresses can be complete (with sync), or compressed relative to the previous transmitted message (without sync). The value contains the data value read or written from the data cache, and is of the same width as the access size (byte, halfword, word, or doubleword). The TM[1] bit in the Development Control register must be set to enable data trace. It is also possible to trigger data trace using watchpoints. In this case, TM[1] will be set or cleared automatically. 9.6.2 Using data trace channels as watchpoints Data Trace is enabled for address ranges (trace channels) specified by pairs of Data Trace Start and End Address registers (DTSA/DTEA). Each data access within that boundary will generate an action as specified by the corresponding bits in the Data Trace Control register (DTC). The AVR32 OCD system currently supports two data trace channels. While each channel can be used to trigger data trace messages, it is also possible to trigger watchpoint messages, providing flexibility when using the OCD system. Watchpoints can be ranged, i.e. trigger on all accesses between DTSA through DTEA, or trigger on a single location, if DTSA and DTEA are written to the same value. Writing TnWP to one enables a watchpoint on accesses for data trace channel n. The watch- point message is sent as a vendor defined trace watchpoint message. It is possible to enable both trace and watchpoint on the same channel, but typically, only one of the options will be used. 9.6.3 Messages The Trace Watchpoint Hit message is described in Section 9.4.5.2 on page 125. 0b0010 - 0b0011 Reserved 0b0100 Program Trace Disabled 0b0101 - 0b1111 Reserved Table 9-44. Event Code (EVCODE) description Event Code (EVCODE) Event Description |
|
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 |
| 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 |