Hello,

I've been playing with this BBBW for several months, and I feel like I've 
come quite far from newbie status, but I'm feeling a lot like a newbie 
again right now after having so much trouble programming the PRU's     : 0  
  please help!

I've been following this 
tutorial: 
http://credentiality2.blogspot.com/2015/09/beaglebone-pru-gpio-example.html  
    - mostly because it makes a lot of intuitive sense to me.

I've modified the device overlay code shown in the tutorial to use 
different GPIOs (with correct configuration settings for my gpios) and I've 
written a basic assembly code to toggle my gpios (simply so I know it works 
- before I move on to harder stuff). I'm able to compile the device overlay 
into a dtbo and I can load it into /sys/devices/platform/bone_capemgr/slots 
no problem. I've even been able to download unpack and make the 
am335x_pru_package so that I can use pasm to compile my assembly into .bin 
but now the issue that I can find no helpful info on, is during the process 
of running the c code in the mentioned tutorial to load the .bin into the 
PRU.

The pru loader is a simple .c file called pru_loader.c which I haven't 
modified at all from the code listed in the tutorial, but when I use it to 
load my compiled assembly code (pru_gpio_test.bin) with this command:
"./pru_loader pru_gpio_test.bin" 

I get this error:
"prussdrv_open() failed"

Can anyone help me? I can you any information you need that I haven't 
listed here. I'm running out of places to look online : 0

Thank you for reading!
[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/0d320481-09bf-428e-873f-2d1ab3720437%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to