I am newbie in Pocketbeagle with Am335x , i want to use GPIO with PRU via OCP and i am not getting the specific way to do it ,
i tried the following step but it didn't worked
created a directory , and copied am335 file , makefile , required headerfile , and .c(source file) file , , then i used 'Make' command and copied .out file from gen file and pasted on /lib/firmware/am335x-pru0-fw file and start the pru0 from /sys/class/remoteproc/remoteproc1 directory and check gpio for toggle with multimeter but its not toggling.
addition:
can anyone tell me what is OCP because i am confused i found OCP(open core protocol) & (on chip peripherals).