Техническая Спецификация для Atmel Evaluation Kit for AT32uC3A0512, 32-Bit AVR Microcontroller Atmel ATEVK1105 ATEVK1105

Модели
ATEVK1105
Скачать
Страница из 826
752
AT32UC3A
For any operation, the full 7 bits of the address must be provided. For write operations, 32 data
bits must be provided, or the result will be undefined. For read operations, shifting may be termi-
nated once the required number of bits have been acquired.
36.9.3
MEMORY_SERVICE
This instruction allows access to registers in an optional Memory Service unit. Memory Service
registers are addressed by their register index, as listed in the Memory Service documentation.
The 7-bit register index and a read/write control bit, and the 32-bit data is accessed through the
JTAG port.
The Memory Service unit may offer features such as CRC calculation of memory, debug trace
support, and test features. Please refer to the Memory Service Unit documentation and the part
specific documentation for details.
The data register is alternately interpreted by the SAB as an address register and a data regis-
ter. The SAB starts in address mode after the MEMORY_SERVICE instruction is selected, and
toggles between address and data mode each time a data scan completes with the busy bit
cleared.
Starting in Run-Test/Idle, Memory Service registers are accessed in the following way:
1. Select the DR Scan path.
2. Scan in the 7-bit address for the Memory Service register and a direction bit (1=read,
0=write).
3. Go to Update-DR and re-enter Select-DR Scan.
4. For a read operation, scan out the contents of the addressed register. For a write oper-
ation, scan in the new contents of the register.
5. Return to Run-Test/Idle.
Table 36-5.
NEXUS_ACCESS details
Instructions
Details
IR input value
10000
 (0x10)
IR output value
peb01
DR Size
34 bits
DR input value (Address phase)
aaaaaaar
 xxxxxxxx xxxxxxxx xxxxxxxx xx
DR input value (Data read phase)
xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx
 xx
DR input value (Data write phase)
dddddddd dddddddd dddddddd dddddddd
 xx
DR output value (Address phase)
xx xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxeb
DR output value (Data read phase)
eb 
dddddddd dddddddd dddddddd dddddddd
DR output value (Data write phase)
xx 
xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxeb
32058K
AVR32-01/12