can4linux is hosted on https://gitlab.com/hjoertel/can4linux since 2016. Don't use SourceForge anymore for this code.

can4linux is an universal Linux device driver for ISA or PCI interface boards with CAN interface and embedded CAN controller solutions. Based on the API provided by can4linux commercial protocol stacks for CANopen, J1939 and DeviceNet are available.

A first PCI board with an FPGA based CAN FD controller is supported (TARGET=IXXAT_IB500) in the CAN FD ISO mode but also non-ISO

Features

  • Freescale FlexCAN (ColdFire 5282, i.MX25, i.MX28, i.MX35)
  • Microchip Stand Alone CAN MCP2515 (On RaspberryPi)
  • NXP Stand Alone CAN SJA1000 (on different ISA or PCI/PCIe boards, e.g. EMS -our sponsor)
  • Atmel AT91SAM9263
  • Analog Devices BlackFin BF537
  • Xilinx Zynq - first release is out since 2013-02-03 - please test
  • 'virtual' CAN mode without CAN hardware for classic CAN and CAN FD
  • CAN FD support, first real hardware (IFI CAN IP) support available since May 2014 (ISO and non-ISO mode)
  • BananaPi with Allwinner A20 CPU (all A20 based boards)
  • Scripting Interface for Tcl
  • Scripting Interface for Python

Project Samples

Project Activity

See All Activity >

Follow can4linux

can4linux Web Site

Other Useful Business Software
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
2
0
0
0
0
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5

User Reviews

  • This driver has worked beautifully for the PC-104 Advantech CAN Card. As a troubleshooting tip for these cards, make sure IRQ's and memory blocks are appropriately reserved in BIOS.
  • Takes all of the headache out of working with common CAN chips. Personally, I've dealt with 82527 and SJA1000.
Read more reviews >

Additional Project Details

Operating Systems

Linux

Intended Audience

Developers

User Interface

Console/Terminal

Programming Language

C

Related Categories

C Operating System Kernels, C Hardware Drivers

Registered

2009-09-23