This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PRU wont start

I'm trying to get into PRU development so I worked for a couple weekends and finally got my first PRU program to load on my Beagle Bone Black

To do so

I loaded a modded device tree with pru okay and status light off

modprobe uio_pruss

sudo ./[my_program_name]

I had loaded several programs to it and they had all exited perfectly  by passing a PRU_EVTOUT_0 up which the C++ program looks for.  Well I loaded up my first project related test code and it didn't exit as expected so I ctl-c the program and went back to fixing the code.  The new code still didn't exit so I modded the code so it would jump past the body straight to the "turn off the running led, send flags and halt."  Nothing.  Restart BBB, modprobe and load code to flash the LEDs.  Nothing.  The program runs but never loads the PRU (by the look of it) and never exits.

How can it be fine one second and dead the next?  Is there any way to tell what's going wrong in starting a PRU?  It's kinda just a black box right now.