cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
bennywan
Visitor
Visitor
427 Views
Registered: ‎02-18-2015

PYNQ library for Video Processing Subsystem (VPSS) IP

Hi everyone,

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?

 

Best regards,

0 Kudos
3 Replies
watari
Professor
Professor
378 Views
Registered: ‎06-16-2013

Hi @bennywan 

 

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.

 

Best regards,

0 Kudos
bennywan
Visitor
Visitor
357 Views
Registered: ‎02-18-2015

Hi @watari 

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.

0 Kudos
watari
Professor
Professor
328 Views
Registered: ‎06-16-2013

Hi @bennywan 

 

Would you share your design as pdf file, if possible ?

I need bd figure, if I investigated your issue.

 

Best regards,

0 Kudos