08-26-2020 11:40 PM
I am using the VPSS IP in my design on PYNQ system but I could not find any relevant information about the IP driver from pynq library.
I tried to directly access the register map as listed in the IP documentation but seems there was no mention about the offset of different sub-modules (vertical scaler, horizontal scaler etc.). I can only read the register 0x00 in Full Fledged Mode and if it is in Scaler Only mode the system run into crash when reading register 0x00.
Could someone please point me to the right reference for using VPSS on PYNQ?
08-27-2020 03:14 PM
I'm not familiar with PYNQ platform. But I'd like to reply your question.
Would you share the following results to explain your question ?
- ls /dev/video*
- ls /dev/media*
- ls /sys/devices/platform/amba_pl@0/
>I can only read the register 0x00 in Full Fledged Mode and if it is in Scaler Only mode the system run into crash when reading register 0x00.
Did you encounter segment fault or memory fault ?
If yes, you must change an authorization. ex. root, like the followings.
% sudo ./your-application
BTW, if my understanding is correct, you use v4l2 scaler driver and I recommend to access register through linux kernel driver via ioctl or something.
08-28-2020 01:28 AM
Thanks for your reply.
I have checked but only /sys/devices/platform/amba_pl@0/ exists
root@pynq:~# ls /sys/devices/platform/amba_pl@0/
80060000.serial driver_override ff380000.PERIPHERAL ff990000.PERIPHERAL modalias of_node power subsystem uevent
As I was using jupyter environment and the system just frozen when I executed the read register so I was not sure which error it was.