Humusoft MF6xx

From HW wiki
Revision as of 00:19, 24 February 2014 by Pisa (talk | contribs) (MF624 UIO Support mainlined)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This page is mainly focussed on Linux UIO and Comedi driver support for data acquisition cards produced by Humusoft company.


MF6xx

The two card models are considered at the first phase


Hudaqlib

Hudaqlib project developed by Jaroslav Fojtik provides Linux userspace access and I/O support functions for above cards

The project homepage is at http://www.penguin.cz/~fojtik/hudaqlib/hudaqlib.html

UIO Support

Source code of the UIO and Comedi drivers are available in "/src/uio" directory of GIT repository.

Public read-only access to the repository:

  git clone git://rtime.felk.cvut.cz/mf6xx.git

For RW access:

  git clone git@rtime.felk.cvut.cz:mf6xx

The code can be browsed online in Rtime GIT mf6xx.git repository

The experimental UIO based Hudaqlib port for MF624 and MF614 is part of repository as well.

UIO MF624 direct access blocks for ERT Linux target are available from local MF624 Simulink support repository

MF624 UIO kernel driver has been merged to Linux mainline (actual driver source). Because MF624 memory mapped BAR ranges are shorter than page (4 kB) the kernel blocks remapping to user-space to protect other possible resources located in the same physical page. But kernel parameter can be used to activate PCI quirk which extends MF624 memory resources/BARS to reserve whole 4 kB range. The card PCI bus and slot has to be found by lspci command and then kernel boot parameter has to be added (adjusted for actual board slot)

 pci=resource_alignment=02:02.0

COMEDI Driver

The code can be browsed online in Rtime GIT mf6xx.git repository

QEMU Emulation of MF624

The code can be browsed online in Rtime GIT mf6xx.git repository

MF6xx COMEDI, UIO and QEMU RTLWS13 Article

COMEDI and UIO drivers for PCI Multifunction Data Acquisition and Generic I/O Cards and Their QEMU Virtual Hardware Equivalents

Driver implementation / Implementace ovladae

[Czech language only]

Popis implementace ovladae