| Electronic Components Datasheet Search |
|
AT697F Datasheet(PDF) 69 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AT697F Datasheet(HTML) 69 Page - ATMEL Corporation |
|
69 / 176 page ![]() 69 AT697F 7703E–AERO–08/11 The time tag counter is stored in the trace as an execution time reference. Trace Buffer The trace buffer consists in a circular buffer that stores the executed instructions and/or the internal bus data transfers. The size of the trace buffer is 512 lines of 16 bytes. The trace buffer operation is controlled through the DSU control register (DSUC) and the trace buffer control register (TBCTL). When the processor enters debug mode, tracing is suspended. The trace buffer can contain the executed instructions, the transfers on the internal bus or both (mixed-mode). The trace buffer control register (TBCTL) contains an instruction trace index counter (TBCTL.icnt) and an internal bus trace index counter (TBCTL.bcnt) that store the address of the trace buffer location that will be written on next trace. Since the buffer is circular, they actually point to the oldest entry in the buffer. The index counters are automatically incremented after each stored trace entry. The trace buffer operation is controlled as follows: • Tracing can be globally enabled/disabled (DSUC.te) • Instruction tracing can be enabled/disabled (TBCTL.ti) • Internal bus tracing can be enabled/disabled (TBCTL.ta) • Internal bus trace freeze on entry into debug mode can be enabled/disabled (TBCTL.af) Instruction trace When instruction tracing is enabled (TBCTL.ti = 1), one instruction is stored per line in the trace buffer with the exception of multi-cycle instructions. Multi-cycle instructions can be entered two or three times in the trace buffer: • For store instructions, bits [95:64] correspond to the store address on the first entry and to the stored data on the second entry (and third in case of STD). Bit 126 is set logical one on the second and third entry to indicate this. • A double load (LDD) is entered twice in the trace buffer, with bits [95:64] containing the loaded data. • Multiply and divide instructions are entered twice, but only the last entry contains the result. Bit 126 is set for the second entry. • For FPU operation producing a double-precision result, the first entry contains the most-significant 32 bits of the results in bits [63:32] while the second entry contains the least-significant 32 bits in bits [63:32]. |
|
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 |