Am Mittwoch, 29. Juni 2016 14:54:00 UTC+2 schrieb Vincent lc:
>
> Previously, I was using this instruction to load my data into the PRU RAM
> prussdrv_pru_write_memory(PRUSS0_PRU0_DATARAM, 0, sequenceData, 
> NUMBER_DATA);
>
>
> So now I have to replace it with
> prussdrv_map_extmem(sequenceData);
> Is its write ?
>

Not correct. The first function writes to the memory, the last one maps it. 
Use it like

unsigned int* data = prussdrv_map_extmem(&sequenceData);
data[0] = 0815;
...

Note: the ERam has a default size of 256 kB. In order to get 1 MB, you'll 
have to load the driver manually (8 MB max.). See this documentation 
<http://users.freebasic-portal.de/tjf/Projekte/libpruio/doc/html/_cha_memory.html>
 
(section ERam at the bottom) for details.

BR

-- 
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/bb11c0a0-5542-40ca-a721-f5fb9a512ad2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to