User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 268
UG585 (v1.11) September 27, 2016
Chapter 9: DMA Controller
If the INTEN register sets the event/interrupt resource to function as an interrupt, the DMAC
sets irq<event_num> High, where event_num is the number of the specified event-resource. To
clear the interrupt, the user must write to the INTCLR register. Refer to the Interrupt Clear
register in Appendix B, Register Details.
Refer to section 9.3 Programming Guide for DMA Controller for more information and Chapter 7,
Interrupts for more details about the System IRQs.
9.2.11 Aborts
An abort is sent to the CPUs via IRQ ID #45 and the PL peripheral via the IRQP2F[28] signal. Table 9-3
summarizes all of the possible causes for an abort. Table 9-3 explains the actions that the DMAC
takes after an abort condition. After an abort occurs the action the DMAC takes depends on the
thread type. Table 9-5 describes the actions that the processors or the PL peripheral must take after
the Abort signal is received. Refer to the ARM PrimeCell DMA Controller (PL330) Technical Reference
Manual: Aborts for details.
Table 9-3: DMAC Abort Types and Conditions
Abort Types Condition
Precise
The DMAC updates the PC
register with the address of the
instruction that created the
abort.
Note: When the DMAC signals a
precise abort, the instruction
that triggers the abort is not
executed; the DMAC executes a
DMANOP instead.
Security Violation on Channel Control Registers
A DMA channel thread in a non-secure state attempts to program the Channel Control
registers and generates a secure AXI bus transaction.
Security Violation on Events
A DMA channel thread in a non-secure state executes DMAWFE or DMASEV for an
event that is set as secure. The SLCR register TZ_DMA_IRQ_NS controls the security
state for an event.
Security Violation on PL Peripheral Request Interfaces
A DMA channel thread in a non-secure state executes DMAWFP, DMALDP, DMASTP, or
DMAFLUSHP for a PL peripheral request interface that is set as secure. The SLCR
register TZ_DMA_PERIPH_NS controls the security state for a PL peripheral request
interface.
Security Violation on DMAGO
The DMA manager in a non-secure state executes DMAGO to attempt to start a secure
DMA channel thread.
Error on AXI Master Interface
The DMAC receives an ERROR response on the AXI master interface when it performs
an instruction fetch. For example; trying to access reserved memory.
Error on Execution Engine
A thread executes an undefined instruction or executes an instruction with an operand
that is invalid for the configuration of the DMAC.