Start printer at Thu Oct 6 12:26:22 2022 (1665059182.8 2074.3) ===== Config file ===== [virtual_sdcard] path = ~/gcode_files on_error_gcode = CANCEL_PRINT [pause_resume] [display_status] [gcode_macro CANCEL_PRINT] description = Cancel the actual running print rename_existing = CANCEL_PRINT_BASE variable_park = True gcode = {% if printer.pause_resume.is_paused|lower == 'false' and park|lower == 'true'%} _TOOLHEAD_PARK_PAUSE_CANCEL {% endif %} TURN_OFF_HEATERS M106 S0 CANCEL_PRINT_BASE [gcode_macro PAUSE] description = Pause the actual running print rename_existing = PAUSE_BASE gcode = PAUSE_BASE _TOOLHEAD_PARK_PAUSE_CANCEL [gcode_macro RESUME] description = Resume the actual running print rename_existing = RESUME_BASE gcode = {% set extrude = printer['gcode_macro _TOOLHEAD_PARK_PAUSE_CANCEL'].extrude %} {% if 'VELOCITY' in params|upper %} {% set get_params = ('VELOCITY=' + params.VELOCITY) %} {%else %} {% set get_params = "" %} {% endif %} {% if printer.extruder.can_extrude|lower == 'true' %} M83 G1 E{extrude} F2100 {% if printer.gcode_move.absolute_extrude |lower == 'true' %} M82 {% endif %} {% else %} {action_respond_info("Extruder not hot enough")} {% endif %} RESUME_BASE {get_params} [gcode_macro _TOOLHEAD_PARK_PAUSE_CANCEL] description = Helper: park toolhead used in PAUSE and CANCEL_PRINT variable_extrude = 1.0 gcode = {% set x_park = printer.toolhead.axis_maximum.x|float - 5.0 %} {% set y_park = printer.toolhead.axis_maximum.y|float - 5.0 %} {% set z_park_delta = 2.0 %} {% set max_z = printer.toolhead.axis_maximum.z|float %} {% set act_z = printer.toolhead.position.z|float %} {% if act_z < (max_z - z_park_delta) %} {% set z_safe = z_park_delta %} {% else %} {% set z_safe = max_z - act_z %} {% endif %} {% if printer.extruder.can_extrude|lower == 'true' %} M83 G1 E-{extrude} F2100 {% if printer.gcode_move.absolute_extrude |lower == 'true' %} M82 {% endif %} {% else %} {action_respond_info("Extruder not hot enough")} {% endif %} {% if "xyz" in printer.toolhead.homed_axes %} G91 G1 Z{z_safe} F900 G90 G1 X{x_park} Y{y_park} F6000 {% if printer.gcode_move.absolute_coordinates|lower == 'false' %} G91 {% endif %} {% else %} {action_respond_info("Printer not homed")} {% endif %} [mcu] serial = /dev/ttyUSB0 restart_method = command [printer] kinematics = none max_velocity = 300 max_accel = 3000 ======================= mcu 'mcu': Starting serial connect webhooks client 3045551880: New connection webhooks client 3045551880: Client info {'program': 'Moonraker', 'version': 'v0.7.1-666-g60b871a'} mcu 'mcu': Timeout on connect mcu 'mcu': Wait for identify_response Traceback (most recent call last): File "/home/odroid/klipper/klippy/serialhdl.py", line 68, in _get_identify_data params = self.send_with_response(msg, 'identify_response') File "/home/odroid/klipper/klippy/serialhdl.py", line 259, in send_with_response return src.get_response([cmd], self.default_cmd_queue) File "/home/odroid/klipper/klippy/serialhdl.py", line 317, in get_response cmd_queue) File "/home/odroid/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack self._error("Serial connection closed") File "/home/odroid/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/odroid/klipper/klippy/serialhdl.py", line 68, in _get_identify_data params = self.send_with_response(msg, 'identify_response') File "/home/odroid/klipper/klippy/serialhdl.py", line 259, in send_with_response return src.get_response([cmd], self.default_cmd_queue) File "/home/odroid/klipper/klippy/serialhdl.py", line 317, in get_response cmd_queue) File "/home/odroid/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack self._error("Serial connection closed") File "/home/odroid/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/odroid/klipper/klippy/serialhdl.py", line 68, in _get_identify_data params = self.send_with_response(msg, 'identify_response') File "/home/odroid/klipper/klippy/serialhdl.py", line 259, in send_with_response return src.get_response([cmd], self.default_cmd_queue) File "/home/odroid/klipper/klippy/serialhdl.py", line 317, in get_response cmd_queue) File "/home/odroid/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack self._error("Serial connection closed") File "/home/odroid/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/odroid/klipper/klippy/serialhdl.py", line 68, in _get_identify_data params = self.send_with_response(msg, 'identify_response') File "/home/odroid/klipper/klippy/serialhdl.py", line 259, in send_with_response return src.get_response([cmd], self.default_cmd_queue) File "/home/odroid/klipper/klippy/serialhdl.py", line 317, in get_response cmd_queue) File "/home/odroid/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack self._error("Serial connection closed") File "/home/odroid/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/odroid/klipper/klippy/serialhdl.py", line 68, in _get_identify_data params = self.send_with_response(msg, 'identify_response') File "/home/odroid/klipper/klippy/serialhdl.py", line 259, in send_with_response return src.get_response([cmd], self.default_cmd_queue) File "/home/odroid/klipper/klippy/serialhdl.py", line 317, in get_response cmd_queue) File "/home/odroid/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack self._error("Serial connection closed") File "/home/odroid/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/odroid/klipper/klippy/serialhdl.py", line 68, in _get_identify_data params = self.send_with_response(msg, 'identify_response') File "/home/odroid/klipper/klippy/serialhdl.py", line 259, in send_with_response return src.get_response([cmd], self.default_cmd_queue) File "/home/odroid/klipper/klippy/serialhdl.py", line 317, in get_response cmd_queue) File "/home/odroid/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack self._error("Serial connection closed") File "/home/odroid/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/odroid/klipper/klippy/serialhdl.py", line 68, in _get_identify_data params = self.send_with_response(msg, 'identify_response') File "/home/odroid/klipper/klippy/serialhdl.py", line 259, in send_with_response return src.get_response([cmd], self.default_cmd_queue) File "/home/odroid/klipper/klippy/serialhdl.py", line 317, in get_response cmd_queue) File "/home/odroid/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack self._error("Serial connection closed") File "/home/odroid/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/odroid/klipper/klippy/serialhdl.py", line 68, in _get_identify_data params = self.send_with_response(msg, 'identify_response') File "/home/odroid/klipper/klippy/serialhdl.py", line 259, in send_with_response return src.get_response([cmd], self.default_cmd_queue) File "/home/odroid/klipper/klippy/serialhdl.py", line 317, in get_response cmd_queue) File "/home/odroid/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack self._error("Serial connection closed") File "/home/odroid/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/odroid/klipper/klippy/serialhdl.py", line 68, in _get_identify_data params = self.send_with_response(msg, 'identify_response') File "/home/odroid/klipper/klippy/serialhdl.py", line 259, in send_with_response return src.get_response([cmd], self.default_cmd_queue) File "/home/odroid/klipper/klippy/serialhdl.py", line 317, in get_response cmd_queue) File "/home/odroid/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack self._error("Serial connection closed") File "/home/odroid/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/odroid/klipper/klippy/serialhdl.py", line 68, in _get_identify_data params = self.send_with_response(msg, 'identify_response') File "/home/odroid/klipper/klippy/serialhdl.py", line 259, in send_with_response return src.get_response([cmd], self.default_cmd_queue) File "/home/odroid/klipper/klippy/serialhdl.py", line 317, in get_response cmd_queue) File "/home/odroid/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack self._error("Serial connection closed") File "/home/odroid/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/odroid/klipper/klippy/serialhdl.py", line 68, in _get_identify_data params = self.send_with_response(msg, 'identify_response') File "/home/odroid/klipper/klippy/serialhdl.py", line 259, in send_with_response return src.get_response([cmd], self.default_cmd_queue) File "/home/odroid/klipper/klippy/serialhdl.py", line 317, in get_response cmd_queue) File "/home/odroid/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack self._error("Serial connection closed") File "/home/odroid/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/odroid/klipper/klippy/serialhdl.py", line 68, in _get_identify_data params = self.send_with_response(msg, 'identify_response') File "/home/odroid/klipper/klippy/serialhdl.py", line 259, in send_with_response return src.get_response([cmd], self.default_cmd_queue) File "/home/odroid/klipper/klippy/serialhdl.py", line 317, in get_response cmd_queue) File "/home/odroid/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack self._error("Serial connection closed") File "/home/odroid/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/odroid/klipper/klippy/serialhdl.py", line 68, in _get_identify_data params = self.send_with_response(msg, 'identify_response') File "/home/odroid/klipper/klippy/serialhdl.py", line 259, in send_with_response return src.get_response([cmd], self.default_cmd_queue) File "/home/odroid/klipper/klippy/serialhdl.py", line 317, in get_response cmd_queue) File "/home/odroid/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack self._error("Serial connection closed") File "/home/odroid/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/odroid/klipper/klippy/serialhdl.py", line 68, in _get_identify_data params = self.send_with_response(msg, 'identify_response') File "/home/odroid/klipper/klippy/serialhdl.py", line 259, in send_with_response return src.get_response([cmd], self.default_cmd_queue) File "/home/odroid/klipper/klippy/serialhdl.py", line 317, in get_response cmd_queue) File "/home/odroid/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack self._error("Serial connection closed") File "/home/odroid/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/odroid/klipper/klippy/serialhdl.py", line 68, in _get_identify_data params = self.send_with_response(msg, 'identify_response') File "/home/odroid/klipper/klippy/serialhdl.py", line 259, in send_with_response return src.get_response([cmd], self.default_cmd_queue) File "/home/odroid/klipper/klippy/serialhdl.py", line 317, in get_response cmd_queue) File "/home/odroid/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack self._error("Serial connection closed") File "/home/odroid/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/odroid/klipper/klippy/serialhdl.py", line 68, in _get_identify_data params = self.send_with_response(msg, 'identify_response') File "/home/odroid/klipper/klippy/serialhdl.py", line 259, in send_with_response return src.get_response([cmd], self.default_cmd_queue) File "/home/odroid/klipper/klippy/serialhdl.py", line 317, in get_response cmd_queue) File "/home/odroid/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack self._error("Serial connection closed") File "/home/odroid/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/odroid/klipper/klippy/serialhdl.py", line 68, in _get_identify_data params = self.send_with_response(msg, 'identify_response') File "/home/odroid/klipper/klippy/serialhdl.py", line 259, in send_with_response return src.get_response([cmd], self.default_cmd_queue) File "/home/odroid/klipper/klippy/serialhdl.py", line 317, in get_response cmd_queue) File "/home/odroid/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack self._error("Serial connection closed") File "/home/odroid/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/odroid/klipper/klippy/klippy.py", line 176, in _connect self.send_event("klippy:mcu_identify") File "/home/odroid/klipper/klippy/klippy.py", line 263, in send_event return [cb(*params) for cb in self.event_handlers.get(event, [])] File "/home/odroid/klipper/klippy/mcu.py", line 782, in _mcu_identify raise error(str(e)) error: mcu 'mcu': Unable to connect Build file /home/odroid/klipper/klippy/../.config(2834): Thu Oct 6 12:20:37 2022 ========= Last MCU build config ========= CONFIG_LOW_LEVEL_OPTIONS=y # 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="stm32f407xx" CONFIG_CLOCK_FREQ=168000000 CONFIG_USBSERIAL=y CONFIG_FLASH_START=0x8008000 CONFIG_FLASH_SIZE=0x80000 CONFIG_RAM_START=0x20000000 CONFIG_RAM_SIZE=0x20000 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=y # 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 is not set # CONFIG_MACH_STM32H743 is not set # CONFIG_MACH_STM32H750 is not set # CONFIG_MACH_STM32L412 is not set CONFIG_MACH_STM32F4=y CONFIG_MACH_STM32F4x5=y CONFIG_HAVE_STM32_USBOTG=y CONFIG_HAVE_STM32_CANBUS=y CONFIG_HAVE_STM32_USBCANBUS=y CONFIG_STM32_FLASH_START_8000=y # CONFIG_STM32_FLASH_START_20200 is not set # CONFIG_STM32_FLASH_START_C000 is not set # CONFIG_STM32_FLASH_START_4000 is not set # CONFIG_STM32_FLASH_START_0000 is not set # CONFIG_STM32_CLOCK_REF_8M is not set # CONFIG_STM32_CLOCK_REF_12M is not set # CONFIG_STM32_CLOCK_REF_16M is not set # CONFIG_STM32_CLOCK_REF_20M is not set CONFIG_STM32_CLOCK_REF_25M=y # CONFIG_STM32_CLOCK_REF_INTERNAL is not set CONFIG_CLOCK_REF_FREQ=25000000 CONFIG_STM32F0_TRIM=16 CONFIG_STM32_USB_PA11_PA12=y # CONFIG_STM32_SERIAL_USART1 is not set # CONFIG_STM32_SERIAL_USART1_ALT_PB7_PB6 is not set # CONFIG_STM32_SERIAL_USART2 is not set # CONFIG_STM32_SERIAL_USART2_ALT_PD6_PD5 is not set # CONFIG_STM32_SERIAL_USART3 is not set # CONFIG_STM32_SERIAL_USART3_ALT_PD9_PD8 is not set # CONFIG_STM32_CANBUS_PA11_PA12 is not set # CONFIG_STM32_MMENU_CANBUS_PB8_PB9 is not set # CONFIG_STM32_MMENU_CANBUS_PI9_PH13 is not set # CONFIG_STM32_MMENU_CANBUS_PB5_PB6 is not set # CONFIG_STM32_MMENU_CANBUS_PB12_PB13 is not set # CONFIG_STM32_MMENU_CANBUS_PD0_PD1 is not set # CONFIG_STM32_USBCANBUS_PA11_PA12 is not set CONFIG_SERIAL_BOOTLOADER_SIDECHANNEL=y CONFIG_USB=y CONFIG_USB_VENDOR_ID=0x1d50 CONFIG_USB_DEVICE_ID=0x614e CONFIG_USB_SERIAL_NUMBER_CHIPID=y CONFIG_USB_SERIAL_NUMBER="12345" # # USB ids # # end of USB ids CONFIG_CANBUS_FREQUENCY=500000 CONFIG_INITIAL_PINS="" CONFIG_HAVE_GPIO=y CONFIG_HAVE_GPIO_ADC=y CONFIG_HAVE_GPIO_SPI=y CONFIG_HAVE_GPIO_I2C=y CONFIG_HAVE_GPIO_HARD_PWM=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/odroid/klipper/klippy/../out/klipper.dict(7817): Thu Oct 6 12:21:20 2022 Last MCU build version: v0.10.0-593-g5fad485b Last MCU build tools: gcc: (15:9-2019-q4-0ubuntu1) 9.2.1 20191025 (release) [ARM/arm-9-branch revision 277599] binutils: (2.34-4ubuntu1+13ubuntu1) 2.34 Last MCU build config: BUS_PINS_i2c1=PB6,PB7 PWM_MAX=255 BUS_PINS_i2c3=PA8,PC9 BUS_PINS_i2c2=PB10,PB11 BUS_PINS_spi2b=PI2,PI3,PI1 BUS_PINS_i2c2a=PH4,PH5 BUS_PINS_spi2a=PC2,PC3,PB10 BUS_PINS_i2c1a=PB8,PB9 BUS_PINS_i2c3a=PH7,PH8 STEPPER_BOTH_EDGE=1 ADC_MAX=4095 RESERVE_PINS_crystal=PH0,PH1 BUS_PINS_spi3=PB4,PB5,PB3 BUS_PINS_spi2=PB14,PB15,PB13 BUS_PINS_spi1=PA6,PA7,PA5 RESERVE_PINS_USB=PA11,PA12 BUS_PINS_spi3a=PC11,PC12,PC10 MCU=stm32f407xx STATS_SUMSQ_BASE=256 BUS_PINS_spi1a=PB4,PB5,PB3 CLOCK_FREQ=168000000 Build file /home/odroid/klipper/klippy/../out/klipper.elf(1205652): Thu Oct 6 12:21:32 2022 mcu 'mcu': Wait for identify_response Traceback (most recent call last): File "/home/odroid/klipper/klippy/serialhdl.py", line 68, in _get_identify_data params = self.send_with_response(msg, 'identify_response') File "/home/odroid/klipper/klippy/serialhdl.py", line 259, in send_with_response return src.get_response([cmd], self.default_cmd_queue) File "/home/odroid/klipper/klippy/serialhdl.py", line 317, in get_response cmd_queue) File "/home/odroid/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack self._error("Serial connection closed") File "/home/odroid/klipper/klippy/serialhdl.py", line 61, in _error raise error(self.warn_prefix + (msg % params)) error: mcu 'mcu': Serial connection closed