UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 66975

Zynq 7000 - Switching between ICAP and PCAP Recommendations

Description

While the Processing System (PS) and Processor Configuration Access Port (PCAP) are in control of the configuration logic, the Programmable Logic (PL) and Internal Configuration Access Port (ICAP) are locked out of the configuration logic.

Similarly while the ICAP is in control, the PCAP and PS will be locked out. How do I switch between them?

Solution

All PCAP or ICAP operations must be completed before switching to the other. 

A typical use case where you might need to switch between PCAP and ICAP is when using SEMIP or Post_CRC. 

To switch from PCAP to ICAP:

Clear PCAP_PR (bit 27) in the PS device configuration control register (DEVCFG CTRL, address 0xF8007000).

 

To switch ICAP back to PCAP:

If using POST_CRC:

  1. Change the RBCRC_ENABLE bit to 0 (COR1[8]=0) to stop scan
  2. PCAP can now take over the configuration and perform the PCAP operation
  3. After the PCAP operation is done, transfer the control of ICAP back to POST_CRC by setting COR1[8] back to '1'.  This will restart the POST_CRC scan

 

If using SEM IP:

  1. Before handing over the configuration to PCAP, put the SEM IP in IDLE.
  2. Send a SYNC command to ICAP to stop the SEM IP scanning (Refer to XAPP517)
  3. PCAP can now take over the configuration and perform the PCAP operation.
  4. After the PCAP operation is done, transfer the control of ICAP back to SEM IP (Refer to XAPP517).
  5. Perform a soft reset on SEM IP.

 

 

AR# 66975
Date Created 04/06/2016
Last Updated 04/13/2016
Status Active
Type General Article
Devices
  • Zynq-7000