Hi Jason, can confirm, LED is flashing. cd /var/lib/cloud9 root@beaglebone:/var/lib/cloud9# git clone https://gist.github.com/jadonk/2ecf864e1b3f250bad82c0eae12b7b64 Cloning into '2ecf864e1b3f250bad82c0eae12b7b64'... remote: Counting objects: 84, done. remote: Total 84 (delta 0), reused 0 (delta 0), pack-reused 84 Unpacking objects: 100% (84/84), done. root@beaglebone:/var/lib/cloud9# cd 2ecf864e1b3f250bad82c0eae12b7b64 root@beaglebone:/var/lib/cloud9/2ecf864e1b3f250bad82c0eae12b7b64# make CC hello-pru.c LD gen/hello-pru.obj CC hello-pru.c LD gen/decay95.obj - Generated firmwares are : gen/hello-pru.out gen/decay95.out root@beaglebone:/var/lib/cloud9/2ecf864e1b3f250bad82c0eae12b7b64# echo none > /sys/class/leds/beaglebone\:green\:usr0/trigger root@beaglebone:/var/lib/cloud9/2ecf864e1b3f250bad82c0eae12b7b64# config-pin overlay cape-universala root@beaglebone:/var/lib/cloud9/2ecf864e1b3f250bad82c0eae12b7b64# config-pin p9.30 pruout root@beaglebone:/var/lib/cloud9/2ecf864e1b3f250bad82c0eae12b7b64# make run - copying firmware file gen/hello-pru.out to /lib/firmware/am335x-pru0-fw /bin/sh: 1: cannot create /sys/bus/platform/drivers/pru-rproc/unbind: Permission denied /bin/sh: 1: cannot create /sys/bus/platform/drivers/pru-rproc/bind: Permission denied - rebooting pru core 0 - pru core 0 is now loaded with gen/hello-pru.out root@beaglebone:/var/lib/cloud9/2ecf864e1b3f250bad82c0eae12b7b64#
Now I have to modify my stuff. It looks like more simple as expected. Think with given technique I can save the existing IO configuration in my loader, modify to my needs, load firmware and start the pru. At the end I should be able to set the IO configuration as it was before. But first I want to see if the pru will do what I expect .... Thank you very much for the useful hints. Kasimir -- 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/351b1916-2f44-4552-8dae-45f2619a2afd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
