|
Demand Peripherals
Robotic and Industrial Controls for Linux |
|
BaseBoard Prototyping Pin Peripherals BaseBoard IO Dual DC Motor H-Bridge Controller Dual H-Bridge Controller Bipolar Stepper Controller Unipolar Stepper Controller Quad Servo Controller Octal Servo Controller Dual Quadrature Decoder Maxbotix Range Sensor Ping))) Range Sensor IR Receiver IR Transmitter RC Receiver Quad PWM Input Quad PWM Output Octal PWM Output Quad Counter Quad Bidirectional IO Octal Bidirectional IO Watchdog Timer Tone Generator Quad Pattern Generator Octal Pattern Generator |
Download Files Proxy and Fanout Drivers Proxy is a kernel module that provides a bidirectional, transparent /dev data link between two processes. Fanout is a kernel module that provides a simple broadcast mechanism that uses device nodes for the listening ports. Click here to go the fanout and proxy support forum, and click here to download the tarball containing Proxy and Fanout. Build them with the following commands:
tar —xzf proxy.tar.gz
cd proxy
make
sudo make install
sudo modprobe fanout
sudo modprobe proxy
DP User-Space Driver Daemon Dpdaemon is a user-space device driver that makes the peripherals on the BaseBoard4 visible as /dev entries. Click here for dpdaemon support and click here to download the tarball containing dpdaemon. After installing the proxy and fanout drivers above you can build and test dpdaemon with the following commands:
# build
tar —xzf dpdaemon-0.9.2.tar.gz
cd dpdaemon-0.9.2
make
sudo make install
# load DPCore
stty --file=/dev/ttyUSB0 -opost # We want raw output
cat DPCore.bin > /dev/ttyUSB0 # Go here for your DPCore
# run dpdaemon
sudo /usr/local/bin/dpdaemon -e -f /dev/ttyUSB0 &
# test
echo 55 >/dev/dp0/s01_bb4io/leds
Pinctrl Binary: Pinctrl is an FPGA binary program that lets you set or examine any of the 35 user accessible FPGA pins on the BaseBoard. The manual for is here and the binary FPGA images is here. Assuming that the BaseBoard appears as ttyUSB0, you can install and test Pinctrl by resetting the BaseBoard and entering the following commands::
stty --file=/dev/ttyUSB0 -opost # We want raw output
cat pinctrl.bin > /dev/ttyUSB0
minicom # /dev/ttyUSB0, 8n1
BaseBoard4 User Constraints File: The UCF file maps the pin numbers of the FPGA to how they are used on the BaseBoard. This file is handy for those using the BaseBoard4 for Verilog or VHDL development. Click here to download the BaseBoard4 User Constraints File.
|
|