voron 2.4 - mainsailos - klipper - moonraker - BTT Octopus - something wrong - HELP NEEDED

voron 2.4 - mainsailos - klipper - moonraker - BTT Octopus - something wrong - HELP NEEDED

I have been trying to get all this working and i’m stuck. I have watched many youtube videos and looked into so many posts and nothing seems to get me past this hump. I will try to dictate as best as I can.

Installed the latest mainsail OS on the PI. Changed the wifi information and can get to the mainsail web gui. I run into the issue where the mcu is unable to connect.

I will include clips of my printer.cfg, the klipper log and the moonraker log below. let me know if any other information would be helpful.

Printer.cfg - MCU lines

[mcu]

## [X in MOTOR0] - B Motor

## [Y in MOTOR1] - A Motor

## [E in MOTOR6] - Extruder

## Obtain definition by “ls -l /dev/serial/by-id/” then unplug to verify

##--------------------------------------------------------------------

serial: /dev/serial/by-id/usb-STMicroelectronics_BIGTREE_OCTOPUS_CDC_in_FS_Mode_203C31544853-if00

#restart_method: command

##--------------------------------------------------------------------

KLIPPER Log

Build file /home/pi/klipper/klippy/…/out/klipper.dict(6971): Thu Nov 18 14:10:48 2021

Last MCU build version: v0.10.0-130-g68c92991

Last MCU build tools: gcc: (15:7-2018-q2-6) 7.3.1 20180622 (release) [ARM/embedded-7-branch revision 261907] binutils: (2.31.1-11+rpi1+11) 2.31.1

Last MCU build config: BUS_PINS_i2c1=PB6,PB7 BUS_PINS_i2c2=PB10,PB11 BUS_PINS_spi3a=PC11,PC12,PC10 BUS_PINS_spi2a=PC2,PC3,PB10 BUS_PINS_i2c1a=PB8,PB9 RESERVE_PINS_crystal=PH0,PH1 STEPPER_BOTH_EDGE=1 ADC_MAX=4095 BUS_PINS_spi4=PE13,PE14,PE12 BUS_PINS_spi3=PB4,PB5,PB3 BUS_PINS_spi2=PB14,PB15,PB13 BUS_PINS_spi1=PA6,PA7,PA5 RESERVE_PINS_USB=PA11,PA12 PWM_MAX=255 MCU=stm32f446xx STATS_SUMSQ_BASE=256 BUS_PINS_spi1a=PB4,PB5,PB3 CLOCK_FREQ=180000000

Build file /home/pi/klipper/klippy/…/out/klipper.elf(271084): Thu Nov 18 14:10:53 2021

mcu ‘mcu’: Wait for identify_response

Traceback (most recent call last):

File “/home/pi/klipper/klippy/serialhdl.py”, line 69, in _get_identify_data

params = self.send_with_response(msg, ‘identify_response’)

File “/home/pi/klipper/klippy/serialhdl.py”, line 258, in send_with_response

return src.get_response([cmd], self.default_cmd_queue)

File “/home/pi/klipper/klippy/serialhdl.py”, line 316, in get_response

cmd_queue)

File “/home/pi/klipper/klippy/serialhdl.py”, line 250, in raw_send_wait_ack

self._error(“Serial connection closed”)

File “/home/pi/klipper/klippy/serialhdl.py”, line 62, in _error

raise error(self.warn_prefix + (msg % params))

error: mcu ‘mcu’: Serial connection closed

Moonraker

2021-11-18 14:55:49,080 [ websockets.py :build_error()] - JSON-RPC Request Error: 503

Klippy Host not connected

Traceback (most recent call last):

File “/home/pi/moonraker/moonraker/websockets.py”, line 224, in execute_method

**result = await method(conn, *args, kwargs)

File “/home/pi/moonraker/moonraker/websockets.py”, line 317, in func

user=ws.current_user))

File “/home/pi/moonraker/moonraker/moonraker.py”, line 541, in make_request

return await self._request_standard(web_request)

File “/home/pi/moonraker/moonraker/moonraker.py”, line 597, in _request_standard

return await base_request.wait()

File “/home/pi/moonraker/moonraker/moonraker.py”, line 779, in wait

raise self.response

utils.ServerError: Klippy Host not connected

2021-11-18 14:55:49,905 [ moonraker.py :connect()] - Klippy Connection Established

2021-11-18 14:55:49,922 [ moonraker.py :_init_klippy_connection()] - Webhooks Subscribed

2021-11-18 14:55:49,923 [ moonraker.py :_init_klippy_connection()] - GCode Output Subscribed

2021-11-18 14:57:23,081 [ moonraker.py :_check_ready()] -

mcu ‘mcu’: Unable to connect

Once the underlying issue is corrected, use the

"FIRMWARE_RESTART" command to reset the firmware, reload the

config, and restart the host software.

Error configuring printer

I have tried flashing to the MCU using

sudo service klipper stop

make flash FLASH_DEVICE=/dev/serial/by-id/usb-STMicroelectronics_BIGTREE_OCTOPUS_CDC_in_FS_Mode_203C31544853-if00

sudo service klipper start

and it gives me

no dfu capable usb device available

So I tried to flash using an SD card by copying the Klipper.bin file from windows sch and renaming it to firmware.bin, but I have no idea if that worked or not. I cannot seem to find any indicators to check if Klipper is indeed installed and flashed on the BTT Octopus.

I think I’m in the right frame of thought on this, but I need some help please.

Your post is virtually unreadable. Please use proper code tags or simply attach log files.

Otherwise:

If you still have problems post the klippy.log file.

I agree with others that your post is a difficult to read. Growing pains of a newbie like me. Hang in there.
Regarding firmware update. I believe Klipper will rename the file on the SD Card from “firmware.bin” to “FIRMWARE.CUR”. (note the case) IF it successfully flashes the board.

……my 2 cents…