Data Logging
7-26
Table 7−5. End-Address Registers
Address Name Access Description
00 0848
16
MASKL R/W
Set to 0
00 0849
16
MASKH R/W
Set to 0
00 084A
16
REFL R/W
Data logging end reference address (lower 16 bits)
15:0 Lower 16 bits of start address
00 084B
16
REFH R/W
Data logging end reference address (upper 6 bits)
15:6 Set to 0
5:0 Upper 6 bits of start address
00 084E
16
EVT_CNTRL R/W
Data logging end address control register
15:14 Set to 0
13 Set to 1
12 Set to 1
11:5 Set to 0
4:2 Set to 1
1:0 End-address resource control/status:
0: Release end-address resource.
1: Claim end-address resource.
2: Enable end-address resource.
3: Data logging operation has ended. Bits 14:10 are
corrupted when this occurs.
00 084F
16
EVT_ID R
Data logging end address ID register
15:14 Resource control:
0: Resource is free
1: Application owns resource
2: Debugger owns resource
13:12 Set to 1
11:0 Set to 2
7.8.2 Accessing the Emulation Registers Properly
Make sure your application code follows the following protocol when access-
ing the emulation registers that have been provided for data logging. Each re-
source has a control register and an ID register.
1) Enable writes to memory-mapped registers by using the EALLOW in-
struction.
2) Write to the appropriate control register to claim the resource you want to
use. The resource for data logging transfers uses DMA_CNTRL (see
Table 7−4 on page 7-25). The resource for detecting the data logging end
address uses EVT_CNTRL (see Table 7−5).