Can not get octopus pro(446) id in can bus bridge mode

Basic Information:

MCU :octpus pro 446

I flash my octopus pro 446 in can bridge mode but i can not get mcu id . If i flash my octopus pro 446 in normal usb mode i can get mcu id

can bridge mode

pi@orangepi3-lts:~$ cd ./klipper
pi@orangepi3-lts:~/klipper$ make menuconfig
Loaded configuration ‘/home/pi/klipper/.config’
No changes to save (for ‘/home/pi/klipper/.config’)
Klipper Firmware Configuration
[*] Enable extra low-level configuration options
Micro-controller Architecture (STMicroelectronics STM32) —>
Processor model (STM32F446) —>
Bootloader offset (32KiB bootloader) —>
Clock Reference (12 MHz crystal) —>
Communication interface (USB to CAN bus bridge (USB on PA11/PA12)) —>
CAN bus interface (CAN bus (on PD0/PD1)) —>
USB ids —>
(500000) CAN bus speed
() GPIO pins to set at micro-controller startup
pi@orangepi3-lts:~/klipper$ make clean
pi@orangepi3-lts:~/klipper$ make
Creating symbolic link out/board
Building out/autoconf.h
Compiling out/src/sched.o
Compiling out/src/command.o
Compiling out/src/basecmd.o
Compiling out/src/debugcmds.o
Compiling out/src/initial_pins.o
Compiling out/src/gpiocmds.o
Compiling out/src/stepper.o
Compiling out/src/endstop.o
Compiling out/src/trsync.o
Compiling out/src/adccmds.o
Compiling out/src/spicmds.o
Compiling out/src/thermocouple.o
Compiling out/src/i2ccmds.o
Compiling out/src/pwmcmds.o
Compiling out/src/spi_software.o
Compiling out/src/sensor_adxl345.o
Compiling out/src/sensor_angle.o
Compiling out/src/sensor_mpu9250.o
Compiling out/src/lcd_st7920.o
Compiling out/src/lcd_hd44780.o
Compiling out/src/buttons.o
Compiling out/src/tmcuart.o
Compiling out/src/neopixel.o
Compiling out/src/pulse_counter.o
Compiling out/src/stm32/watchdog.o
Compiling out/src/stm32/gpio.o
Compiling out/src/stm32/clockline.o
Compiling out/src/generic/crc16_ccitt.o
Compiling out/src/generic/armcm_boot.o
Compiling out/src/generic/armcm_irq.o
Compiling out/src/generic/armcm_reset.o
Compiling out/src/…/lib/stm32f4/system_stm32f4xx.o
Compiling out/src/stm32/stm32f4.o
Compiling out/src/generic/armcm_timer.o
Compiling out/src/stm32/gpioperiph.o
Compiling out/src/stm32/adc.o
Compiling out/src/stm32/i2c.o
Compiling out/src/stm32/spi.o
Compiling out/src/stm32/usbotg.o
Compiling out/src/generic/canserial.o
Compiling out/src/…/lib/fast-hash/fasthash.o
Compiling out/src/stm32/can.o
Compiling out/src/stm32/chipid.o
Compiling out/src/generic/usb_canbus.o
Compiling out/src/stm32/hard_pwm.o
Building out/compile_time_request.o
Version: v0.10.0-557-gf7e29b27
Preprocessing out/src/generic/armcm_link.ld
Linking out/klipper.elf
Creating hex file out/klipper.bin
pi@orangepi3-lts:~/klipper$ lsusb
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 012: ID 1d50:606f OpenMoko, Inc. Geschwister Schneider CAN adapter
Bus 001 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 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
pi@orangepi3-lts:~/klipper$ ls /dev/serial/by-id
ls: cannot access ‘/dev/serial/by-id’: No such file or directory

usb mode

pi@orangepi3-lts:~/klipper$ make menuconfig
Loaded configuration ‘/home/pi/klipper/.config’
Klipper Firmware Configuration
[*] Enable extra low-level configuration options
Micro-controller Architecture (STMicroelectronics STM32) —>
Processor model (STM32F446) —>
Bootloader offset (32KiB bootloader) —>
Clock Reference (12 MHz crystal) —>
Communication interface (USB (on PA11/PA12)) —>
USB ids —>
() GPIO pins to set at micro-controller startup
Configuration saved to ‘/home/pi/klipper/.config’
pi@orangepi3-lts:~/klipper$ make clean
pi@orangepi3-lts:~/klipper$ make
Creating symbolic link out/board
Building out/autoconf.h
Compiling out/src/sched.o
Compiling out/src/command.o
Compiling out/src/basecmd.o
Compiling out/src/debugcmds.o
Compiling out/src/initial_pins.o
Compiling out/src/gpiocmds.o
Compiling out/src/stepper.o
Compiling out/src/endstop.o
Compiling out/src/trsync.o
Compiling out/src/adccmds.o
Compiling out/src/spicmds.o
Compiling out/src/thermocouple.o
Compiling out/src/i2ccmds.o
Compiling out/src/pwmcmds.o
Compiling out/src/spi_software.o
Compiling out/src/sensor_adxl345.o
Compiling out/src/sensor_angle.o
Compiling out/src/sensor_mpu9250.o
Compiling out/src/lcd_st7920.o
Compiling out/src/lcd_hd44780.o
Compiling out/src/buttons.o
Compiling out/src/tmcuart.o
Compiling out/src/neopixel.o
Compiling out/src/pulse_counter.o
Compiling out/src/stm32/watchdog.o
Compiling out/src/stm32/gpio.o
Compiling out/src/stm32/clockline.o
Compiling out/src/generic/crc16_ccitt.o
Compiling out/src/generic/armcm_boot.o
Compiling out/src/generic/armcm_irq.o
Compiling out/src/generic/armcm_reset.o
Compiling out/src/…/lib/stm32f4/system_stm32f4xx.o
Compiling out/src/stm32/stm32f4.o
Compiling out/src/generic/armcm_timer.o
Compiling out/src/stm32/gpioperiph.o
Compiling out/src/stm32/adc.o
Compiling out/src/stm32/i2c.o
Compiling out/src/stm32/spi.o
Compiling out/src/stm32/usbotg.o
Compiling out/src/stm32/chipid.o
Compiling out/src/generic/usb_cdc.o
Compiling out/src/stm32/hard_pwm.o
Building out/compile_time_request.o
Version: v0.10.0-557-gf7e29b27
Preprocessing out/src/generic/armcm_link.ld
Linking out/klipper.elf
Creating hex file out/klipper.bin
pi@orangepi3-lts:~/klipper$ lsusb
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 014: ID 1d50:614e OpenMoko, Inc. stm32f446xx
Bus 001 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 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
pi@orangepi3-lts:~/klipper$ ls /dev/serial/by-id
usb-Klipper_stm32f446xx_2E0034001551303432323631-if00

I had the same problem, when using the Octopus as a CAN bridge, there is no more serial mcu ID, but it gets also a UUID on the CAN bus. Disconnect the RJ11 connector from the board and give this command in the RPI:

~/klippy-env/bin/python ~/klipper/scripts/canbus_query.py can0

Then you get the UUID of the octopus board, then add this in the printer.cfg fila and comment out the serial.

To add to what @MaestroLmpio shared, you will only get CAN UUID for your Octopus board using Klipper USB to CAN bus bridge. Both the Octopus and attached CAN toolboard will be identified in your printer config with their own UUID.

You can get the serial MCU id /dev/serial/by-id/usb-Klipper_stm32f446xx_2E0034001551303432323631-if00 or DFU device id 1d50:614e by putting your Octopus board in DFU mode. This kicks it off the can0 network…actually shuts down the network since the Octopus board is “running” the network…and now you can find the Octopus by these two methods.

It will allow you to flash Klipper updates with make flash FLASH_DEVICE=1d50:614e or dfu-util method of flashing. Alternatively, flash with SD card.

I do as you say . but i still in problem
pi@orangepi3-lts:~/klipper$ ~/klippy-env/bin/python ~/klipper/scripts/canbus_query.py can0
Traceback (most recent call last):
File “/home/pi/klipper/scripts/canbus_query.py”, line 64, in
main()
File “/home/pi/klipper/scripts/canbus_query.py”, line 61, in main
query_unassigned(canbus_iface)
File “/home/pi/klipper/scripts/canbus_query.py”, line 25, in query_unassigned
bus.send(msg)
File “/home/pi/klippy-env/lib/python2.7/site-packages/can/interfaces/socketcan/socketcan.py”, line 658, in send
sent = self._send_once(data, msg.channel)
File “/home/pi/klippy-env/lib/python2.7/site-packages/can/interfaces/socketcan/socketcan.py”, line 681, in _send_once
raise can.CanError(“Failed to transmit: %s” % exc)
can.CanError: Failed to transmit: [Errno 100] Network is down
pi@orangepi3-lts:~/klipper$ lsusb
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 1d50:606f OpenMoko, Inc. Geschwister Schneider CAN adapter
Bus 001 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 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
pi@orangepi3-lts:~/klipper$ ls /dev/serial/by-id
ls: cannot access ‘/dev/serial/by-id’: No such file or directory
pi@orangepi3-lts:~/klipper$