Attached code demonstrates how to use RCU to do a core reset. in the attached example the ARM core is used to reset SHARC1 multiple time. Sharc core has LED blink code which blinks the LEDs fixed number of time. So each time the core reset, the LED code by SHARC is executed eachtime.
It is always recommended to use one core to reset the other. Core should not attempt to reset itself.