Hi Evan, thanks for the guide!
Am Mittwoch, 28. März 2018 20:23:08 UTC+2 schrieb evan@cyvision.com:
>
> TJF and the others were right, I could not find an easy way to do this
> using rproc, but with uio_pruss it is fairly straight forward. While the
> suggestions made to help me get this goi
Hello,
Thank you for all the help!
I have finally been able to get this array constructed by a user space C
program into the external DDR ram, and access the array directly from PRU0
using uio_pruss! I wanted to give an update on what I did for anyone else
who might try to do something simila
Am Samstag, 24. März 2018 02:54:19 UTC+1 schrieb evan@cyvision.com:
>
> Okay awesome, thank you!
>
> This weekend I will get a chance to dig into this more. So a lot of the
> examples I've seen using uio_pruss involve a device tree overlay for gpio
> pin muxing, I'm comfortable doing that, bu
Okay awesome, thank you!
This weekend I will get a chance to dig into this more. So a lot of the
examples I've seen using uio_pruss involve a device tree overlay for gpio
pin muxing, I'm comfortable doing that, but I've noticed lately that slots
isn't around anymore because I guess a lot of peo
The main reasons for a failing prussdrv_open() are
1. the driver uio_pruss didn't load
1. check lsmod if uio_pruss is listed
2. check dmesg for errors
2. the user has no write access to the interupts /dev/uio[0-7]
1. check your write access by ls -l /dev/uio*
2. Use e
Hello? Is anyone seeing my replies to these suggestions? I'm not seeing my
own replies :(
Evan
On Thursday, March 1, 2018 at 11:27:01 AM UTC-8, TJF wrote:
>
> Hi Evan, I'm still with you!
>
> The solution is drop rproc and use libprussdrv instead. You'll find
> everything you need, just use it
Hi TJF,
Thank you for such a direct and concise solution! As I mentioned in one my
earlier replies today, I had some trouble getting libprussdrv to work on
4.9 because prussdrv_open() failed everytime I tried to use it. But It's
been a while and I'm game to try it again with a fresh image and
Hello! Yes you are right! Something was wrong with my client and I only
just now saw all of these replies!
I don't understand why, but I was not receiving emails with updates on this
post of mine :/ I was getting email updates with daily summaries of other
questions getting answered right away
Am Donnerstag, 1. März 2018 23:37:01 UTC+1 schrieb john3909:
>
> Hi TJF,
>
> I love the work you do and the advise you give. My only purpose was to
> remove any confusion ;-)
>
> Regards,
> John
>
If that is a fact, why don't you replace phrasing like
This is not a true statement.
by wording l
Hi TJF,
I love the work you do and the advise you give. My only purpose was to remove
any confusion ;-)
Regards,
John
> On Mar 1, 2018, at 9:06 AM, TJF wrote:
>
>
>
> Am Mittwoch, 28. Februar 2018 16:28:18 UTC+1 schrieb john3909:
>
>> On Feb 28, 2018, at 6:47 AM, TJF > wrote:
>>
>> Whe
Hi Evan, I'm still with you!
The solution is drop rproc and use libprussdrv instead. You'll find
everything you need, just use it out-of-the-shelf. Everything is explained
in the docs. The steps are:
1. compile your PRU code by pasm assembler
2. load the uio_pruss driver with suiting para
Am Mittwoch, 28. Februar 2018 16:28:18 UTC+1 schrieb john3909:
>
>
> On Feb 28, 2018, at 6:47 AM, TJF >
> wrote:
>
> When you allocate the array from user space the memory may be not
> continuous. To get a single block, you have to allocate from kernel space.
>
> This is not a true statement. T
> On Feb 28, 2018, at 6:47 AM, TJF wrote:
>
> When you allocate the array from user space the memory may be not continuous.
> To get a single block, you have to allocate from kernel space.
This is not a true statement. The kernel uses virtual memory just like user
space does. The memory is onl
When you allocate the array from user space the memory may be not
continuous. To get a single block, you have to allocate from kernel space.
The most easy way: drop rproc, instead use libprussdrv. The uio_pruss
kernel driver allocates external memory, which you can fill by the C code
and read f
14 matches
Mail list logo