at91_can4linux-3.5.3

所属分类:嵌入式Linux
开发工具:C/C++
文件大小:152KB
下载次数:105
上传日期:2010-12-15 22:00:12
上 传 者jieren
说明:  AT91SAM9G20开发板上面蜂鸣器的linux设备驱动程序
(AT91SAM9G20 development board above the linux device driver buzzer)

文件列表:
can4linux-3.5.3\@ (34971, 2009-12-02)
can4linux-3.5.3\async.c (3665, 2006-04-22)
can4linux-3.5.3\at9263.h (14579, 2008-11-23)
can4linux-3.5.3\at9263funcs.c (34971, 2009-08-19)
can4linux-3.5.3\atmel_spi.h (4434, 2008-11-23)
can4linux-3.5.3\can4linux.h (6494, 2008-11-23)
can4linux-3.5.3\CHANGELOG (5863, 2008-11-23)
can4linux-3.5.3\close.c (3636, 2008-11-23)
can4linux-3.5.3\core.c (16340, 2009-12-03)
can4linux-3.5.3\cross-at9263 (1128, 2009-11-02)
can4linux-3.5.3\cross-mcp2515 (1232, 2010-01-15)
can4linux-3.5.3\cross-mmc (1216, 2008-11-23)
can4linux-3.5.3\cross-standard (259, 2008-11-23)
can4linux-3.5.3\debug (279, 2008-11-23)
can4linux-3.5.3\debug.c (806, 2008-11-23)
can4linux-3.5.3\debug.h (1552, 2009-08-19)
can4linux-3.5.3\defs.h (17734, 2008-11-23)
can4linux-3.5.3\Doxyfile (50928, 2006-04-22)
can4linux-3.5.3\ems_pci.c (16272, 2008-11-23)
can4linux-3.5.3\ems_pci.h (3229, 2008-11-23)
can4linux-3.5.3\error.c (762, 2006-04-22)
can4linux-3.5.3\ft.html (272, 2008-02-25)
can4linux-3.5.3\INSTALL.pdf (13560, 2008-11-23)
can4linux-3.5.3\INSTALL.t2 (16213, 2008-11-23)
can4linux-3.5.3\ioctl.c (14094, 2008-11-23)
can4linux-3.5.3\Kvaser (3316, 2006-04-22)
can4linux-3.5.3\Makefile (2578, 2009-12-18)
can4linux-3.5.3\Makefile-at9263 (2566, 2009-12-03)
can4linux-3.5.3\Makefile-k2.4 (13729, 2006-06-02)
can4linux-3.5.3\Makefile-mcp2515 (2578, 2009-12-18)
can4linux-3.5.3\Makefile-mmc (2342, 2008-11-23)
can4linux-3.5.3\Makefile-standard (12921, 2008-11-23)
can4linux-3.5.3\mcp2515.h (5502, 2008-11-23)
can4linux-3.5.3\mcp2515funcs.c (38194, 2009-12-23)
can4linux-3.5.3\mcp251x.h (287, 2008-11-23)
can4linux-3.5.3\mmc.c (7535, 2008-11-23)
can4linux-3.5.3\mmc.h (2661, 2008-11-23)
can4linux-3.5.3\open.c (6526, 2009-12-03)
can4linux-3.5.3\port.png (2339, 2006-04-22)
can4linux-3.5.3\read.c (5067, 2008-11-23)
... ...

can4linux 3.3.x (for kernel 2.6) MODULE_LICENSE("GPL"); read INSTALL*pdf (this is old stuff, for kernel 2.2 and 2.4 but anyway some hints are worth considering) select your hardware in the makefile and call make $make TARGET=CPC_PCI see also src/Readme and man/html/index.html Compile the driver for 2.4 Kernels $ make -f Makefile-k2.4 TARGET=CPC_PCI Memory mapped I/O =================================================== If a CAN Board uses memory mapped I/O on ISA, be sure that the in the PC BIOS access to that memory area is enabled. You can for example use Alessandro Rubini's silly device driver to read out the ISA IO memory area to scan for a SJA100. $ cat /dev/sillyb | od --address-radix=x -t x1| less after an hardware reset (power on) you should find the following pattern: 038000 21 ff 0c e0 00 00 00 00 00 60 ff ff ff ff ff ff 038010 ff ff ff ff fd fb df ff 0b 00 08 31 ff ff ff 00 (Adress is starting with 0 == 0x0a0000) The example above shows the result with a STZP/IXXAT PCI-03 board jumpered for 0xd800 with an sja1000 as CAN0. Especially "0c 0e" is the reset value for registers 2(status) and 3(interrupt). use $ cat /dev/sillyb \ | od --address-radix=x --skip-bytes 0x38000 --read-bytes=0x20 -t x1| less to see oly the 32 bytes at address 0xd8000. Example Sources at: http://www.cs.fsu.edu/~baker/devices/lxr/http/source/ldd-examples/misc-modules

近期下载者

相关文件


收藏者