Hi Chris,
You will want to use
char * pointer;
prussdrv_map_prumem(PRUSS0_PRU0_DATARAM, (void **) &pointer);
This will give you a memory pointer to the PRU 0 data memory.
You can use the pointer to read or write memory.
Be sure to declare the memory are volatile in the PRU C code, or the compiler
will optimize reads and not read the new values.
You can get more details on the TI web site:
http://processors.wiki.ti.com/index.php/PRU_Linux_Application_Loader_API_Guide
--
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.