]> rtime.felk.cvut.cz Git - ortcan-www.git/blobdiff - lincan/usbcan/index.mdwn
Update URLs to the project GIT repositories after SF.net update to Allura platform.
[ortcan-www.git] / lincan / usbcan / index.mdwn
index fbb21c19f836f15133e28e6c073aaeebf6d83a58..7e6df654c97180f3d9df275f19897f09eaf9d8a0 100644 (file)
@@ -1,3 +1,42 @@
 [[!meta title="USB-CAN1 Board and LinCAN Support"]]
 
-The USB-CAN implements support for USB to CAN converters developed at Control Engineering Department of the Czech Technical University.
+The USB-CAN implements support for USB to CAN converters developed
+at [Control Engineering Department][dce] of the [Czech Technical University][ctu].
+
+The project includes embedded software/firmware of the USB-CAN converter as well
+as Linux kernel side support (for both [[LinCAN|lincan]] driver and SocketCAN found in Linux mainline now).
+
+LPC2148+SJA1000 and LPC1768 based hardware is supported by firmware which
+is based on [[LinCAN|lincan]] driver sources adapted to run on bare MCU hardware.
+
+The firmware sources are included in can-usb1 branch of [[LinCAN|lincan]] GIT repository.
+
+    git clone --branch can-usb1 git://git.code.sf.net/p/ortcan/lincan
+    cd lincan
+
+Edit build-embedded.sh to select required target board. The default select LPC2148+SJA1000
+configuration. Change to next for LPC1768 based board
+
+    BUILD_DIR=embedded-build/lpc1768
+    OMK_CONFIG=embedded/board/arm/lpc17xx-common/config/config.usbcan
+
+The firmware can be found in appropriate build output directory
+
+    embedded-build/lpc1768/_compiled/bin
+
+ARM GCC cross-compiler is required to build the project. arm-elf- compiler
+tool-chain build instruction and binaries can be found
+at [RTIME Cross-Compilers page][rtime-cross-compiler].
+
+The uLAN USB boot block is expected by default LPC1768 firmware build
+for for firmware flashing and startup but variant for direct startup
+can be compiled as well.
+
+SocketCAN Linux side support is included in branch vanekjir branch of
+[Real-Time Systems group][rtime]'s clone of [SocketCAN GIT][rtime-socketcan-devel].
+
+[rtime]:http://rtime.felk.cvut.cz/
+[rtime-socketcan-devel]:http://rtime.felk.cvut.cz/gitweb/socketcan-devel.git
+[dce]:http://dce.fel.cvut.cz/
+[ctu]:http://www.cvut.cz/
+[rtime-cross-compiler]:http://rtime.felk.cvut.cz/hw/index.php/Cross_compilers