Following akhamar’s guide to install klipper and have this error: FlashCanError: Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-CanBoot_stm32f446xx_32003A000751313133353932-if00: [Errno 2] No such file or directory: ‘/dev/serial/by-id/usb-CanBoot_stm32f446xx_32003A000751313133353932-if00’
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 005: ID 0483:df11 STMicroelectronics STM Device in DFU Mode
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
pi@Voron2:~$
Is your board listend in /dev/serial/by-id/ , if not, it is not registering as a serial device and you won’t be able to flash it via DFU. It would be best you initially flash it using an SD card.
Flash the firmware usning the SD card method. Copy the klipper.bin file to an empty SD cards root dir and rename it firmware.bin. Turn power of, insert card, turn power on and wait a minute or so. After this, your board should be flashed. If successful, the file on SD card should have been renamed firmware.cur.
I already flashed klipper previously from sd card. I am trying to setup a canbus network on this board but get the error message i posted. I really appreciate your help but am going through some confusion. The dir /dev/serial/by-id / was on the pi and then dissapeared and now no longer exists. The akahamar guide has me cd into /CanBoot/ scripts and then run the python flash_can.py -f ~/firmware/octopus_klipper.bin -d /dev/serial/by-id/usb-CanBoot_stm32f446xx_“my boards serial number”
What you seem to be doing is flashing Katapult (previously CanBoot) to your board which will allow you to do upgrades to your firmware via flashing tool, but it is not necessary to run Kipper in usb-can bridge mode. I would first try via SD card until everything works as it should. Then you can decide to install Katapult and reflash Klipper firmware.