I am proud to announce the release of my software for the active SERCOS III pci card SERCANS III. The software is in an very early state of development and provided as is without any warranty. It contains two projects, the linux kernel driver itself and a library for user space along with two example programs.
The driver is licensed under the GNU General Public License. For compilation, simply run make on the commandline in the driver directory. This will build the driver sercansiii_driver.ko which can be loaded into the kernel using insmod ./sercansiii_driver.ko. When the driver has been loaded successfully into the kernel, you should see something like this when running dmesg:
SERCANS III kernel driver by Hans-Peter Bock
SERCANS_III 0000:03:07.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
SERCANS III device 0xf731fc00 hardware string: SCS05-ÿÿÿÿ
SERCANS III device 0xf731fc00 firmware string: FWA-SERC*3-SCM-02V08-D0-TM
SERCANS III device 0xf731fc00 has hardware version 3.
SERCANS III device 0xf731fc00 successfully registered on interrupt 21.
The library is licensed unter GNU Lesser General Public License. For compilation simply run scons on the commandline in the library directory. This will build the library and two test programs calles test-svc and test-rtd. The example test-svc shows, how to access parameters via the SERCOS service channel. The exampler test-rtd shows how to change communication phases as well as how to write data to a real time data connection.
The sourcecode can either be downloaded as snapshot or directly be branched with bazaar from the online repository.
The documentation for the SERCANS III card can be downloaded from the Bosch Rexroth website.
I am looking forward to your feedback!