The support package is just examples of how to use RemoteProc/RPMSG. Remember to use V4.02 for the V4.1 Linux Kernel and V5 for the V4.4 Linux kernel. The V4.02 uses mailbox events and the V5 uses interrupt events. If you want ARM sample code which interacts with the PRU firmware, look in the Linux source code /samples/rpmsg.
Here is how to use the PRU support package: http://processors.wiki.ti.com/index.php/PRU_Training:_Hands-on_Labs <http://processors.wiki.ti.com/index.php/PRU_Training:_Hands-on_Labs> Regards, John > On Jul 17, 2016, at 10:33 PM, Karl Karpfen <karlkarpfe...@gmail.com> wrote: > > Thanks, I found it in the PRU support package. But I wonder if this really > saves some time/code... > > Am Freitag, 15. Juli 2016 20:59:12 UTC+2 schrieb Greg: > There is an example in the PRU support package: > > http://git.ti.com/pru-software-support-package > <http://git.ti.com/pru-software-support-package> > > Look in the examples folder for am335x. > > Regards, > Greg > > > On Friday, July 15, 2016 at 3:41:06 AM UTC-5, Karl Karpfen wrote: > Hi, > > the AM335x TRM specifies a constants table for PRU which can be used for > easier access of memory addresses. As an example: for I2C1 registers which > originally use base-address 0x4802A000 a constant 2 is defined. > > What I do not understand: how can one use these constants? How does the > mapping from a constant to a base-address work where I have to add an offset > in order to access desired registers? > > Or is this an assembler-thingy only which can't be used out of PRU-C-Software? > > Thanks! > > > -- > For more options, visit http://beagleboard.org/discuss > <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 beagleboard+unsubscr...@googlegroups.com > <mailto:beagleboard+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beagleboard/3a31db16-a078-476f-928f-e1f50233c075%40googlegroups.com > > <https://groups.google.com/d/msgid/beagleboard/3a31db16-a078-476f-928f-e1f50233c075%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- 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 beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/C1B97512-E121-41AC-863B-E10005DF54A5%40gmail.com. For more options, visit https://groups.google.com/d/optout.