Table of Contents Introduction Usage warning Technical specification USB2CAN converter CAN connector pinout LED indication CAN bus termination Testing modes Work on Linux Driver and configuration Tools-can-utils (send/receive CAN packets) Tools-dfu-util (USB2CAN Firmware upgrade) Test code example Firmware upgrade Work on Windows Windows XP driver installation Windows 7 driver installation Windows 8 driver installation...
Page 3
Changes history Date Change list 2019-04-02 Initial release USB2CAN User Guide...
1. Introduction With Korlan USB2CAN you can monitor a CAN network, write a CAN program and communicate with industrial, medical, automotive or other CAN based device. It comes in two different versions: DB9 or OBD2. The Korlan CANBUS USB adapter connects a CAN bus to the USB port of any device running Linux or Windows operating system, which also supplies the power to the adapter (no power supply needed).
2. USB2CAN converter 2.1 CAN connector pinout Figure 2-1. DB9 connector Figure 2-2. OBD2 connector Signal Description Pin number Description No connection CANL CANL bus line (dominant low) CAN GND CAN Ground CAN Bus High No connection CAN Bus LOW CAN_SHLD Connected to CAN GND via 100 Ω...
2.2 LED indication Korlan USB2CAN has three LEDs (Power, Error, Info) for device status indication. Device status Indication modes are listed in the table below. 1 LED (Power) 2 LED (Error) 3 LED (Info) Status description Only Power LED on Device powered on.
2.4 Testing modes There are three testing modes supported by Korlan USB2CAN: • Loopback • Silent • Silent loopback Loopback mode Silent mode Silent loopback is used to test if the device is means the interface only listens is self test mode which can be operational when only one device to the CAN bus.
3. Work on Linux 3.1 Driver and configuration The Korlan USB2CAN converter is supported by mainline Linux since version 3.9. It works with Linux distributions like Ubuntu and Debian with no additional driver installation. For older version driver must be built manually.
3.4 Test code example Code example is available to download from a WEB (USB2CAN_TEST.py) Two CAN bus interfaces need to be connected on same computer together (Ex.: connect two USB2CAN usb ports to a computer and connect can ports together). The code sends random from one interface to another and checks if the received data is valid.
64-bit - USB2CAN Windows 64-bit (XP, Vista, Win7, Win8, Win10) USB driver v1.0.2.1 Plug Korlan USB2CAN device to computer USB connection. Info LED should be on, Error LED should be off. Use Hardware wizard, which will start after You plug device to PC.
If the driver installation was successful, Korlan USB2CAN Info LED should be off, Error LED should be on. Run USB2CAN test application (can be downloaded from 8devices WEB page). Test application should find all USB to CAN devices connectd to PC and their serial numbers. Insert the device’s serial number you would like to use and press “Open”.
Page 12
Choose sub2can device: Press “Update Driver”: Choose “Browse my computer for driver Browse for drivers location on Your software”: computer: Will pop-up Windows Security message. Finish installation: Press “Install”: USB2CAN User Guide...
If the driver installation was successful, Korlan USB2CAN Info LED shoud be off, Error LED should be on. Run USB2CAN test application (can be downloaded from 8devices WEB page). Test application should find all USB to CAN devices connectd to PC and their serial numbers. Insert the device’s serial number you would like to use and press “Open”:...
Page 14
Then mark USB2CAN device and chose Choose “Browse my computer for driver “Update driver software” from top menu: software”: Will pup-up Windows Security message. Browse for drivers and click next: Choose “Install”: And press “Close”: USB2CAN User Guide...
If the driver installation was successful, USB2CAN Info LED should be off, Error LED should be on. Run USB2CAN test application (can be downloaded from 8devices WEB page). Test application should find all USB to CAN devices connectd to PC and their serial numbers. Insert the device’s serial number you would like to use and press “Open”:...
Page 16
Choose USB2CAN device: Press “Update Driver”: Choose “Browse my computer for driver Browse for driver’s location on Your computer: software: Finish installation: USB2CAN User Guide...
If the driver installation was successful, USB2CAN Info LED should be off, Error LED should be on. Run USB2CAN test application (can be downloaded from 8devices WEB page). Test application should find all USB to CAN devices connectd to PC and their serial numbers. Insert the device’s serial number you would like to use and press “Open”:...
Need help?
Do you have a question about the Korlan USB2CAN and is the answer not in the manual?
Questions and answers