Beaglebone Black Wireless PRU's (Getting Started)

212 views
Skip to first unread message

Tomas Medina

unread,
Jan 12, 2018, 9:25:13 PM1/12/18
to BeagleBoard

 I'm trying to figure out how to use the Beaglebone Black Wireless's PRU to write Assembly code. So far I've been following this tutorial: http://www.righto.com/2016/08/pru-tips-understanding-beaglebones.html

However, I can only get as far as this command before getting an error:

# echo PRU-GPIO-EXAMPLE > /sys/devices/bone_capemgr.?/slots

I entered this command after putting all the necessary files on the bone, making sure the device tree file was in the directory /lib/firmware before compiling it. I got this error:
-bash: /sys/devices/bone_capemgr.?/slots: No such file or directory

Obviously, when I checked the aforementioned directory, it didn't exist. It should be noted that this tutorial is for the older, non-wireless Beaglebone, which had the Sitara processor instead of the Octavo.
For now, I just want to turn on LED using Assembly and PRU. How would I go about doing this on my current Beaglebone Black Wireless? Are there any useful tutorials out there?

Thanks,
Tomas

RoSchmi

unread,
Jan 16, 2018, 8:41:03 AM1/16/18
to BeagleBoard

As you say the problems probably arise because the example on righto.com is for an older debian distribution. If you are using the last Debian release 4.4.91-ti-r133 from 5. Oct. 2017 and you would also accept to write the code for the PRU in C this actual example perhaps can help you. 
Regards
RoSchmi


Reply all
Reply to author
Forward
0 new messages