| Electronic Components Datasheet Search |
|
AVR32AP Datasheet(PDF) 142 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AVR32AP Datasheet(HTML) 142 Page - ATMEL Corporation |
|
142 / 181 page ![]() 142 32001A–AVR32–06/06 AVR32 9.8.2 Memory (Block) Access The Memory Block Access is controlled by the registers Read/Write Access Data (RWD), Read/Write Access Address (RWA), and Read/Write Control/Status (RWCS). The tool accesses these registers via the JTAG port. A Memory Block Access provides the debug tool with a mech- anism for a DMA-like access to memory mapped resources. In this document, the terms Memory Block Access and Memory Access refer to a memory block of any length from one sin- gle location (CNT = 1), to the full range supported by the OCD system (CNT = 16 383). When using the maximum size of word, the maximum memory that can be transferred in one block is thus 64KB. 9.8.2.1 Memory Read Operations 1. The tool writes RWA with physical address to be read. 2. The tool configures RWCS Register, including CNT, AC=1, and RW=0 to indicate (block) read. 3. The tool must wait until the data is ready from the MIU. If very slow memory is accessed the tool can check that the DV bit in RWCS is one before reading RWD. 4. The tool reads RWD. The MIU outputs the data and auto-increments the address. 5. Step 3 and 4 are repeated until the number of data specified by the CNT field has been read. 6. When the entire block has been read AC will be cleared by the MIU. RWA will point to the last location that was read. If the tool wishes to continue reading from this point RWCS must be written again. 9.8.2.2 Special cases: • If the memory read operation results in an error, the ERR bit in RWCS will be set, and the data in RWD will not be valid (DV=0). AC will also be cleared. • Any write to RWCS will abort an ongoing block access. 9.8.2.3 Memory Write Operations 1. The tool writes RWA with the first physical address to be written. 2. The tool configure the RWCS Register, including CNT, AC=1, and RW=1 to indicate (block) write. 3. The tool writes one data value to RWD. 4. The tool must wait until the MIU is ready to accept more data. This can be done by reading the ready bit in RWCS or by using the NEXUS-STATUS JTAG command. 5. Step 3 and 4 are repeated until the number of data specified by the CNT field has been transmitted. 6. When the entire block has been read AC will be cleared by the MIU. RWA will point to the last location that was written. If the tool wishes to continue reading from this point RWCS must be written again. 9.8.2.4 Special cases: • If the memory write operation results in an error, the ERR bit in RWCS will be set and DV cleared. AC will also be cleared. • Any write to RWCS will abort an ongoing block access. |
|
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 |