![SwissMicros DM41X User Manual Download Page 23](http://html.mh-extra.com/html/swissmicros/dm41x/dm41x_user-manual_1415168023.webp)
7.3.1. Prerequisites for Windows
You have to install libusb driver as described here:
http://www.swissmicros.com/doc/libusb_install/
7.3.2. Prerequisites for Linux
USB device access rights
This configuration is optional.
You can allow access to the DFU device for users in
plugdev
group by running as root:
cd /etc/udev/rules.d/
cat << OI > 49-stm32-dfuse.rules
# This is udev rules file (place in /etc/udev/rules.d)
# Makes STM32 DfuSe device accessible to the "plugdev" group
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11",
MODE="664", GROUP="plugdev"
OI
udevadm control --reload-rules
Then add users to
plugdev
group.
7.3.3. Launching dm_tool
Switch the calculator to bootloader mode
From menu or by RESET+PGM buttons (see
Connect the calculator to the PC
Be sure the libusb driver is installed if used in Windows (
http://www.swissmicros.com/doc/
libusb_install/libusb_install.html
Launch
dm_tool
It can be launched by clicking on the exe file or from command line with firmware filename as
argument.
If everything works well and the calculator was connected before launching
dm_tool
, then the
message at the right side of [Program] button should show device number. If it shows "No DFU
capable devices found (Click to refresh)" try to click at the message and it should display the ID of
connected device after refresh and
Memory layout:
0x8000000-0x80fffff: size 1024kB = 512*2kB pages
in the text area.
20