Hi guys, I am having some problems in getting started with PRU.
So, first of all, I installed one PRU compiler (CSS) (I follow this article: http://processors.wiki.ti.com/index.php/PRU_Training:_Hands-on_Labs After having the compiled the file, and from what I've read throughout the internet, I thought that in order to run a program into the PRU I should simply do: - cp mycode.out /lib/firmware/am335x-pru0-fw - echo 'start' > /sys/class/remoteproc/remoteproc1/state However, If I try it with a code to blink a led it does nothing (example of the code for blinking a LED above). volatile register unsigned int __R30; int main(void) { __R30 = SET_MASK; while(1) { __R30 = __R30 & ~(SET_MASK); __delay_cycles(100000000); // half-second delay } } I've also tried to follow this tutorial: http://www.righto.com/2016/09/how-to-run-c-programs-on-beaglebones.html and I get an error when I do: ./loader text.bin data.bin, it says an error message of "prudrv failed to open". But I can't quit understand what that program does. Can anyone tell me what am I doing wrong ? Thanks you very much, Fred Gomes -- 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/467fd871-1c67-489b-9fad-82104bfd7ba2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
