OK, my mistake, I was doing the prussdrv_exec_program with a text string that did NOT point to a .bin file in that directory.
And, there are errors in my pru .p file that I am trying to debug. But, when I run my c program that starts the pru program properly, I get some debug output the first time, but then something gets hung in some way. Now, when I run the c program, I get "Bus error" when I reference the shared memory that has been mmap'ed to the PRU's data memories.
Is there a way to undo an mmap? I thought terminating the arm program would take care of that.
Thanks for any suggestions,
Jon