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];
>

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 ?
>

Yes, correct. Then fill the ERam like

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/b6cc093b-e2a8-446b-9f15-bf8d9b5c480b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to