On 5/14/2019 5:26 PM, [email protected] wrote:
> I am using the pruss software to control a PRU program.  I have several 
> test programs that do one part at a time.  Now, when I combined the parts, 
> the PRU program is not completing properly.  After this happens, the PRU 
> will not respond until I reboot the Bone.
> 
> Is there some way to halt and reset the PRU subsystem back to the idle 
> state, so it can be reloaded and started?
> 
> I tried to make a "kill PRU" program by executing this at the end :
> 
>     prussdrv_pru_clear_event (PRU_EVTOUT_0, PRU0_ARM_INTERRUPT);
>     /* Disable PRU and close memory mapping*/
>     prussdrv_pru_disable (PRU_NUM);
>     prussdrv_exit ();
> 
> But, it didn't seem to do anything.

Try: prussdrv_pru_reset()

-- 
Charles Steinkuehler
[email protected]

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/61c8dbe8-f85e-9691-6555-166d4437860f%40steinkuehler.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to