The XSDB breakpoint add command (bpadd) allows cross triggering between different components.
For example, use the following command to set a cross trigger to stop Zynq core 1 when core 0 stops.
bpadd -ct-input 0 -ct-output 8
For Zynq, -ct-input 0 refers to CTI CPU0
TrigIn0.
Trigger input 0 of the CTI connects to CPU0), which connects to DBGACK (asserts
when the core halts). -ct-output 8 refers to CTI CPU1 TrigOut0, which connects to CPU debug request. Asserting this
pin halts the core. hw_server uses an available channel to set
up a cross trigger path between these pins. When core 0 halts,
the event broadcasts to core 1 over the selected channel,
causing core 1 to halt.
Use the following command for the Zynq UltraScale+ MPSoC to halt the A53 core 1 when A53 core 0 stops.
bpadd -ct-input 16 -ct-output 24