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 ?
>
> (sequence Data is my array of data store define as is :
> unsigned int sequenceData[NUMBER_DATA];
>
Not entirely correct. Pass a pointer, check error
if (prussdrv_map_extmem(&sequenceData))
{ /* error handling here */ }
sequenceData[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/de46e1b4-02dc-4b61-92ab-b5f0caf84120%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.