Page 1 of 1

Access from user space

PostPosted:
by Guest
In the example of sec 2.2 of the following document, you suggest user using the mmap via Linux UIO device for register and data access from linux user space.
http://xillybus.com/downloads/doc/xillybus_lite.pdf

However, in the sec 6 of the following document, you also suggest using the seekable stream for register and data access from linux user space.
http://xillybus.com/downloads/doc/xilly ... _linux.pdf

I''m got confused and would like to ask the following questions in host programming when use of Xillybus IPs.

Q1: What's the best use scenario for each method if any ?

Re: Access from user space

PostPosted:
by support
Hello,

If you're already using non-lite Xillybus in your project, it's probably better not to use Xillybus Lite. No point having two different interfaces.

On the other hand, if Xillybus Lite covers your needs well, no points using non-Lite Xillybus.

Regards,
Eli

Re: Access from user space

PostPosted:
by Guest
Hello,

Thanks. According to your explanation, for xillybus-lite, it uses mmap for register access. For xillybus, it suggests using seekable stream for access.