**** BEGIN LOGGING AT Thu Jul 04 02:59:57 2019 Jul 04 03:01:22 set_ I like some of Hack-a-day but well they seem to enjoy making people "greater" than they are. They are people just driven and a little crazier than most. That's OK in my book. Jul 04 08:09:43 Hi all. I'm trying to access the PRUs on the BBG with the latest kernel but I'm having a lot of difficulty. Most of the information I can find is out of date, obsolete or no longer maintained. Does anybody have any links to any up-to-date information on accessing the PRUs, or if anybody knows of any python libraries that can access them over rpr Jul 04 08:09:43 oc that would help immensely! Thanks Jul 04 11:07:42 Collie147: both uio-pruss and remoteproc-pru are supported in the 4.14-ti and 4.19-ti kernel series Jul 04 11:08:59 for python the easiest would be uio-pruss since I made https://github.com/mvduin/py-uio for that Jul 04 11:10:36 for remoteproc I don't know. anything controlled via sysfs (e.g. loading firmware, starting/stopping the pru) is of course easy to do, but I don't know much beyond that (I'm not hugely familiar with remoteproc-pru) Jul 04 11:37:31 zmatt Thanks for that. I'll give the uio-pruss library a go. I just have to enable uio-pruss in the uEnv.txt, right? Jul 04 11:37:42 yep Jul 04 11:37:53 zmatt You're a champ! Thanks a mill Jul 04 11:40:05 note that although my py-uio library can load ELF executables (produced by clpru) in addition to raw binaries produced by pasm, I do not yet support doing anything with the resource table in ELF executables. I've started work on that but haven't gotten around to finishing that yet Jul 04 11:44:01 zmatt Thanks. At the moment I'm only trying to write values from one of the pins to an array and display that on screen (essentially an oscilloscope) Jul 04 11:45:35 you could use e.g. stream.py as basis (replace the "id" field by your actual data) Jul 04 11:48:16 zmatt Yeah, that looks good. I'll give that a go and see how far I get! Jul 04 11:49:14 I should some day make some abstraction and better examples for ringbuffers, they're a common construct Jul 05 02:16:16 Independence! Jul 05 02:16:32 Off to the bench! **** ENDING LOGGING AT Fri Jul 05 02:59:56 2019