17
11.4 Firmware Update (
Linux users).
This is the guide as posted by “drfiredesign” on ModWiggler Chaos page. While we can’t verify it, we would like to
thank him for his big contribute, and if you find it useful, go on the discussion page and say thanks to him!
(https://modwiggler.com/forum/viewtopic.php?t=241187&start=125)
•
Check if your kernel was already distributed with the appropriate drivers:
CODE: SELECT ALL
$ locate cp210
/usr/lib/modules/5.11.0-7614-generic/kernel/drivers/usb/serial/cp210x.ko
/usr/lib/modules/5.11.0-7620-generic/kernel/drivers/usb/serial/cp210x.ko
/usr/lib/modules/5.11.0-7633-generic/kernel/drivers/usb/serial/cp210x.ko
/usr/lib/modules/5.13.0-7614-generic/kernel/drivers/usb/serial/cp210x.ko
/usr/lib/modules/5.13.0-7620-generic/kernel/drivers/usb/serial/cp210x.ko
/usr/lib/modules/5.15.23-76051523-generic/kernel/drivers/usb/serial/cp210x.ko
/usr/lib/modules/5.15.5-76051505-generic/kernel/drivers/usb/serial/cp210x.ko
/usr/src/linux-headers-5.11.0-7614-generic/include/config/usb/serial/cp210x.h
/usr/src/linux-headers-5.11.0-7620-generic/include/config/usb/serial/cp210x.h
/usr/src/linux-headers-5.11.0-7633-generic/include/config/usb/serial/cp210x.h
•
If you have any output ending in cp210x.h or cp210x.ko you should be fine to proceed. Otherwise you will need
to sign up for an account on Silicon Labs as they do not provide Linux downloads without actual account
creation. There are no fees to register and download. Click in the link in the previous Mac and Windows section
to get started.
•
Device Programmer: Download and install the STM32CubeProgrammer version compatible with your device.
Please note that to download the software you will have to have an st.com account or leave your name and
email address.
•
Firmware Files: Finally, go to https://www.clank.eu/firmware-download and download the firmware .bin file
from the appropriate link.
•
Connect your module:
IMPORTANT: At this point, please make absolutely sure that your Chaos module is NOT attached to any kind of
power source.
•
Connect the micro-USB end of a micro-USB/USB cable to Chaos. While holding down the BOOT button [next
to the micro-USB port on the backside of the module], insert the USB end of the cable into your computer.
Once this is done you may release the BOOT button.
NOTE: You need to make sure your user is part of the appropriate usergroup in order to connect to your device.
Once you have connected your device, check for the owner group of the device you have connected. This is
probably going to be the dialout group, but your distro may be different.
CODE: SELECT ALL
$ ls -la /dev/ttyUSB0 | cut -d’ ‘ -f4
dialout
•
If you are already part of the appropriate group it will be listed in the output of the groups command:
CODE: SELECT ALL
$ groups
username dialout sudo plugdev
Summary of Contents for CLANK
Page 1: ...Chaos manual v 1 1...