Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
interfaces:usb2can [2022/12/07 12:18] – [Test] darroninterfaces:usb2can [2022/12/19 00:32] (current) – [Upgrade] darron
Line 2: Line 2:
 <wrap right> <wrap right>
 {{:interfaces:usb2can.jpg?100}} {{:interfaces:usb2can.jpg?100}}
 +\\ \\
 +{{:interfaces:candev.jpg?100}}
 </wrap> </wrap>
  
Line 15: Line 17:
   CAN Device Drivers ->   CAN Device Drivers ->
    CAN USB interfaces ->    CAN USB interfaces ->
-     < > 8 devices USB2CAN interface+     <M> 8 devices USB2CAN interface
 </code> </code>
  
Line 41: Line 43:
 ===Termination=== ===Termination===
  
-There is no termination resistor in the USB2CAN and one can +There is no termination resistor in the USB2CAN and 120 ohms can 
-be placed within plug housing.+be placed within the female plug housing between CANH and CANL
  
 === Test === === Test ===
Line 61: Line 63:
 cansend can0 123#DEADBEEF cansend can0 123#DEADBEEF
 cangen can0 cangen can0
 +</code>
 +
 +=== Pinout ===
 +
 +DB9 male socket
 +
 +<code>
 +1 2 3 4 5
 + 6 7 8 9
 +
 +STANDARD
 +2 CAN L
 +3 GND
 +6 GND
 +7 CAN H
 +</code>
 +
 +=== Upgrade ===
 +
 +Install dfu-util from source.
 +
 +==dfu-util==
 +
 +<code>
 +dfu-util -V
 +dfu-util 0.11-dev
 +</code>
 +
 +==Flash==
 +
 +Hold down button with a paper clip, or more easily prise
 +open case and press the button with a thumb  and insert
 +device in usb port.
 +
 +When upgrading omit the device ID because the firmware is
 +for product id 0.
 +
 +<code>
 +sudo dfu-util -D usb2can_1_7.dfu
 +</code>
 +
 +==dmesg==
 +
 +<code>
 +new full-speed USB device number 24 using dwc_otg
 +New USB device found, idVendor=0483, idProduct=1234, bcdDevice= 1.00
 +New USB device strings: Mfr=1, Product=2, SerialNumber=3
 +Product: USB2CAN converter
 +Manufacturer: edevices
 +SerialNumber: ED000200
 +usb_8dev can0: firmware: 1.7, hardware: 1.0
 </code> </code>
  
Line 72: Line 125:
  
 [[https://www.8devices.com/media/products/usb2can/downloads/usb2can_schematics.pdf|Schematic]] [[https://www.8devices.com/media/products/usb2can/downloads/usb2can_schematics.pdf|Schematic]]
 +
 +/*
 +[[https://web.archive.org/web/20160825184358/http://www.netduino.com/downloads/dfusedemo_3.0.3.zip|Windows DFU]]
 +*/
 +
 +[[https://www.8devices.com/media/products/usb2can/downloads/usb2can_1_7.zip|Last firmware]]