please not the change in pru code for shared memory access
/* pru code */
.origin 0
.entrypoint START
#define PRU_EVTOUT_0 3
//#define USER_DELAY 50
START:
MOV r0, 0x00010000 /* 0x00000000 for own data memory, 0x00002000
for other pru data memory */
LBBO r4, r0, 0, 4 /* read data from host code */
/* do some more stuff */
END:
MOV r31.b0, 35
HALT
0x00010000
On Monday, 15 June 2015 19:53:51 UTC+5:30, Pat H. wrote:
>
> Hello everyone,
>
> I am a newbie when it concerns embedded Linux/BBB and I've been having
> some difficulties about shared memory access.
> Using the main processor, I could perfectly read/write data into shared
> memory (I want to share them with the PRUs).
>
> And when it comes to PRU, I cannot access shmemory (maybe my code to map
> the registers is not working - I am coding in C).
> Has anyone tried to write and read shared memory in PRU code?
>
>
> Thanks!
>
--
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].
For more options, visit https://groups.google.com/d/optout.