- Connect the board to the host Raspberry Pi via USB adapter cable.
- This step depends on if your board has firmware on it or not already:
a) If you have a pre-flashed board first must enter DFU mode as follows:
• press the BOOT and RESET switch
• release the RESET while keeping the BOOT button pressed
• release BOOT switch button after 3 seconds
b) If you have a new un-flashed board:
• The MCU default's to DFU mode if there is no other firmware installed, confirm the board enters DFU mode in step 4.
![reset boot.PNG__PID:d065b1b7-f9db-4b4d-aa23-2fe718823ac6](https://cdn.shopify.com/s/files/1/0259/1948/8059/files/reset_boot.png?v=1715078368)
3. Connect to your host raspberry pi via SSH
4. Run lsusb from the command prompt
• Make sure you see an STM32 in DFU mode listed
5. Run dfu-util --list from the command prompt
• note the text inside the [xxxx:yyyy]
6.Run cd ~/klipper from the command line to enter the Klipper directory
7. Run make menuconfig settings should be:
• Cristal oscillator – 8Mhz
![MicrosoftTeams-image (20).png__PID:f0e0ba78-06d0-41f6-baa1-82897b0ded7b](https://cdn.shopify.com/s/files/1/0259/1948/8059/files/MicrosoftTeams-image_20.png?v=1715170141)
• Set custom USB ID to Rototool
![MicrosoftTeams-image (21).png__PID:ba7806d0-a1f6-4aa1-8289-7b0ded7b8fac](https://cdn.shopify.com/s/files/1/0259/1948/8059/files/MicrosoftTeams-image_21.png?v=1715170163)
• Optional features (to reduce code size):
![MicrosoftTeams-image (22).png__PID:06d0a1f6-baa1-4289-bb0d-ed7b8facfe31](https://cdn.shopify.com/s/files/1/0259/1948/8059/files/MicrosoftTeams-image_22.png?v=1715170177)
• Hit Q to Exit and Save
8. Run make clean to clean up the make environment
9 .Run make flash FLASH_DEVICE=xxxx:yyyy (using the xxxx:yyyy noted from step 5
usually 0483:df11). In case you encounter some errors but still having the message of File downloaded
successfully than you are good to proceed to the next step.
![x4.PNG__PID:26274472-fe21-4be5-9efc-cdede6ab65ab](https://cdn.shopify.com/s/files/1/0259/1948/8059/files/x4.png?v=1715079070)
10. Press the RESET button to restart the MCU and enter normal operating mode
11. Run ls /dev/serial/by-id/* should return a device with
/dev/serial/by-id/usb-Klipper_stm32f042x6_Rototool-if00. Copy this virtual serial port name to the Rototool config file MCU section
![mcu roto toolboard.PNG__PID:b5ef9298-28c3-41ac-b670-ceeb36a61761](https://cdn.shopify.com/s/files/1/0259/1948/8059/files/mcu_roto_toolboard.png?v=1715169136)
Your tool-board should now be usable with Klipper. Use the example config file to get started.
Best option is to copy the config file into the same directory as printer.cfg.
Add [include Rototool.cfg] to the beginning of your printer.cfg to include the file.
Comment out the unused I/O features of the Rototool config section.