Use ETAS ES582 on Ubuntu 20.04



ES582 – USB CAN FD Bus Interface by ETAS, not supported by python-can for now(20210717), but engineers from Bosch/ETAS have commit code to Linux Kernel, can be found in 5.13+.

Kernel version of Ubuntu 20.04 is 5.8.x, download latest stable kernel from Kernel PPA Mainline, 5.13.2 for now. https://kernel.ubuntu.com/~kernel-ppa/mainline/

Download 3 “generic” debs for your arch, and install by dpkg -i, reboot.

Next, lsmod | grep etas, if it’s not loaded by default, load by sudo modprobe etas_es58x.

Plug your ES582 into USB, sudo dmesg check if it’s recognized, then ip a, you should be able to see can0 and can1.

ES582 is so EXPENSIVE. To test the CAN/CANFD, get a DB9 connector and connect like this.

Now we get CAN High and CAN low connected like on a CAN BUS, we’re able to communicate between CAN0 and CAN1.

Then we configure can0 and can1 to support CANFD.

sudo ip link set can0 type can bitrate 1000000 triple-sampleing on fd on dbitrate 2000000

sudo ip link set can0 up

Same on can1.

Install can-utils and in terminal 1 send to can0 and terminal 2 dump on can1.

cansend can0 211##1112233445566

candump -L can1

MORE

Available options for ip command: https://www.kernel.org/doc/Documentation/networking/can.txt



Use ETAS ES582 on Ubuntu 20.04 by @sskaje: https://sskaje.me/2021/07/use-etas-es582-on-ubuntu-20-04/

Create Windows 7/8 Bootable USB Drive on OS X

This note works for Windows (e.g. Windows 7, Windows 8, …), Linux … ISO image only, and all commands in Terminal.

If you’re interested in using Disk Utility, try this: Create OS X Mavericks Bootable USB Drive from AppStore Release, but DON’T forget to unmount partitions.

To launch a Terminal, simply open Spotlight and type Terminal, in most cases, you can see Terminal listed after ‘Ter‘.

For Windows 7/8 or later, Boot Camp Assistant is the BEST tool.
In ‘Select Tasks‘, CHECK ‘Create a Windows 7 or later version disk’ and UNCHECK all others.
In ‘Create Bootable USB Drive for Windows Installation‘, choose the right usb destination disk.

Continue reading “Create Windows 7/8 Bootable USB Drive on OS X” »

Create Windows 7/8 Bootable USB Drive on OS X by @sskaje: https://sskaje.me/2014/02/create-windows-7-8-bootable-usb-drive-on-osx/

Create OS X Mavericks Bootable USB Drive from AppStore Release

1 Download Mavericks installer

Download from Mac App Store or anywhere.
The default folder name is ‘Install OS X Mavericks.app‘ not accessible directly from Mac Finder. There’s a DMG file locate at ‘Install OS X Mavericks.app/Contents/SharedSupport/InstallESD.dmg‘, this DMG contains all files we need.

2 Mount DMG directly from Terminal

Open Terminals,

The DMG will be mount at /Volumes/OS X Install ESD/

Continue reading “Create OS X Mavericks Bootable USB Drive from AppStore Release” »

Create OS X Mavericks Bootable USB Drive from AppStore Release by @sskaje: https://sskaje.me/2013/10/create-os-x-mavericks-bootable-usb-drive-from-appstore-release/

iPad not Charging on MacBook Pro?

It’s not the first time my iPad show not charging when it’s connected to my MBP.
IMG_0107

‘About This Mac’ => ‘More Info…’ => ‘System Report…’ => ‘Hardware’ => ‘USB’ => ‘iPad’

QQ20130425-1@2x

You’ll find ‘Extra Operating Current’ disappeared here.

Continue reading “iPad not Charging on MacBook Pro?” »

iPad not Charging on MacBook Pro? by @sskaje: https://sskaje.me/2013/04/ipad-not-charging-on-macbook-pro/