Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
interfaces:usb2can [2022/12/07 16:45] – [Pinout] darron | interfaces:usb2can [2022/12/19 00:32] (current) – [Upgrade] darron | ||
---|---|---|---|
Line 17: | Line 17: | ||
CAN Device Drivers -> | CAN Device Drivers -> | ||
CAN USB interfaces -> | CAN USB interfaces -> | ||
- | < > 8 devices USB2CAN interface | + | <M> 8 devices USB2CAN interface |
</ | </ | ||
Line 43: | 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 | + | be placed within |
=== Test === | === Test === | ||
Line 70: | Line 70: | ||
< | < | ||
- | 5 4 3 2 1 | + | 1 2 3 4 5 |
- | 9 8 7 6 | + | |
+ | STANDARD | ||
2 CAN L | 2 CAN L | ||
3 GND | 3 GND | ||
Line 78: | Line 79: | ||
7 CAN H | 7 CAN H | ||
</ | </ | ||
+ | |||
+ | === Upgrade === | ||
+ | |||
+ | Install dfu-util from source. | ||
+ | |||
+ | ==dfu-util== | ||
+ | |||
+ | < | ||
+ | dfu-util -V | ||
+ | dfu-util 0.11-dev | ||
+ | </ | ||
+ | |||
+ | ==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. | ||
+ | |||
+ | < | ||
+ | sudo dfu-util -D usb2can_1_7.dfu | ||
+ | </ | ||
+ | |||
+ | ==dmesg== | ||
+ | |||
+ | < | ||
+ | new full-speed USB device number 24 using dwc_otg | ||
+ | New USB device found, idVendor=0483, | ||
+ | New USB device strings: Mfr=1, Product=2, SerialNumber=3 | ||
+ | Product: USB2CAN converter | ||
+ | Manufacturer: | ||
+ | SerialNumber: | ||
+ | usb_8dev can0: firmware: 1.7, hardware: 1.0 | ||
+ | </ | ||
+ | |||
=== Resources ==== | === Resources ==== | ||
Line 87: | Line 125: | ||
[[https:// | [[https:// | ||
+ | |||
+ | /* | ||
+ | [[https:// | ||
+ | */ | ||
+ | |||
+ | [[https:// |