Access from user space

Post a reply

Confirmation code
Enter the code exactly as it appears. All letters are case insensitive.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Topic review
   

Expand view Topic review: Access from user space

Re: Access from user space

Post 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.

Re: Access from user space

Post 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

Access from user space

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

Top

cron