User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 164
UG585 (v1.11) September 27, 2016
Chapter 6: Boot and Configuration
Internal Resets
The internal resets are all non-POR resets. Resets are described in Chapter 26, Reset System.
Software controlled reset: write 1 to slcr.PSS_RST_CTRL [SOFT_RST].
Watchdog timers: AWDT0, AWDT1, and SWDT controllers.
JTAG interface and debug.
Reset Reason
The type of reset that last occurred (reset reason) is recorded in the slcr.REBOOT_STATUS register.
This register also includes the BootROM error code, when it is generated. The register is accessible
to the BootROM and FSBL/User code. The Reboot Status register is reset by a POR reset, but
preserved by a non-POR reset.
System Reset Effects
The effects of the system resets (POR and non-POR) are summarized in Table 6-3.
Table 6-2: Reboot Status Register
slcr.REBOOT_STATUS
Bit Source
[REBOOT_STATE] 31:24 R/W bit field that remains persistent through all non-POR resets.
Reserved 23 Reserved.
[POR] 22 PS_POR_B reset signal. This is the only reset set after a POR reset.
[SRST_B] 21 PS_SRST_B reset signal.
[DBG_RST] 20 Debug command in the DAP controller.
[SLC_RST] 19 Write to the slcr.PSS_RST_CTRL [SOFT_RST] bit.
[AWDT1_RST] 18 CPU 1 watchdog timer.
[AWDT0_RST] 17 CPU 0 watchdog timer.
[SWDT_RST] 16 System watchdog timer.
[BOOTROM_ERROR_CODE] 15:0 BootROM, refer to Table 6-20.
Table 6-3: System Reset Effects
Reset Type POR Non-POR
Sample Pin Straps Yes No
Initialize PS PLLs
(1)
Yes, by the hardware Yes, by the BootROM
PS RAM (FIFOs, buffers, etc.) Cleared Cleared
IOP clocks Disabled Disabled
BootROM executes Yes Yes
Retains previous boot mode No Yes
Reboot Status register Resets it Accumulates the system reset type.
Device Registers All Persistent registers.
(2)