Many many thanks. prussdrv_pru_reset () make the job. Two very good tips. This is going to be a nice day. :-) All good for you Peter
Am Mittwoch, 24. Oktober 2018 14:55:39 UTC+2 schrieb Charles Steinkuehler: > > On 10/24/2018 5:05 AM, [email protected] <javascript:> wrote: > > Hello, > > > > In tests with clpru C programs, the problem arises again and again that > the > > Pru hangs up. > > A simple LED Bink program can then no longer be started. > > Is there a way to reset the Pru without rebooting the BBB? > > Tips from the network have not worked for me so far. > > > > thanks to all experts > > It looks like you're using the UIO bindings for the PRU. If you're > also using the prussdrv library, just call the prussdrv_pru_reset() > function. > > Otherwise, there's an enable and reset bit in the PRU control register > (PRU_ICSS_PRU_CTRL register 0: CTRL bit 0: SOFT_RST_N and bit 1: EN). > See the PRU section of the TRM for details. > > -- > Charles Steinkuehler > [email protected] <javascript:> > -- 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/03fa9080-4baa-428c-b543-1ef107f6a026%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
