Hi Daniel, Thanks for your help. Unfortunately, I cannot get your scripts to work. It looks like you enter a string of options when you run the script. Do you have an example? Maybe this is really dumb, but your assembler code has #include and #define statements that create errors with clpru. Is there an option I am missing? I can use .asg instead of #define, but I am not sure what to use instead of #include.
Chris On Tue, Jul 21, 2020 at 8:47 AM Daniel Kulp <[email protected]> wrote: > > For the pure asm part of this.... > > You can look at the FPP PRU code: > https://github.com/FalconChristmas/fpp/tree/master/src/pru > and the sh scripts in there used to compile the asm. The FPP PRU code > is all hand tuned assembly and does NOT use the C runtime/stack at all. > Thus, the entire memory blocks are available to the pru assembly code. > > You basically need to get the "ResourceTable.asm" included, set the "main" > section text segment, and then pass the right flags to clpru. The results > "out" can then be loaded via rproc. > > Dan > > > On Monday, July 20, 2020 at 4:58:13 PM UTC-4 [email protected] wrote: > >> >> Another option I am trying is to have the PRUs write data to DRAM memory >> directly. I really want to do this in assembly because my PRU code has >> some tight timing. I couldn't find any examples online to do this with the >> rproc driver however. Any ideas? >> > -- > 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/75b11b9a-85e8-4b4d-a13a-e8004bff78ccn%40googlegroups.com > <https://groups.google.com/d/msgid/beagleboard/75b11b9a-85e8-4b4d-a13a-e8004bff78ccn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CA%2BvnBy--G8XZTh2U%2BxNdHkbcqGHU2SHg%2BFz_DVR8G%2BqDHH3OoA%40mail.gmail.com.
