B&B Electronics PC Watchdog Timer Card ATXWDT Especificaciones Pagina 22

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 36
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 21
EP80579 Integrated Processor—Runtime Configuration
Intel
®
EP80579 Software Drivers for Embedded Applications on FreeBSD*
GSG September 2009
22 Order Number: 320152-005US
5.1.3 FreeBSD Sample Codelet
A codelet is provided to demonstrate how a sample application interfaces with the
Controller Area Network driver. This codelet is intended to run on an Intel
®
EP80579
Integrated Processor with Intel
®
QuickAssist Technology Development Board with
FreeBSD installed. The EP80579 Embedded Software kernel should also be installed,
but the codelet works even if it is not. Run the codelet as follows:
Note: In order to run this application, make sure a loopback CAN cable is connected to CAN 0
and CAN 1 port through CAN header. For additional details, refer to the Readme
document location in /EP805XX_release/Embedded/codelet/CAN.
1. Login as root. Root permissions are required for all operations.
2. Open a terminal window, change directory to /EP805XX_release/Embedded/
codelet/CAN and execute the bash script. Do not move the script to another
location.
[root@localhost ˜]# ./install.csh
The script checks for the Controller Area Network driver and client drivers, runs all
of the makefiles in the correct order, loads the client driver, and runs the
application.
The application output can be viewed in the terminal window.
3. Client driver output can be viewed in a second terminal window by printing
/var/log/ messages as follows:
[root@localhost ˜]# tail -f /var/log/messages
4. For information about the CAN codelet, refer to the Readme document located at
/EP805XX_release/Embedded/codelet/CAN.
5.2 Enhanced Direct Memory Access Driver
5.2.1 FreeBSD Compilation Instructions
All source files for the FreeBSD release of the Enhanced Direct Memory Access (EDMA)
driver are located in the following directory within the FreeBSD compatible EP80579
embedded software drivers release:
/EP805XX_release/Embedded/src/EDMA
Compilation of the FreeBSD EDMA driver separately from the rest of the software
package is possible. Change to the /EP805XX_release/Embedded/src/EDMA directory
and execute the following commands:
make clean
make
make install (this will install the driver for persistency)
The EDMA driver compiles, is installed, and the resulting dma.ko file is placed in the
/EP805XX_release/Embedded/build directory.
5.2.2 FreeBSD Module Load/Unload Instructions
Note: This step is not necessary if the make install command above succeeded. This is only
necessary to understand how to load and unload this driver individually.
Vista de pagina 21
1 2 ... 17 18 19 20 21 22 23 24 25 26 27 ... 35 36

Comentarios a estos manuales

Sin comentarios