Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Args: ['/home/pi/klipper/klippy/klippy.py', '/home/pi/klipper_config/printer.cfg', '-l', '/home/pi/klipper_logs/klippy.log', '-a', '/tmp/klippy_uds']
- Git version: 'v0.10.0-515-g24a1b50e'
- CPU: 4 core ARMv7 Processor rev 3 (v7l)
- Python: '2.7.18 (default, Jul 14 2021, 08:11:37) \n[GCC 10.2.1 20210110]'
- =============== Log rollover at Thu Oct 13 10:43:32 2022 ===============
- Args: ['/home/pi/klipper/klippy/klippy.py', '/home/pi/klipper_config/printer.cfg', '-l', '/home/pi/klipper_logs/klippy.log', '-a', '/tmp/klippy_uds']
- Git version: 'v0.10.0-515-g24a1b50e'
- CPU: 4 core ARMv7 Processor rev 3 (v7l)
- Python: '2.7.18 (default, Jul 14 2021, 08:11:37) \n[GCC 10.2.1 20210110]'
- Building C code module c_helper.so
- Start printer at Thu Oct 13 10:43:44 2022 (1665654224.9 58.2)
- Unable to open config file /home/pi/klipper_config/printer.cfg
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/configfile.py", line 154, in _read_config_file
- f = open(filename, 'r')
- IOError: [Errno 2] No such file or directory: '/home/pi/klipper_config/printer.cfg'
- Config error
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/klippy.py", line 175, in _connect
- self._read_config()
- File "/home/pi/klipper/klippy/klippy.py", line 134, in _read_config
- config = pconfig.read_main_config()
- File "/home/pi/klipper/klippy/configfile.py", line 275, in read_main_config
- data = self._read_config_file(filename)
- File "/home/pi/klipper/klippy/configfile.py", line 160, in _read_config_file
- raise error(msg)
- Error: Unable to open config file /home/pi/klipper_config/printer.cfg
- webhooks client 3045460288: New connection
- webhooks client 3045460288: Client info {'program': 'Moonraker', 'version': 'v0.7.1-597-gd37f91c'}
- webhooks client 3045460288: Disconnected
- Restarting printer
- Start printer at Thu Oct 13 10:53:38 2022 (1665654818.6 651.8)
- Unable to open config file /home/pi/klipper_config/printer.cfg
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/configfile.py", line 154, in _read_config_file
- f = open(filename, 'r')
- IOError: [Errno 2] No such file or directory: '/home/pi/klipper_config/printer.cfg'
- Config error
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/klippy.py", line 175, in _connect
- self._read_config()
- File "/home/pi/klipper/klippy/klippy.py", line 134, in _read_config
- config = pconfig.read_main_config()
- File "/home/pi/klipper/klippy/configfile.py", line 275, in read_main_config
- data = self._read_config_file(filename)
- File "/home/pi/klipper/klippy/configfile.py", line 160, in _read_config_file
- raise error(msg)
- Error: Unable to open config file /home/pi/klipper_config/printer.cfg
- webhooks client 3045407400: New connection
- webhooks client 3045407400: Client info {'program': 'Moonraker', 'version': 'v0.7.1-597-gd37f91c'}
- webhooks client 3045407400: Disconnected
- Restarting printer
- Start printer at Thu Oct 13 10:57:05 2022 (1665655025.2 858.4)
- ===== Config file =====
- [stepper_x]
- step_pin = PB13
- dir_pin = !PB12
- enable_pin = !PB14
- microsteps = 16
- rotation_distance = 40
- endstop_pin = ^PC0
- position_endstop = 0
- position_max = 235
- homing_speed = 50
- [tmc2209 stepper_x]
- uart_pin = PC11
- tx_pin = PC10
- uart_address = 0
- run_current = 0.580
- stealthchop_threshold = 999999
- [stepper_y]
- step_pin = PB10
- dir_pin = !PB2
- enable_pin = !PB11
- microsteps = 16
- rotation_distance = 40
- endstop_pin = ^PC1
- position_endstop = 0
- position_max = 235
- homing_speed = 50
- [tmc2209 stepper_y]
- uart_pin = PC11
- tx_pin = PC10
- uart_address = 2
- run_current = 0.580
- stealthchop_threshold = 999999
- [stepper_z]
- step_pin = PB0
- dir_pin = PC5
- enable_pin = !PB1
- microsteps = 16
- rotation_distance = 8
- endstop_pin = ^PC2
- position_endstop = 0.0
- position_max = 250
- [tmc2209 stepper_z]
- uart_pin = PC11
- tx_pin = PC10
- uart_address = 1
- run_current = 0.580
- stealthchop_threshold = 999999
- [extruder]
- step_pin = PB3
- dir_pin = !PB4
- enable_pin = !PD1
- microsteps = 16
- rotation_distance = 33.500
- nozzle_diameter = 0.400
- filament_diameter = 1.750
- heater_pin = PC8
- sensor_type = EPCOS 100K B57560G104F
- sensor_pin = PA0
- control = pid
- pid_kp = 21.527
- pid_ki = 1.063
- pid_kd = 108.982
- min_temp = 0
- max_temp = 250
- [tmc2209 extruder]
- uart_pin = PC11
- tx_pin = PC10
- uart_address = 3
- run_current = 0.650
- stealthchop_threshold = 999999
- [heater_bed]
- heater_pin = PC9
- sensor_type = ATC Semitec 104GT-2
- sensor_pin = PC4
- control = pid
- pid_kp = 54.027
- pid_ki = 0.770
- pid_kd = 948.182
- min_temp = 0
- max_temp = 130
- [heater_fan nozzle_cooling_fan]
- pin = PC7
- [heater_fan controller_fan]
- pin = PB15
- [fan]
- pin = PC6
- [mcu]
- serial = /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00
- [printer]
- kinematics = cartesian
- max_velocity = 300
- max_accel = 3000
- max_z_velocity = 5
- max_z_accel = 100
- [board_pins]
- aliases =
- EXP1_1=PB5, EXP1_3=PA9, EXP1_5=PA10, EXP1_7=PB8, EXP1_9=<GND>,
- EXP1_2=PA15, EXP1_4=<RST>, EXP1_6=PB9, EXP1_8=PD6, EXP1_10=<5V>
- =======================
- Extruder max_extrude_ratio=0.266081
- mcu 'mcu': Starting serial connect
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00'
- webhooks client 3045470536: New connection
- webhooks client 3045470536: Client info {'program': 'Moonraker', 'version': 'v0.7.1-597-gd37f91c'}
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00'
- MCU error during connect
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/klippy.py", line 176, in _connect
- self.send_event("klippy:mcu_identify")
- File "/home/pi/klipper/klippy/klippy.py", line 264, in send_event
- return [cb(*params) for cb in self.event_handlers.get(event, [])]
- File "/home/pi/klipper/klippy/mcu.py", line 779, in _mcu_identify
- raise error(str(e))
- error: mcu 'mcu': Unable to connect
- Build file /home/pi/klipper/klippy/../.config(1859): Thu Oct 13 10:49:13 2022
- ========= Last MCU build config =========
- # CONFIG_LOW_LEVEL_OPTIONS is not set
- # CONFIG_MACH_AVR is not set
- # CONFIG_MACH_ATSAM is not set
- # CONFIG_MACH_ATSAMD is not set
- # CONFIG_MACH_LPC176X is not set
- CONFIG_MACH_STM32=y
- # CONFIG_MACH_RP2040 is not set
- # CONFIG_MACH_PRU is not set
- # CONFIG_MACH_LINUX is not set
- # CONFIG_MACH_SIMU is not set
- CONFIG_BOARD_DIRECTORY="stm32"
- CONFIG_MCU="stm32g0b1xx"
- CONFIG_CLOCK_FREQ=64000000
- CONFIG_USBSERIAL=y
- CONFIG_FLASH_START=0x8002000
- CONFIG_FLASH_SIZE=0x20000
- CONFIG_RAM_START=0x20000000
- CONFIG_RAM_SIZE=0x24000
- CONFIG_STACK_SIZE=512
- CONFIG_STM32_SELECT=y
- # CONFIG_MACH_STM32F103 is not set
- # CONFIG_MACH_STM32F207 is not set
- # CONFIG_MACH_STM32F401 is not set
- # CONFIG_MACH_STM32F405 is not set
- # CONFIG_MACH_STM32F407 is not set
- # CONFIG_MACH_STM32F429 is not set
- # CONFIG_MACH_STM32F446 is not set
- # CONFIG_MACH_STM32F031 is not set
- # CONFIG_MACH_STM32F042 is not set
- # CONFIG_MACH_STM32F070 is not set
- # CONFIG_MACH_STM32F072 is not set
- CONFIG_MACH_STM32G0B1=y
- # CONFIG_MACH_STM32H743 is not set
- # CONFIG_MACH_STM32H750 is not set
- CONFIG_MACH_STM32G0=y
- CONFIG_HAVE_STM32_USBFS=y
- CONFIG_HAVE_STM32_FDCANBUS=y
- CONFIG_HAVE_STM32_USBCANBUS=y
- CONFIG_STM32_FLASH_START_2000=y
- # CONFIG_STM32_FLASH_START_0000 is not set
- CONFIG_CLOCK_REF_FREQ=8000000
- CONFIG_STM32F0_TRIM=16
- CONFIG_STM32_USB_PA11_PA12=y
- # CONFIG_STM32_SERIAL_USART1 is not set
- # CONFIG_STM32_CANBUS_PA11_PA12 is not set
- # CONFIG_STM32_MMENU_CANBUS_PB0_PB1 is not set
- # CONFIG_STM32_USBCANBUS_PA11_PA12 is not set
- CONFIG_USB_VENDOR_ID=0x1d50
- CONFIG_USB_DEVICE_ID=0x614e
- CONFIG_USB_SERIAL_NUMBER_CHIPID=y
- CONFIG_USB_SERIAL_NUMBER="12345"
- CONFIG_CANBUS_FREQUENCY=500000
- CONFIG_HAVE_GPIO=y
- CONFIG_HAVE_GPIO_ADC=y
- CONFIG_HAVE_GPIO_SPI=y
- CONFIG_HAVE_GPIO_I2C=y
- CONFIG_HAVE_GPIO_BITBANGING=y
- CONFIG_HAVE_STRICT_TIMING=y
- CONFIG_HAVE_CHIPID=y
- CONFIG_HAVE_STEPPER_BOTH_EDGE=y
- CONFIG_INLINE_STEPPER_HACK=y
- =======================
- Build file /home/pi/klipper/klippy/../out/klipper.dict(7149): Thu Oct 13 10:50:21 2022
- Last MCU build version: v0.10.0-515-g24a1b50e
- Last MCU build tools: gcc: (15:8-2019-q3-1+b1) 8.3.1 20190703 (release) [gcc-8-branch revision 273027] binutils: (2.34-4+rpi1+14) 2.34
- Last MCU build config: BUS_PINS_i2c1=PB6,PB7 BUS_PINS_spi2a=PC2,PC3,PB10 BUS_PINS_i2c1a=PF1,PF0 STEPPER_BOTH_EDGE=1 ADC_MAX=4095 RESERVE_PINS_crystal=PF0,PF1 BUS_PINS_spi3=PB4,PB5,PB3 BUS_PINS_spi2=PB14,PB15,PB13 BUS_PINS_spi1=PA6,PA7,PA5 RESERVE_PINS_USB=PA11,PA12 MCU=stm32g0b1xx STATS_SUMSQ_BASE=256 BUS_PINS_spi1a=PB4,PB5,PB3 CLOCK_FREQ=64000000
- Build file /home/pi/klipper/klippy/../out/klipper.elf(1004608): Thu Oct 13 10:50:27 2022
- Attempting MCU 'mcu' reset
- Unhandled exception during post run
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/klippy.py", line 235, in run
- m.microcontroller_restart()
- File "/home/pi/klipper/klippy/mcu.py", line 922, in microcontroller_restart
- self._restart_arduino()
- File "/home/pi/klipper/klippy/mcu.py", line 884, in _restart_arduino
- serialhdl.arduino_reset(self._serialport, self._reactor)
- File "/home/pi/klipper/klippy/serialhdl.py", line 376, in arduino_reset
- ser = serial.Serial(serialport, 2400, timeout=0, exclusive=True)
- File "/home/pi/klippy-env/lib/python2.7/site-packages/serial/serialutil.py", line 240, in __init__
- self.open()
- File "/home/pi/klippy-env/lib/python2.7/site-packages/serial/serialposix.py", line 268, in open
- raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
- SerialException: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00'
- Restarting printer
- Start printer at Thu Oct 13 10:58:36 2022 (1665655116.7 950.0)
- ===== Config file =====
- [stepper_x]
- step_pin = PB13
- dir_pin = !PB12
- enable_pin = !PB14
- microsteps = 16
- rotation_distance = 40
- endstop_pin = ^PC0
- position_endstop = 0
- position_max = 235
- homing_speed = 50
- [tmc2209 stepper_x]
- uart_pin = PC11
- tx_pin = PC10
- uart_address = 0
- run_current = 0.580
- stealthchop_threshold = 999999
- [stepper_y]
- step_pin = PB10
- dir_pin = !PB2
- enable_pin = !PB11
- microsteps = 16
- rotation_distance = 40
- endstop_pin = ^PC1
- position_endstop = 0
- position_max = 235
- homing_speed = 50
- [tmc2209 stepper_y]
- uart_pin = PC11
- tx_pin = PC10
- uart_address = 2
- run_current = 0.580
- stealthchop_threshold = 999999
- [stepper_z]
- step_pin = PB0
- dir_pin = PC5
- enable_pin = !PB1
- microsteps = 16
- rotation_distance = 8
- endstop_pin = ^PC2
- position_endstop = 0.0
- position_max = 250
- [tmc2209 stepper_z]
- uart_pin = PC11
- tx_pin = PC10
- uart_address = 1
- run_current = 0.580
- stealthchop_threshold = 999999
- [extruder]
- step_pin = PB3
- dir_pin = !PB4
- enable_pin = !PD1
- microsteps = 16
- rotation_distance = 33.500
- nozzle_diameter = 0.400
- filament_diameter = 1.750
- heater_pin = PC8
- sensor_type = EPCOS 100K B57560G104F
- sensor_pin = PA0
- control = pid
- pid_kp = 21.527
- pid_ki = 1.063
- pid_kd = 108.982
- min_temp = 0
- max_temp = 250
- [tmc2209 extruder]
- uart_pin = PC11
- tx_pin = PC10
- uart_address = 3
- run_current = 0.650
- stealthchop_threshold = 999999
- [heater_bed]
- heater_pin = PC9
- sensor_type = ATC Semitec 104GT-2
- sensor_pin = PC4
- control = pid
- pid_kp = 54.027
- pid_ki = 0.770
- pid_kd = 948.182
- min_temp = 0
- max_temp = 130
- [heater_fan nozzle_cooling_fan]
- pin = PC7
- [heater_fan controller_fan]
- pin = PB15
- [fan]
- pin = PC6
- [mcu]
- serial = /dev/ttyAMA0
- restart_method = command
- [printer]
- kinematics = cartesian
- max_velocity = 300
- max_accel = 3000
- max_z_velocity = 5
- max_z_accel = 100
- [board_pins]
- aliases =
- EXP1_1=PB5, EXP1_3=PA9, EXP1_5=PA10, EXP1_7=PB8, EXP1_9=<GND>,
- EXP1_2=PA15, EXP1_4=<RST>, EXP1_6=PB9, EXP1_8=PD6, EXP1_10=<5V>
- =======================
- Extruder max_extrude_ratio=0.266081
- mcu 'mcu': Starting serial connect
- webhooks client 3042511208: New connection
- webhooks client 3042511208: Client info {'program': 'Moonraker', 'version': 'v0.7.1-597-gd37f91c'}
- mcu 'mcu': Timeout on connect
- 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
- mcu 'mcu': Timeout on connect
- 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
- mcu 'mcu': Timeout on connect
- 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
- mcu 'mcu': Timeout on connect
- 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
- mcu 'mcu': Timeout on connect
- 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
- mcu 'mcu': Timeout on connect
- 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
- mcu 'mcu': Timeout on connect
- 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
- mcu 'mcu': Timeout on connect
- 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
- mcu 'mcu': Timeout on connect
- 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
- mcu 'mcu': Timeout on connect
- 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
- mcu 'mcu': Timeout on connect
- 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
- mcu 'mcu': Timeout on connect
- 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
- mcu 'mcu': Timeout on connect
- 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
- mcu 'mcu': Timeout on connect
- 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
- mcu 'mcu': Timeout on connect
- 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
- mcu 'mcu': Timeout on connect
- 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
- mcu 'mcu': Timeout on connect
- 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
- mcu 'mcu': Timeout on connect
- MCU error during connect
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/klippy.py", line 176, in _connect
- self.send_event("klippy:mcu_identify")
- File "/home/pi/klipper/klippy/klippy.py", line 264, in send_event
- return [cb(*params) for cb in self.event_handlers.get(event, [])]
- File "/home/pi/klipper/klippy/mcu.py", line 779, in _mcu_identify
- raise error(str(e))
- error: mcu 'mcu': Unable to connect
- Build file /home/pi/klipper/klippy/../.config(1859): Thu Oct 13 10:49:13 2022
- ========= Last MCU build config =========
- # CONFIG_LOW_LEVEL_OPTIONS is not set
- # CONFIG_MACH_AVR is not set
- # CONFIG_MACH_ATSAM is not set
- # CONFIG_MACH_ATSAMD is not set
- # CONFIG_MACH_LPC176X is not set
- CONFIG_MACH_STM32=y
- # CONFIG_MACH_RP2040 is not set
- # CONFIG_MACH_PRU is not set
- # CONFIG_MACH_LINUX is not set
- # CONFIG_MACH_SIMU is not set
- CONFIG_BOARD_DIRECTORY="stm32"
- CONFIG_MCU="stm32g0b1xx"
- CONFIG_CLOCK_FREQ=64000000
- CONFIG_USBSERIAL=y
- CONFIG_FLASH_START=0x8002000
- CONFIG_FLASH_SIZE=0x20000
- CONFIG_RAM_START=0x20000000
- CONFIG_RAM_SIZE=0x24000
- CONFIG_STACK_SIZE=512
- CONFIG_STM32_SELECT=y
- # CONFIG_MACH_STM32F103 is not set
- # CONFIG_MACH_STM32F207 is not set
- # CONFIG_MACH_STM32F401 is not set
- # CONFIG_MACH_STM32F405 is not set
- # CONFIG_MACH_STM32F407 is not set
- # CONFIG_MACH_STM32F429 is not set
- # CONFIG_MACH_STM32F446 is not set
- # CONFIG_MACH_STM32F031 is not set
- # CONFIG_MACH_STM32F042 is not set
- # CONFIG_MACH_STM32F070 is not set
- # CONFIG_MACH_STM32F072 is not set
- CONFIG_MACH_STM32G0B1=y
- # CONFIG_MACH_STM32H743 is not set
- # CONFIG_MACH_STM32H750 is not set
- CONFIG_MACH_STM32G0=y
- CONFIG_HAVE_STM32_USBFS=y
- CONFIG_HAVE_STM32_FDCANBUS=y
- CONFIG_HAVE_STM32_USBCANBUS=y
- CONFIG_STM32_FLASH_START_2000=y
- # CONFIG_STM32_FLASH_START_0000 is not set
- CONFIG_CLOCK_REF_FREQ=8000000
- CONFIG_STM32F0_TRIM=16
- CONFIG_STM32_USB_PA11_PA12=y
- # CONFIG_STM32_SERIAL_USART1 is not set
- # CONFIG_STM32_CANBUS_PA11_PA12 is not set
- # CONFIG_STM32_MMENU_CANBUS_PB0_PB1 is not set
- # CONFIG_STM32_USBCANBUS_PA11_PA12 is not set
- CONFIG_USB_VENDOR_ID=0x1d50
- CONFIG_USB_DEVICE_ID=0x614e
- CONFIG_USB_SERIAL_NUMBER_CHIPID=y
- CONFIG_USB_SERIAL_NUMBER="12345"
- CONFIG_CANBUS_FREQUENCY=500000
- CONFIG_HAVE_GPIO=y
- CONFIG_HAVE_GPIO_ADC=y
- CONFIG_HAVE_GPIO_SPI=y
- CONFIG_HAVE_GPIO_I2C=y
- CONFIG_HAVE_GPIO_BITBANGING=y
- CONFIG_HAVE_STRICT_TIMING=y
- CONFIG_HAVE_CHIPID=y
- CONFIG_HAVE_STEPPER_BOTH_EDGE=y
- CONFIG_INLINE_STEPPER_HACK=y
- =======================
- Build file /home/pi/klipper/klippy/../out/klipper.dict(7149): Thu Oct 13 10:50:21 2022
- Last MCU build version: v0.10.0-515-g24a1b50e
- Last MCU build tools: gcc: (15:8-2019-q3-1+b1) 8.3.1 20190703 (release) [gcc-8-branch revision 273027] binutils: (2.34-4+rpi1+14) 2.34
- Last MCU build config: BUS_PINS_i2c1=PB6,PB7 BUS_PINS_spi2a=PC2,PC3,PB10 BUS_PINS_i2c1a=PF1,PF0 STEPPER_BOTH_EDGE=1 ADC_MAX=4095 RESERVE_PINS_crystal=PF0,PF1 BUS_PINS_spi3=PB4,PB5,PB3 BUS_PINS_spi2=PB14,PB15,PB13 BUS_PINS_spi1=PA6,PA7,PA5 RESERVE_PINS_USB=PA11,PA12 MCU=stm32g0b1xx STATS_SUMSQ_BASE=256 BUS_PINS_spi1a=PB4,PB5,PB3 CLOCK_FREQ=64000000
- Build file /home/pi/klipper/klippy/../out/klipper.elf(1004608): Thu Oct 13 10:50:27 2022
- 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
- Starting Klippy...
- Args: ['/home/pi/klipper/klippy/klippy.py', '/home/pi/klipper_config/printer.cfg', '-l', '/home/pi/klipper_logs/klippy.log', '-a', '/tmp/klippy_uds']
- Git version: 'v0.10.0-594-g7290c145'
- CPU: 4 core ARMv7 Processor rev 3 (v7l)
- Python: '2.7.18 (default, Jul 14 2021, 08:11:37) \n[GCC 10.2.1 20210110]'
- Building C code module c_helper.so
- Start printer at Thu Oct 13 11:14:54 2022 (1665656094.5 1927.8)
- ===== Config file =====
- [stepper_x]
- step_pin = PB13
- dir_pin = !PB12
- enable_pin = !PB14
- microsteps = 16
- rotation_distance = 40
- endstop_pin = ^PC0
- position_endstop = 0
- position_max = 235
- homing_speed = 50
- [tmc2209 stepper_x]
- uart_pin = PC11
- tx_pin = PC10
- uart_address = 0
- run_current = 0.580
- stealthchop_threshold = 999999
- [stepper_y]
- step_pin = PB10
- dir_pin = !PB2
- enable_pin = !PB11
- microsteps = 16
- rotation_distance = 40
- endstop_pin = ^PC1
- position_endstop = 0
- position_max = 235
- homing_speed = 50
- [tmc2209 stepper_y]
- uart_pin = PC11
- tx_pin = PC10
- uart_address = 2
- run_current = 0.580
- stealthchop_threshold = 999999
- [stepper_z]
- step_pin = PB0
- dir_pin = PC5
- enable_pin = !PB1
- microsteps = 16
- rotation_distance = 8
- endstop_pin = ^PC2
- position_endstop = 0.0
- position_max = 250
- [tmc2209 stepper_z]
- uart_pin = PC11
- tx_pin = PC10
- uart_address = 1
- run_current = 0.580
- stealthchop_threshold = 999999
- [extruder]
- step_pin = PB3
- dir_pin = !PB4
- enable_pin = !PD1
- microsteps = 16
- rotation_distance = 33.500
- nozzle_diameter = 0.400
- filament_diameter = 1.750
- heater_pin = PC8
- sensor_type = EPCOS 100K B57560G104F
- sensor_pin = PA0
- control = pid
- pid_kp = 21.527
- pid_ki = 1.063
- pid_kd = 108.982
- min_temp = 0
- max_temp = 250
- [tmc2209 extruder]
- uart_pin = PC11
- tx_pin = PC10
- uart_address = 3
- run_current = 0.650
- stealthchop_threshold = 999999
- [heater_bed]
- heater_pin = PC9
- sensor_type = ATC Semitec 104GT-2
- sensor_pin = PC4
- control = pid
- pid_kp = 54.027
- pid_ki = 0.770
- pid_kd = 948.182
- min_temp = 0
- max_temp = 130
- [heater_fan nozzle_cooling_fan]
- pin = PC7
- [heater_fan controller_fan]
- pin = PB15
- [fan]
- pin = PC6
- [mcu]
- serial = /dev/ttyAMA0
- restart_method = command
- [printer]
- kinematics = cartesian
- max_velocity = 300
- max_accel = 3000
- max_z_velocity = 5
- max_z_accel = 100
- [board_pins]
- aliases =
- EXP1_1=PB5, EXP1_3=PA9, EXP1_5=PA10, EXP1_7=PB8, EXP1_9=<GND>,
- EXP1_2=PA15, EXP1_4=<RST>, EXP1_6=PB9, EXP1_8=PD6, EXP1_10=<5V>
- =======================
- Extruder max_extrude_ratio=0.266081
- mcu 'mcu': Starting serial connect
- webhooks client 3042103128: New connection
- webhooks client 3042103128: Client info {'program': 'Moonraker', 'version': 'v0.7.1-597-gd37f91c'}
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- MCU error during connect
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/klippy.py", line 176, in _connect
- self.send_event("klippy:mcu_identify")
- File "/home/pi/klipper/klippy/klippy.py", line 263, in send_event
- return [cb(*params) for cb in self.event_handlers.get(event, [])]
- File "/home/pi/klipper/klippy/mcu.py", line 782, in _mcu_identify
- raise error(str(e))
- error: mcu 'mcu': Unable to connect
- Build file /home/pi/klipper/klippy/../.config(1859): Thu Oct 13 10:49:13 2022
- ========= Last MCU build config =========
- # CONFIG_LOW_LEVEL_OPTIONS is not set
- # CONFIG_MACH_AVR is not set
- # CONFIG_MACH_ATSAM is not set
- # CONFIG_MACH_ATSAMD is not set
- # CONFIG_MACH_LPC176X is not set
- CONFIG_MACH_STM32=y
- # CONFIG_MACH_RP2040 is not set
- # CONFIG_MACH_PRU is not set
- # CONFIG_MACH_LINUX is not set
- # CONFIG_MACH_SIMU is not set
- CONFIG_BOARD_DIRECTORY="stm32"
- CONFIG_MCU="stm32g0b1xx"
- CONFIG_CLOCK_FREQ=64000000
- CONFIG_USBSERIAL=y
- CONFIG_FLASH_START=0x8002000
- CONFIG_FLASH_SIZE=0x20000
- CONFIG_RAM_START=0x20000000
- CONFIG_RAM_SIZE=0x24000
- CONFIG_STACK_SIZE=512
- CONFIG_STM32_SELECT=y
- # CONFIG_MACH_STM32F103 is not set
- # CONFIG_MACH_STM32F207 is not set
- # CONFIG_MACH_STM32F401 is not set
- # CONFIG_MACH_STM32F405 is not set
- # CONFIG_MACH_STM32F407 is not set
- # CONFIG_MACH_STM32F429 is not set
- # CONFIG_MACH_STM32F446 is not set
- # CONFIG_MACH_STM32F031 is not set
- # CONFIG_MACH_STM32F042 is not set
- # CONFIG_MACH_STM32F070 is not set
- # CONFIG_MACH_STM32F072 is not set
- CONFIG_MACH_STM32G0B1=y
- # CONFIG_MACH_STM32H743 is not set
- # CONFIG_MACH_STM32H750 is not set
- CONFIG_MACH_STM32G0=y
- CONFIG_HAVE_STM32_USBFS=y
- CONFIG_HAVE_STM32_FDCANBUS=y
- CONFIG_HAVE_STM32_USBCANBUS=y
- CONFIG_STM32_FLASH_START_2000=y
- # CONFIG_STM32_FLASH_START_0000 is not set
- CONFIG_CLOCK_REF_FREQ=8000000
- CONFIG_STM32F0_TRIM=16
- CONFIG_STM32_USB_PA11_PA12=y
- # CONFIG_STM32_SERIAL_USART1 is not set
- # CONFIG_STM32_CANBUS_PA11_PA12 is not set
- # CONFIG_STM32_MMENU_CANBUS_PB0_PB1 is not set
- # CONFIG_STM32_USBCANBUS_PA11_PA12 is not set
- CONFIG_USB_VENDOR_ID=0x1d50
- CONFIG_USB_DEVICE_ID=0x614e
- CONFIG_USB_SERIAL_NUMBER_CHIPID=y
- CONFIG_USB_SERIAL_NUMBER="12345"
- CONFIG_CANBUS_FREQUENCY=500000
- CONFIG_HAVE_GPIO=y
- CONFIG_HAVE_GPIO_ADC=y
- CONFIG_HAVE_GPIO_SPI=y
- CONFIG_HAVE_GPIO_I2C=y
- CONFIG_HAVE_GPIO_BITBANGING=y
- CONFIG_HAVE_STRICT_TIMING=y
- CONFIG_HAVE_CHIPID=y
- CONFIG_HAVE_STEPPER_BOTH_EDGE=y
- CONFIG_INLINE_STEPPER_HACK=y
- =======================
- Build file /home/pi/klipper/klippy/../out/klipper.dict(7149): Thu Oct 13 10:50:21 2022
- Last MCU build version: v0.10.0-515-g24a1b50e
- Last MCU build tools: gcc: (15:8-2019-q3-1+b1) 8.3.1 20190703 (release) [gcc-8-branch revision 273027] binutils: (2.34-4+rpi1+14) 2.34
- Last MCU build config: BUS_PINS_i2c1=PB6,PB7 BUS_PINS_spi2a=PC2,PC3,PB10 BUS_PINS_i2c1a=PF1,PF0 STEPPER_BOTH_EDGE=1 ADC_MAX=4095 RESERVE_PINS_crystal=PF0,PF1 BUS_PINS_spi3=PB4,PB5,PB3 BUS_PINS_spi2=PB14,PB15,PB13 BUS_PINS_spi1=PA6,PA7,PA5 RESERVE_PINS_USB=PA11,PA12 MCU=stm32g0b1xx STATS_SUMSQ_BASE=256 BUS_PINS_spi1a=PB4,PB5,PB3 CLOCK_FREQ=64000000
- Build file /home/pi/klipper/klippy/../out/klipper.elf(1004608): Thu Oct 13 10:50:27 2022
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- Unable to issue reset command on MCU 'mcu'
- webhooks client 3042103128: Disconnected
- Restarting printer
- Start printer at Thu Oct 13 11:26:39 2022 (1665656799.4 2632.6)
- ===== Config file =====
- [stepper_x]
- step_pin = PB13
- dir_pin = !PB12
- enable_pin = !PB14
- microsteps = 16
- rotation_distance = 40
- endstop_pin = ^PC0
- position_endstop = 0
- position_max = 235
- homing_speed = 50
- [tmc2209 stepper_x]
- uart_pin = PC11
- tx_pin = PC10
- uart_address = 0
- run_current = 0.580
- stealthchop_threshold = 999999
- [stepper_y]
- step_pin = PB10
- dir_pin = !PB2
- enable_pin = !PB11
- microsteps = 16
- rotation_distance = 40
- endstop_pin = ^PC1
- position_endstop = 0
- position_max = 235
- homing_speed = 50
- [tmc2209 stepper_y]
- uart_pin = PC11
- tx_pin = PC10
- uart_address = 2
- run_current = 0.580
- stealthchop_threshold = 999999
- [stepper_z]
- step_pin = PB0
- dir_pin = PC5
- enable_pin = !PB1
- microsteps = 16
- rotation_distance = 8
- endstop_pin = ^PC2
- position_endstop = 0.0
- position_max = 250
- [tmc2209 stepper_z]
- uart_pin = PC11
- tx_pin = PC10
- uart_address = 1
- run_current = 0.580
- stealthchop_threshold = 999999
- [extruder]
- step_pin = PB3
- dir_pin = !PB4
- enable_pin = !PD1
- microsteps = 16
- rotation_distance = 33.500
- nozzle_diameter = 0.400
- filament_diameter = 1.750
- heater_pin = PC8
- sensor_type = EPCOS 100K B57560G104F
- sensor_pin = PA0
- control = pid
- pid_kp = 21.527
- pid_ki = 1.063
- pid_kd = 108.982
- min_temp = 0
- max_temp = 250
- [tmc2209 extruder]
- uart_pin = PC11
- tx_pin = PC10
- uart_address = 3
- run_current = 0.650
- stealthchop_threshold = 999999
- [heater_bed]
- heater_pin = PC9
- sensor_type = ATC Semitec 104GT-2
- sensor_pin = PC4
- control = pid
- pid_kp = 54.027
- pid_ki = 0.770
- pid_kd = 948.182
- min_temp = 0
- max_temp = 130
- [heater_fan nozzle_cooling_fan]
- pin = PC7
- [heater_fan controller_fan]
- pin = PB15
- [fan]
- pin = PC6
- [mcu]
- serial = /dev/ttyAMA0
- restart_method = command
- [printer]
- kinematics = cartesian
- max_velocity = 300
- max_accel = 3000
- max_z_velocity = 5
- max_z_accel = 100
- [board_pins]
- aliases =
- EXP1_1=PB5, EXP1_3=PA9, EXP1_5=PA10, EXP1_7=PB8, EXP1_9=<GND>,
- EXP1_2=PA15, EXP1_4=<RST>, EXP1_6=PB9, EXP1_8=PD6, EXP1_10=<5V>
- =======================
- Extruder max_extrude_ratio=0.266081
- mcu 'mcu': Starting serial connect
- webhooks client 3044631256: New connection
- webhooks client 3044631256: Client info {'program': 'Moonraker', 'version': 'v0.7.1-597-gd37f91c'}
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- MCU error during connect
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/klippy.py", line 176, in _connect
- self.send_event("klippy:mcu_identify")
- File "/home/pi/klipper/klippy/klippy.py", line 263, in send_event
- return [cb(*params) for cb in self.event_handlers.get(event, [])]
- File "/home/pi/klipper/klippy/mcu.py", line 782, in _mcu_identify
- raise error(str(e))
- error: mcu 'mcu': Unable to connect
- Build file /home/pi/klipper/klippy/../.config(1859): Thu Oct 13 10:49:13 2022
- ========= Last MCU build config =========
- # CONFIG_LOW_LEVEL_OPTIONS is not set
- # CONFIG_MACH_AVR is not set
- # CONFIG_MACH_ATSAM is not set
- # CONFIG_MACH_ATSAMD is not set
- # CONFIG_MACH_LPC176X is not set
- CONFIG_MACH_STM32=y
- # CONFIG_MACH_RP2040 is not set
- # CONFIG_MACH_PRU is not set
- # CONFIG_MACH_LINUX is not set
- # CONFIG_MACH_SIMU is not set
- CONFIG_BOARD_DIRECTORY="stm32"
- CONFIG_MCU="stm32g0b1xx"
- CONFIG_CLOCK_FREQ=64000000
- CONFIG_USBSERIAL=y
- CONFIG_FLASH_START=0x8002000
- CONFIG_FLASH_SIZE=0x20000
- CONFIG_RAM_START=0x20000000
- CONFIG_RAM_SIZE=0x24000
- CONFIG_STACK_SIZE=512
- CONFIG_STM32_SELECT=y
- # CONFIG_MACH_STM32F103 is not set
- # CONFIG_MACH_STM32F207 is not set
- # CONFIG_MACH_STM32F401 is not set
- # CONFIG_MACH_STM32F405 is not set
- # CONFIG_MACH_STM32F407 is not set
- # CONFIG_MACH_STM32F429 is not set
- # CONFIG_MACH_STM32F446 is not set
- # CONFIG_MACH_STM32F031 is not set
- # CONFIG_MACH_STM32F042 is not set
- # CONFIG_MACH_STM32F070 is not set
- # CONFIG_MACH_STM32F072 is not set
- CONFIG_MACH_STM32G0B1=y
- # CONFIG_MACH_STM32H743 is not set
- # CONFIG_MACH_STM32H750 is not set
- CONFIG_MACH_STM32G0=y
- CONFIG_HAVE_STM32_USBFS=y
- CONFIG_HAVE_STM32_FDCANBUS=y
- CONFIG_HAVE_STM32_USBCANBUS=y
- CONFIG_STM32_FLASH_START_2000=y
- # CONFIG_STM32_FLASH_START_0000 is not set
- CONFIG_CLOCK_REF_FREQ=8000000
- CONFIG_STM32F0_TRIM=16
- CONFIG_STM32_USB_PA11_PA12=y
- # CONFIG_STM32_SERIAL_USART1 is not set
- # CONFIG_STM32_CANBUS_PA11_PA12 is not set
- # CONFIG_STM32_MMENU_CANBUS_PB0_PB1 is not set
- # CONFIG_STM32_USBCANBUS_PA11_PA12 is not set
- CONFIG_USB_VENDOR_ID=0x1d50
- CONFIG_USB_DEVICE_ID=0x614e
- CONFIG_USB_SERIAL_NUMBER_CHIPID=y
- CONFIG_USB_SERIAL_NUMBER="12345"
- CONFIG_CANBUS_FREQUENCY=500000
- CONFIG_HAVE_GPIO=y
- CONFIG_HAVE_GPIO_ADC=y
- CONFIG_HAVE_GPIO_SPI=y
- CONFIG_HAVE_GPIO_I2C=y
- CONFIG_HAVE_GPIO_BITBANGING=y
- CONFIG_HAVE_STRICT_TIMING=y
- CONFIG_HAVE_CHIPID=y
- CONFIG_HAVE_STEPPER_BOTH_EDGE=y
- CONFIG_INLINE_STEPPER_HACK=y
- =======================
- Build file /home/pi/klipper/klippy/../out/klipper.dict(7149): Thu Oct 13 10:50:21 2022
- Last MCU build version: v0.10.0-515-g24a1b50e
- Last MCU build tools: gcc: (15:8-2019-q3-1+b1) 8.3.1 20190703 (release) [gcc-8-branch revision 273027] binutils: (2.34-4+rpi1+14) 2.34
- Last MCU build config: BUS_PINS_i2c1=PB6,PB7 BUS_PINS_spi2a=PC2,PC3,PB10 BUS_PINS_i2c1a=PF1,PF0 STEPPER_BOTH_EDGE=1 ADC_MAX=4095 RESERVE_PINS_crystal=PF0,PF1 BUS_PINS_spi3=PB4,PB5,PB3 BUS_PINS_spi2=PB14,PB15,PB13 BUS_PINS_spi1=PA6,PA7,PA5 RESERVE_PINS_USB=PA11,PA12 MCU=stm32g0b1xx STATS_SUMSQ_BASE=256 BUS_PINS_spi1a=PB4,PB5,PB3 CLOCK_FREQ=64000000
- Build file /home/pi/klipper/klippy/../out/klipper.elf(1004608): Thu Oct 13 10:50:27 2022
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- Unable to issue reset command on MCU 'mcu'
- webhooks client 3044631256: Disconnected
- Restarting printer
- Start printer at Thu Oct 13 11:30:41 2022 (1665657041.5 2874.7)
- ===== Config file =====
- [stepper_x]
- step_pin = PB13
- dir_pin = !PB12
- enable_pin = !PB14
- microsteps = 16
- rotation_distance = 40
- endstop_pin = ^PC0
- position_endstop = 0
- position_max = 235
- homing_speed = 50
- [tmc2209 stepper_x]
- uart_pin = PC11
- tx_pin = PC10
- uart_address = 0
- run_current = 0.580
- stealthchop_threshold = 999999
- [stepper_y]
- step_pin = PB10
- dir_pin = !PB2
- enable_pin = !PB11
- microsteps = 16
- rotation_distance = 40
- endstop_pin = ^PC1
- position_endstop = 0
- position_max = 235
- homing_speed = 50
- [tmc2209 stepper_y]
- uart_pin = PC11
- tx_pin = PC10
- uart_address = 2
- run_current = 0.580
- stealthchop_threshold = 999999
- [stepper_z]
- step_pin = PB0
- dir_pin = PC5
- enable_pin = !PB1
- microsteps = 16
- rotation_distance = 8
- endstop_pin = ^PC2
- position_endstop = 0.0
- position_max = 250
- [tmc2209 stepper_z]
- uart_pin = PC11
- tx_pin = PC10
- uart_address = 1
- run_current = 0.580
- stealthchop_threshold = 999999
- [extruder]
- step_pin = PB3
- dir_pin = !PB4
- enable_pin = !PD1
- microsteps = 16
- rotation_distance = 33.500
- nozzle_diameter = 0.400
- filament_diameter = 1.750
- heater_pin = PC8
- sensor_type = EPCOS 100K B57560G104F
- sensor_pin = PA0
- control = pid
- pid_kp = 21.527
- pid_ki = 1.063
- pid_kd = 108.982
- min_temp = 0
- max_temp = 250
- [tmc2209 extruder]
- uart_pin = PC11
- tx_pin = PC10
- uart_address = 3
- run_current = 0.650
- stealthchop_threshold = 999999
- [heater_bed]
- heater_pin = PC9
- sensor_type = ATC Semitec 104GT-2
- sensor_pin = PC4
- control = pid
- pid_kp = 54.027
- pid_ki = 0.770
- pid_kd = 948.182
- min_temp = 0
- max_temp = 130
- [heater_fan nozzle_cooling_fan]
- pin = PC7
- [heater_fan controller_fan]
- pin = PB15
- [fan]
- pin = PC6
- [mcu]
- serial = /dev/ttyAMA0
- restart_method = command
- [printer]
- kinematics = cartesian
- max_velocity = 300
- max_accel = 3000
- max_z_velocity = 5
- max_z_accel = 100
- [board_pins]
- aliases =
- EXP1_1=PB5, EXP1_3=PA9, EXP1_5=PA10, EXP1_7=PB8, EXP1_9=<GND>,
- EXP1_2=PA15, EXP1_4=<RST>, EXP1_6=PB9, EXP1_8=PD6, EXP1_10=<5V>
- =======================
- Extruder max_extrude_ratio=0.266081
- mcu 'mcu': Starting serial connect
- webhooks client 3044308032: New connection
- webhooks client 3044308032: Client info {'program': 'Moonraker', 'version': 'v0.7.1-597-gd37f91c'}
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- MCU error during connect
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/klippy.py", line 176, in _connect
- self.send_event("klippy:mcu_identify")
- File "/home/pi/klipper/klippy/klippy.py", line 263, in send_event
- return [cb(*params) for cb in self.event_handlers.get(event, [])]
- File "/home/pi/klipper/klippy/mcu.py", line 782, in _mcu_identify
- raise error(str(e))
- error: mcu 'mcu': Unable to connect
- Build file /home/pi/klipper/klippy/../.config(1859): Thu Oct 13 10:49:13 2022
- ========= Last MCU build config =========
- # CONFIG_LOW_LEVEL_OPTIONS is not set
- # CONFIG_MACH_AVR is not set
- # CONFIG_MACH_ATSAM is not set
- # CONFIG_MACH_ATSAMD is not set
- # CONFIG_MACH_LPC176X is not set
- CONFIG_MACH_STM32=y
- # CONFIG_MACH_RP2040 is not set
- # CONFIG_MACH_PRU is not set
- # CONFIG_MACH_LINUX is not set
- # CONFIG_MACH_SIMU is not set
- CONFIG_BOARD_DIRECTORY="stm32"
- CONFIG_MCU="stm32g0b1xx"
- CONFIG_CLOCK_FREQ=64000000
- CONFIG_USBSERIAL=y
- CONFIG_FLASH_START=0x8002000
- CONFIG_FLASH_SIZE=0x20000
- CONFIG_RAM_START=0x20000000
- CONFIG_RAM_SIZE=0x24000
- CONFIG_STACK_SIZE=512
- CONFIG_STM32_SELECT=y
- # CONFIG_MACH_STM32F103 is not set
- # CONFIG_MACH_STM32F207 is not set
- # CONFIG_MACH_STM32F401 is not set
- # CONFIG_MACH_STM32F405 is not set
- # CONFIG_MACH_STM32F407 is not set
- # CONFIG_MACH_STM32F429 is not set
- # CONFIG_MACH_STM32F446 is not set
- # CONFIG_MACH_STM32F031 is not set
- # CONFIG_MACH_STM32F042 is not set
- # CONFIG_MACH_STM32F070 is not set
- # CONFIG_MACH_STM32F072 is not set
- CONFIG_MACH_STM32G0B1=y
- # CONFIG_MACH_STM32H743 is not set
- # CONFIG_MACH_STM32H750 is not set
- CONFIG_MACH_STM32G0=y
- CONFIG_HAVE_STM32_USBFS=y
- CONFIG_HAVE_STM32_FDCANBUS=y
- CONFIG_HAVE_STM32_USBCANBUS=y
- CONFIG_STM32_FLASH_START_2000=y
- # CONFIG_STM32_FLASH_START_0000 is not set
- CONFIG_CLOCK_REF_FREQ=8000000
- CONFIG_STM32F0_TRIM=16
- CONFIG_STM32_USB_PA11_PA12=y
- # CONFIG_STM32_SERIAL_USART1 is not set
- # CONFIG_STM32_CANBUS_PA11_PA12 is not set
- # CONFIG_STM32_MMENU_CANBUS_PB0_PB1 is not set
- # CONFIG_STM32_USBCANBUS_PA11_PA12 is not set
- CONFIG_USB_VENDOR_ID=0x1d50
- CONFIG_USB_DEVICE_ID=0x614e
- CONFIG_USB_SERIAL_NUMBER_CHIPID=y
- CONFIG_USB_SERIAL_NUMBER="12345"
- CONFIG_CANBUS_FREQUENCY=500000
- CONFIG_HAVE_GPIO=y
- CONFIG_HAVE_GPIO_ADC=y
- CONFIG_HAVE_GPIO_SPI=y
- CONFIG_HAVE_GPIO_I2C=y
- CONFIG_HAVE_GPIO_BITBANGING=y
- CONFIG_HAVE_STRICT_TIMING=y
- CONFIG_HAVE_CHIPID=y
- CONFIG_HAVE_STEPPER_BOTH_EDGE=y
- CONFIG_INLINE_STEPPER_HACK=y
- =======================
- Build file /home/pi/klipper/klippy/../out/klipper.dict(7149): Thu Oct 13 10:50:21 2022
- Last MCU build version: v0.10.0-515-g24a1b50e
- Last MCU build tools: gcc: (15:8-2019-q3-1+b1) 8.3.1 20190703 (release) [gcc-8-branch revision 273027] binutils: (2.34-4+rpi1+14) 2.34
- Last MCU build config: BUS_PINS_i2c1=PB6,PB7 BUS_PINS_spi2a=PC2,PC3,PB10 BUS_PINS_i2c1a=PF1,PF0 STEPPER_BOTH_EDGE=1 ADC_MAX=4095 RESERVE_PINS_crystal=PF0,PF1 BUS_PINS_spi3=PB4,PB5,PB3 BUS_PINS_spi2=PB14,PB15,PB13 BUS_PINS_spi1=PA6,PA7,PA5 RESERVE_PINS_USB=PA11,PA12 MCU=stm32g0b1xx STATS_SUMSQ_BASE=256 BUS_PINS_spi1a=PB4,PB5,PB3 CLOCK_FREQ=64000000
- Build file /home/pi/klipper/klippy/../out/klipper.elf(1004608): Thu Oct 13 10:50:27 2022
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- Unable to issue reset command on MCU 'mcu'
- webhooks client 3044308032: Disconnected
- Restarting printer
- Start printer at Thu Oct 13 11:34:56 2022 (1665657296.2 3129.5)
- ===== Config file =====
- [stepper_x]
- step_pin = PB13
- dir_pin = !PB12
- enable_pin = !PB14
- microsteps = 16
- rotation_distance = 40
- endstop_pin = ^PC0
- position_endstop = 0
- position_max = 235
- homing_speed = 50
- [tmc2209 stepper_x]
- uart_pin = PC11
- tx_pin = PC10
- uart_address = 0
- run_current = 0.580
- stealthchop_threshold = 999999
- [stepper_y]
- step_pin = PB10
- dir_pin = !PB2
- enable_pin = !PB11
- microsteps = 16
- rotation_distance = 40
- endstop_pin = ^PC1
- position_endstop = 0
- position_max = 235
- homing_speed = 50
- [tmc2209 stepper_y]
- uart_pin = PC11
- tx_pin = PC10
- uart_address = 2
- run_current = 0.580
- stealthchop_threshold = 999999
- [stepper_z]
- step_pin = PB0
- dir_pin = PC5
- enable_pin = !PB1
- microsteps = 16
- rotation_distance = 8
- endstop_pin = ^PC2
- position_endstop = 0.0
- position_max = 250
- [tmc2209 stepper_z]
- uart_pin = PC11
- tx_pin = PC10
- uart_address = 1
- run_current = 0.580
- stealthchop_threshold = 999999
- [extruder]
- step_pin = PB3
- dir_pin = !PB4
- enable_pin = !PD1
- microsteps = 16
- rotation_distance = 33.500
- nozzle_diameter = 0.400
- filament_diameter = 1.750
- heater_pin = PC8
- sensor_type = EPCOS 100K B57560G104F
- sensor_pin = PA0
- control = pid
- pid_kp = 21.527
- pid_ki = 1.063
- pid_kd = 108.982
- min_temp = 0
- max_temp = 250
- [tmc2209 extruder]
- uart_pin = PC11
- tx_pin = PC10
- uart_address = 3
- run_current = 0.650
- stealthchop_threshold = 999999
- [heater_bed]
- heater_pin = PC9
- sensor_type = ATC Semitec 104GT-2
- sensor_pin = PC4
- control = pid
- pid_kp = 54.027
- pid_ki = 0.770
- pid_kd = 948.182
- min_temp = 0
- max_temp = 130
- [heater_fan nozzle_cooling_fan]
- pin = PC7
- [heater_fan controller_fan]
- pin = PB15
- [fan]
- pin = PC6
- [mcu]
- serial = /dev/ttyAMA0
- restart_method = command
- [printer]
- kinematics = cartesian
- max_velocity = 300
- max_accel = 3000
- max_z_velocity = 5
- max_z_accel = 100
- [board_pins]
- aliases =
- EXP1_1=PB5, EXP1_3=PA9, EXP1_5=PA10, EXP1_7=PB8, EXP1_9=<GND>,
- EXP1_2=PA15, EXP1_4=<RST>, EXP1_6=PB9, EXP1_8=PD6, EXP1_10=<5V>
- =======================
- Extruder max_extrude_ratio=0.266081
- mcu 'mcu': Starting serial connect
- webhooks client 3042392224: New connection
- webhooks client 3042392224: Client info {'program': 'Moonraker', 'version': 'v0.7.1-597-gd37f91c'}
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- MCU error during connect
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/klippy.py", line 176, in _connect
- self.send_event("klippy:mcu_identify")
- File "/home/pi/klipper/klippy/klippy.py", line 263, in send_event
- return [cb(*params) for cb in self.event_handlers.get(event, [])]
- File "/home/pi/klipper/klippy/mcu.py", line 782, in _mcu_identify
- raise error(str(e))
- error: mcu 'mcu': Unable to connect
- Build file /home/pi/klipper/klippy/../.config(1859): Thu Oct 13 10:49:13 2022
- ========= Last MCU build config =========
- # CONFIG_LOW_LEVEL_OPTIONS is not set
- # CONFIG_MACH_AVR is not set
- # CONFIG_MACH_ATSAM is not set
- # CONFIG_MACH_ATSAMD is not set
- # CONFIG_MACH_LPC176X is not set
- CONFIG_MACH_STM32=y
- # CONFIG_MACH_RP2040 is not set
- # CONFIG_MACH_PRU is not set
- # CONFIG_MACH_LINUX is not set
- # CONFIG_MACH_SIMU is not set
- CONFIG_BOARD_DIRECTORY="stm32"
- CONFIG_MCU="stm32g0b1xx"
- CONFIG_CLOCK_FREQ=64000000
- CONFIG_USBSERIAL=y
- CONFIG_FLASH_START=0x8002000
- CONFIG_FLASH_SIZE=0x20000
- CONFIG_RAM_START=0x20000000
- CONFIG_RAM_SIZE=0x24000
- CONFIG_STACK_SIZE=512
- CONFIG_STM32_SELECT=y
- # CONFIG_MACH_STM32F103 is not set
- # CONFIG_MACH_STM32F207 is not set
- # CONFIG_MACH_STM32F401 is not set
- # CONFIG_MACH_STM32F405 is not set
- # CONFIG_MACH_STM32F407 is not set
- # CONFIG_MACH_STM32F429 is not set
- # CONFIG_MACH_STM32F446 is not set
- # CONFIG_MACH_STM32F031 is not set
- # CONFIG_MACH_STM32F042 is not set
- # CONFIG_MACH_STM32F070 is not set
- # CONFIG_MACH_STM32F072 is not set
- CONFIG_MACH_STM32G0B1=y
- # CONFIG_MACH_STM32H743 is not set
- # CONFIG_MACH_STM32H750 is not set
- CONFIG_MACH_STM32G0=y
- CONFIG_HAVE_STM32_USBFS=y
- CONFIG_HAVE_STM32_FDCANBUS=y
- CONFIG_HAVE_STM32_USBCANBUS=y
- CONFIG_STM32_FLASH_START_2000=y
- # CONFIG_STM32_FLASH_START_0000 is not set
- CONFIG_CLOCK_REF_FREQ=8000000
- CONFIG_STM32F0_TRIM=16
- CONFIG_STM32_USB_PA11_PA12=y
- # CONFIG_STM32_SERIAL_USART1 is not set
- # CONFIG_STM32_CANBUS_PA11_PA12 is not set
- # CONFIG_STM32_MMENU_CANBUS_PB0_PB1 is not set
- # CONFIG_STM32_USBCANBUS_PA11_PA12 is not set
- CONFIG_USB_VENDOR_ID=0x1d50
- CONFIG_USB_DEVICE_ID=0x614e
- CONFIG_USB_SERIAL_NUMBER_CHIPID=y
- CONFIG_USB_SERIAL_NUMBER="12345"
- CONFIG_CANBUS_FREQUENCY=500000
- CONFIG_HAVE_GPIO=y
- CONFIG_HAVE_GPIO_ADC=y
- CONFIG_HAVE_GPIO_SPI=y
- CONFIG_HAVE_GPIO_I2C=y
- CONFIG_HAVE_GPIO_BITBANGING=y
- CONFIG_HAVE_STRICT_TIMING=y
- CONFIG_HAVE_CHIPID=y
- CONFIG_HAVE_STEPPER_BOTH_EDGE=y
- CONFIG_INLINE_STEPPER_HACK=y
- =======================
- Build file /home/pi/klipper/klippy/../out/klipper.dict(7149): Thu Oct 13 10:50:21 2022
- Last MCU build version: v0.10.0-515-g24a1b50e
- Last MCU build tools: gcc: (15:8-2019-q3-1+b1) 8.3.1 20190703 (release) [gcc-8-branch revision 273027] binutils: (2.34-4+rpi1+14) 2.34
- Last MCU build config: BUS_PINS_i2c1=PB6,PB7 BUS_PINS_spi2a=PC2,PC3,PB10 BUS_PINS_i2c1a=PF1,PF0 STEPPER_BOTH_EDGE=1 ADC_MAX=4095 RESERVE_PINS_crystal=PF0,PF1 BUS_PINS_spi3=PB4,PB5,PB3 BUS_PINS_spi2=PB14,PB15,PB13 BUS_PINS_spi1=PA6,PA7,PA5 RESERVE_PINS_USB=PA11,PA12 MCU=stm32g0b1xx STATS_SUMSQ_BASE=256 BUS_PINS_spi1a=PB4,PB5,PB3 CLOCK_FREQ=64000000
- Build file /home/pi/klipper/klippy/../out/klipper.elf(1004608): Thu Oct 13 10:50:27 2022
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- Unable to issue reset command on MCU 'mcu'
- webhooks client 3042392224: Disconnected
- Restarting printer
- Start printer at Thu Oct 13 11:40:22 2022 (1665657622.5 3455.7)
- ===== Config file =====
- [stepper_x]
- step_pin = PB13
- dir_pin = !PB12
- enable_pin = !PB14
- microsteps = 16
- rotation_distance = 40
- endstop_pin = ^PC0
- position_endstop = 0
- position_max = 235
- homing_speed = 50
- [tmc2209 stepper_x]
- uart_pin = PC11
- tx_pin = PC10
- uart_address = 0
- run_current = 0.580
- stealthchop_threshold = 999999
- [stepper_y]
- step_pin = PB10
- dir_pin = !PB2
- enable_pin = !PB11
- microsteps = 16
- rotation_distance = 40
- endstop_pin = ^PC1
- position_endstop = 0
- position_max = 235
- homing_speed = 50
- [tmc2209 stepper_y]
- uart_pin = PC11
- tx_pin = PC10
- uart_address = 2
- run_current = 0.580
- stealthchop_threshold = 999999
- [stepper_z]
- step_pin = PB0
- dir_pin = PC5
- enable_pin = !PB1
- microsteps = 16
- rotation_distance = 8
- endstop_pin = ^PC2
- position_endstop = 0.0
- position_max = 250
- [tmc2209 stepper_z]
- uart_pin = PC11
- tx_pin = PC10
- uart_address = 1
- run_current = 0.580
- stealthchop_threshold = 999999
- [extruder]
- step_pin = PB3
- dir_pin = !PB4
- enable_pin = !PD1
- microsteps = 16
- rotation_distance = 33.500
- nozzle_diameter = 0.400
- filament_diameter = 1.750
- heater_pin = PC8
- sensor_type = EPCOS 100K B57560G104F
- sensor_pin = PA0
- control = pid
- pid_kp = 21.527
- pid_ki = 1.063
- pid_kd = 108.982
- min_temp = 0
- max_temp = 250
- [tmc2209 extruder]
- uart_pin = PC11
- tx_pin = PC10
- uart_address = 3
- run_current = 0.650
- stealthchop_threshold = 999999
- [heater_bed]
- heater_pin = PC9
- sensor_type = ATC Semitec 104GT-2
- sensor_pin = PC4
- control = pid
- pid_kp = 54.027
- pid_ki = 0.770
- pid_kd = 948.182
- min_temp = 0
- max_temp = 130
- [heater_fan nozzle_cooling_fan]
- pin = PC7
- [heater_fan controller_fan]
- pin = PB15
- [fan]
- pin = PC6
- [mcu]
- serial = /dev/ttyAMA0
- restart_method = command
- [printer]
- kinematics = cartesian
- max_velocity = 300
- max_accel = 3000
- max_z_velocity = 5
- max_z_accel = 100
- [board_pins]
- aliases =
- EXP1_1=PB5, EXP1_3=PA9, EXP1_5=PA10, EXP1_7=PB8, EXP1_9=<GND>,
- EXP1_2=PA15, EXP1_4=<RST>, EXP1_6=PB9, EXP1_8=PD6, EXP1_10=<5V>
- =======================
- Extruder max_extrude_ratio=0.266081
- mcu 'mcu': Starting serial connect
- webhooks client 3044636672: New connection
- webhooks client 3044636672: Client info {'program': 'Moonraker', 'version': 'v0.7.1-597-gd37f91c'}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement