HMS anybus Linux

From ArmadeusWiki
Revision as of 10:27, 18 July 2011 by KevinJ (Talk | contribs) (New page: {{Under_Construction}} * The Anybus module allow the Armadeus board to communicate on 18 differents industrial network like such as Profibus, Modbus-TCP/RTU, CANOpen, ... * The following...)

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

Construction.png Informations on this page are not guaranteed !!

  • The Anybus module allow the Armadeus board to communicate on 18 differents industrial network like such as Profibus, Modbus-TCP/RTU, CANOpen, ...
  • The following instructions is relative to Armadeus boards APF51-Dev and APF51 with FPGA. Please ensure you use the trunk version of Armadeus.

Creation of the FPGA design with POD

Kernel configuration

In your Armadeus directory:

  [  ] $ make linux26-menuconfig
Device Drivers  --->
  [*] Network device support  --->
    <M>   HMS Anybus driver

Loading the modules driver

  • Load the driver generated by POD.
 # modprobe pod_anybus_interface_platform
  • Load the kernel driver.
 # modprobe anybus_interface
  • Check if the interface anybus0 is available.
 # ifconfig anybus0
  • If yes, mount it.
 # ifconfig anybus0 up

Check the surface mounted LED on the Anybus module (not the front LEDs). This LED should blink at 1Hz if the module is initialised, and 2Hz if not. Then, you can use the interface.

Tools

Links