Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ===== Config file =====
- [mcu]
- serial = /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00
- [printer]
- kinematics = corexy
- max_velocity = 300
- max_accel = 5000
- max_z_velocity = 15
- max_z_accel = 350
- square_corner_velocity = 5.0
- [stepper_x]
- step_pin = PE11
- dir_pin = !PE10
- enable_pin = !PE9
- rotation_distance = 40
- microsteps = 16
- full_steps_per_rotation = 200
- endstop_pin = ^PB14
- position_min = 0
- position_endstop = 300
- position_max = 300
- homing_speed = 25
- homing_retract_dist = 5
- homing_positive_dir = true
- [tmc2209 stepper_x]
- uart_pin = PE7
- interpolate = True
- run_current = 0.7
- hold_current = 0.4
- sense_resistor = 0.110
- stealthchop_threshold = 0
- [stepper_y]
- step_pin = PD8
- dir_pin = !PB12
- enable_pin = !PD9
- rotation_distance = 40
- microsteps = 16
- full_steps_per_rotation = 200
- endstop_pin = ^PB13
- position_min = 0
- position_endstop = 300
- position_max = 300
- homing_speed = 25
- homing_retract_dist = 5
- homing_positive_dir = true
- [tmc2209 stepper_y]
- uart_pin = PE15
- interpolate = True
- run_current = 0.7
- hold_current = 0.4
- sense_resistor = 0.110
- stealthchop_threshold = 0
- [stepper_z]
- step_pin = PD14
- dir_pin = !PD13
- enable_pin = !PD15
- rotation_distance = 40
- gear_ratio = 80:16
- microsteps = 16
- endstop_pin = ^PA0
- position_endstop = -0.5
- position_max = 290
- position_min = -5
- homing_speed = 8
- second_homing_speed = 3
- homing_retract_dist = 3
- [tmc2209 stepper_z]
- uart_pin = PD10
- interpolate = True
- run_current = 0.7
- hold_current = 0.4
- sense_resistor = 0.110
- stealthchop_threshold = 0
- [stepper_z1]
- step_pin = PE6
- dir_pin = PC13
- enable_pin = !PE5
- rotation_distance = 40
- gear_ratio = 80:16
- microsteps = 16
- [tmc2209 stepper_z1]
- uart_pin = PC14
- interpolate = True
- run_current = 0.7
- hold_current = 0.4
- sense_resistor = 0.110
- stealthchop_threshold = 0
- [stepper_z2]
- step_pin = PE2
- dir_pin = !PE4
- enable_pin = !PE3
- rotation_distance = 40
- gear_ratio = 80:16
- microsteps = 16
- [tmc2209 stepper_z2]
- uart_pin = PC15
- interpolate = true
- run_current = 0.7
- hold_current = 0.4
- sense_resistor = 0.110
- stealthchop_threshold = 0
- [stepper_z3]
- step_pin = PD12
- dir_pin = PC4
- enable_pin = !PE8
- rotation_distance = 40
- gear_ratio = 80:16
- microsteps = 16
- [tmc2209 stepper_z3]
- uart_pin = PA15
- interpolate = true
- run_current = 0.7
- hold_current = 0.4
- sense_resistor = 0.110
- stealthchop_threshold = 0
- [extruder]
- step_pin = PD5
- dir_pin = !PD6
- enable_pin = !PD4
- rotation_distance = 22.6789511
- gear_ratio = 50:17
- microsteps = 16
- full_steps_per_rotation = 200
- nozzle_diameter = 0.400
- filament_diameter = 1.75
- heater_pin = PB15
- sensor_type = Generic 3950
- sensor_pin = PC0
- min_temp = 10
- max_temp = 270
- max_power = 1.0
- min_extrude_temp = 170
- control = pid
- pid_kp = 26.213
- pid_ki = 1.304
- pid_kd = 131.721
- pressure_advance = 0.05
- pressure_advance_smooth_time = 0.040
- [tmc2209 extruder]
- uart_pin = PD7
- interpolate = false
- run_current = 0.5
- hold_current = 0.2
- sense_resistor = 0.110
- stealthchop_threshold = 0
- [heater_bed]
- heater_pin = PB4
- sensor_type = Generic 3950
- sensor_pin = PB0
- max_power = 0.6
- min_temp = 0
- max_temp = 120
- control = pid
- pid_kp = 58.437
- pid_ki = 2.347
- pid_kd = 363.769
- [probe]
- pin = ^!PA3
- x_offset = 0
- y_offset = 25.0
- z_offset = 0
- speed = 10.0
- samples = 3
- samples_result = median
- sample_retract_dist = 3.0
- samples_tolerance = 0.006
- samples_tolerance_retries = 3
- [heater_fan hotend_fan]
- pin = PA13
- max_power = 1.0
- kick_start_time = 0.5
- heater = extruder
- heater_temp = 50.0
- [fan]
- pin = PA14
- max_power = 0.4
- kick_start_time = 0.5
- off_below = 0.10
- [heater_fan controller_fan]
- pin = PB2
- kick_start_time = 0.5
- heater = heater_bed
- heater_temp = 45.0
- [idle_timeout]
- timeout = 1800
- [safe_z_home]
- home_xy_position = -100,-100
- speed = 100
- z_hop = 10
- [quad_gantry_level]
- gantry_corners =
- -60,-10
- 360,370
- points =
- 50,25
- 50,225
- 250,225
- 250,25
- speed = 100
- horizontal_move_z = 10
- retries = 5
- retry_tolerance = 0.0075
- max_adjust = 10
- [display]
- lcd_type = uc1701
- cs_pin = PC11
- a0_pin = PD2
- rst_pin = PC10
- encoder_pins = ^PC6,^PC7
- click_pin = ^!PA8
- contrast = 63
- spi_software_mosi_pin = PA7
- spi_software_miso_pin = PA6
- spi_software_sclk_pin = PA5
- [neopixel fysetc_mini12864]
- pin = PC12
- chain_count = 3
- initial_red = 0.1
- initial_green = 0.5
- initial_blue = 0.0
- color_order = RGB
- [delayed_gcode setdisplayneopixel]
- initial_duration = 1
- gcode =
- SET_LED LED=fysetc_mini12864 RED=1 GREEN=1 BLUE=1 INDEX=1 TRANSMIT=0
- SET_LED LED=fysetc_mini12864 RED=1 GREEN=0 BLUE=0 INDEX=2 TRANSMIT=0
- SET_LED LED=fysetc_mini12864 RED=1 GREEN=0 BLUE=0 INDEX=3
- [gcode_macro G32]
- gcode =
- BED_MESH_CLEAR
- G28
- QUAD_GANTRY_LEVEL
- G28
- G0 X150 Y150 Z30 F3600
- [gcode_macro PRINT_START]
- gcode =
- G32
- G1 Z20 F3000
- [gcode_macro PRINT_END]
- gcode =
- M400
- G92 E0
- G1 E-1.0 F3600
- G91
- G0 Z1.00 X20.0 Y20.0 F20000
- TURN_OFF_HEATERS
- M107
- G1 Z2 F3000
- G90
- G0 X125 Y250 F3600
- BED_MESH_CLEAR
- =======================
- Args: ['/home/biqu/klipper/klippy/klippy.py', '/home/biqu/printer_data/config/printer.cfg', '-I', '/home/biqu/printer_data/comms/klippy.serial', '-l', '/home/biqu/printer_data/logs/klippy.log', '-a', '/home/biqu/printer_data/comms/klippy.sock']
- Git version: 'v0.12.0-10-gea2f6bc0'
- Branch: master
- Remote: origin
- Tracked URL: https://github.com/Klipper3d/klipper
- CPU: 4 core ?
- Python: '3.9.2 (default, Feb 28 2021, 17:03:44) \n[GCC 10.2.1 20210110]'
- webhooks client 281473062538592: {'program': 'Moonraker', 'version': 'v0.8.0-204-gfb15b2a'}
- =============== Log rollover at Sat Nov 25 05:31:30 2023 ===============
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- MCU error during connect
- Traceback (most recent call last):
- File "/home/biqu/klipper/klippy/mcu.py", line 800, in _mcu_identify
- self._serial.connect_uart(self._serialport, self._baud, rts)
- File "/home/biqu/klipper/klippy/serialhdl.py", line 182, in connect_uart
- self._error("Unable to connect")
- File "/home/biqu/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- serialhdl.error: mcu 'mcu': Unable to connect
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/home/biqu/klipper/klippy/klippy.py", line 176, in _connect
- self.send_event("klippy:mcu_identify")
- File "/home/biqu/klipper/klippy/klippy.py", line 263, in send_event
- return [cb(*params) for cb in self.event_handlers.get(event, [])]
- File "/home/biqu/klipper/klippy/klippy.py", line 263, in <listcomp>
- return [cb(*params) for cb in self.event_handlers.get(event, [])]
- File "/home/biqu/klipper/klippy/mcu.py", line 805, in _mcu_identify
- raise error(str(e))
- mcu.error: mcu 'mcu': Unable to connect
- Build file /home/biqu/klipper/klippy/../.config(3376): Fri Nov 24 19:57:18 2023
- ========= 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_HC32F460 is not set
- # CONFIG_MACH_RP2040 is not set
- # CONFIG_MACH_PRU is not set
- # CONFIG_MACH_AR100 is not set
- # CONFIG_MACH_LINUX is not set
- # CONFIG_MACH_SIMU is not set
- CONFIG_BOARD_DIRECTORY="stm32"
- CONFIG_MCU="stm32f446xx"
- CONFIG_CLOCK_FREQ=180000000
- CONFIG_USBSERIAL=y
- CONFIG_FLASH_SIZE=0x80000
- CONFIG_FLASH_BOOT_ADDRESS=0x8000000
- CONFIG_RAM_START=0x20000000
- CONFIG_RAM_SIZE=0x20000
- CONFIG_STACK_SIZE=512
- CONFIG_FLASH_APPLICATION_ADDRESS=0x8008000
- 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=y
- # CONFIG_MACH_STM32F765 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_STM32G070 is not set
- # CONFIG_MACH_STM32G071 is not set
- # CONFIG_MACH_STM32G0B0 is not set
- # CONFIG_MACH_STM32G0B1 is not set
- # CONFIG_MACH_STM32G431 is not set
- # CONFIG_MACH_STM32H723 is not set
- # CONFIG_MACH_STM32H743 is not set
- # CONFIG_MACH_STM32H750 is not set
- # CONFIG_MACH_STM32L412 is not set
- # CONFIG_MACH_N32G452 is not set
- # CONFIG_MACH_N32G455 is not set
- CONFIG_MACH_STM32F4=y
- CONFIG_HAVE_STM32_USBOTG=y
- CONFIG_HAVE_STM32_CANBUS=y
- CONFIG_HAVE_STM32_USBCANBUS=y
- CONFIG_STM32_DFU_ROM_ADDRESS=0x1fff0000
- CONFIG_STM32_FLASH_START_8000=y
- # CONFIG_STM32_FLASH_START_10000 is not set
- # CONFIG_STM32_FLASH_START_0000 is not set
- # CONFIG_STM32_CLOCK_REF_8M is not set
- CONFIG_STM32_CLOCK_REF_12M=y
- # CONFIG_STM32_CLOCK_REF_16M is not set
- # CONFIG_STM32_CLOCK_REF_20M is not set
- # CONFIG_STM32_CLOCK_REF_24M is not set
- # CONFIG_STM32_CLOCK_REF_25M is not set
- # CONFIG_STM32_CLOCK_REF_INTERNAL is not set
- CONFIG_CLOCK_REF_FREQ=12000000
- 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_CANBUS_PA11_PB9 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_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_WANT_GPIO_BITBANGING=y
- CONFIG_WANT_DISPLAYS=y
- CONFIG_WANT_SENSORS=y
- CONFIG_WANT_LIS2DW=y
- CONFIG_WANT_SOFTWARE_I2C=y
- CONFIG_WANT_SOFTWARE_SPI=y
- CONFIG_CANBUS_FREQUENCY=1000000
- CONFIG_INITIAL_PINS=""
- CONFIG_HAVE_GPIO=y
- CONFIG_HAVE_GPIO_ADC=y
- CONFIG_HAVE_GPIO_SPI=y
- CONFIG_HAVE_GPIO_SDIO=y
- CONFIG_HAVE_GPIO_I2C=y
- CONFIG_HAVE_GPIO_HARD_PWM=y
- CONFIG_HAVE_STRICT_TIMING=y
- CONFIG_HAVE_CHIPID=y
- CONFIG_HAVE_STEPPER_BOTH_EDGE=y
- CONFIG_HAVE_BOOTLOADER_REQUEST=y
- CONFIG_INLINE_STEPPER_HACK=y
- =======================
- No build file /home/biqu/klipper/klippy/../out/klipper.dict
- No build file /home/biqu/klipper/klippy/../out/klipper.elf
- Attempting MCU 'mcu' reset
- Unhandled exception during post run
- Traceback (most recent call last):
- File "/home/biqu/klippy-env/lib/python3.9/site-packages/serial/serialposix.py", line 265, in open
- self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | os.O_NONBLOCK)
- FileNotFoundError: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/home/biqu/klipper/klippy/klippy.py", line 234, in run
- self.send_event("klippy:firmware_restart")
- File "/home/biqu/klipper/klippy/klippy.py", line 263, in send_event
- return [cb(*params) for cb in self.event_handlers.get(event, [])]
- File "/home/biqu/klipper/klippy/klippy.py", line 263, in <listcomp>
- return [cb(*params) for cb in self.event_handlers.get(event, [])]
- File "/home/biqu/klipper/klippy/mcu.py", line 951, in _firmware_restart
- self._restart_arduino()
- File "/home/biqu/klipper/klippy/mcu.py", line 911, in _restart_arduino
- serialhdl.arduino_reset(self._serialport, self._reactor)
- File "/home/biqu/klipper/klippy/serialhdl.py", line 379, in arduino_reset
- ser = serial.Serial(serialport, 2400, timeout=0, exclusive=True)
- File "/home/biqu/klippy-env/lib/python3.9/site-packages/serial/serialutil.py", line 240, in __init__
- self.open()
- File "/home/biqu/klippy-env/lib/python3.9/site-packages/serial/serialposix.py", line 268, in open
- raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
- serial.serialutil.SerialException: [Errno 2] could not open port /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- Restarting printer
- Start printer at Sat Nov 25 05:35:05 2023 (1700890505.6 302.7)
- ===== Config file =====
- [mcu]
- serial = /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00
- [printer]
- kinematics = corexy
- max_velocity = 300
- max_accel = 5000
- max_z_velocity = 15
- max_z_accel = 350
- square_corner_velocity = 5.0
- [stepper_x]
- step_pin = PE11
- dir_pin = !PE10
- enable_pin = !PE9
- rotation_distance = 40
- microsteps = 16
- full_steps_per_rotation = 200
- endstop_pin = ^PB14
- position_min = 0
- position_endstop = 300
- position_max = 300
- homing_speed = 25
- homing_retract_dist = 5
- homing_positive_dir = true
- [tmc2209 stepper_x]
- uart_pin = PE7
- interpolate = True
- run_current = 0.7
- hold_current = 0.4
- sense_resistor = 0.110
- stealthchop_threshold = 0
- [stepper_y]
- step_pin = PD8
- dir_pin = !PB12
- enable_pin = !PD9
- rotation_distance = 40
- microsteps = 16
- full_steps_per_rotation = 200
- endstop_pin = ^PB13
- position_min = 0
- position_endstop = 300
- position_max = 300
- homing_speed = 25
- homing_retract_dist = 5
- homing_positive_dir = true
- [tmc2209 stepper_y]
- uart_pin = PE15
- interpolate = True
- run_current = 0.7
- hold_current = 0.4
- sense_resistor = 0.110
- stealthchop_threshold = 0
- [stepper_z]
- step_pin = PD14
- dir_pin = !PD13
- enable_pin = !PD15
- rotation_distance = 40
- gear_ratio = 80:16
- microsteps = 16
- endstop_pin = ^PA0
- position_endstop = -0.5
- position_max = 290
- position_min = -5
- homing_speed = 8
- second_homing_speed = 3
- homing_retract_dist = 3
- [tmc2209 stepper_z]
- uart_pin = PD10
- interpolate = True
- run_current = 0.7
- hold_current = 0.4
- sense_resistor = 0.110
- stealthchop_threshold = 0
- [stepper_z1]
- step_pin = PE6
- dir_pin = PC13
- enable_pin = !PE5
- rotation_distance = 40
- gear_ratio = 80:16
- microsteps = 16
- [tmc2209 stepper_z1]
- uart_pin = PC14
- interpolate = True
- run_current = 0.7
- hold_current = 0.4
- sense_resistor = 0.110
- stealthchop_threshold = 0
- [stepper_z2]
- step_pin = PE2
- dir_pin = !PE4
- enable_pin = !PE3
- rotation_distance = 40
- gear_ratio = 80:16
- microsteps = 16
- [tmc2209 stepper_z2]
- uart_pin = PC15
- interpolate = true
- run_current = 0.7
- hold_current = 0.4
- sense_resistor = 0.110
- stealthchop_threshold = 0
- [stepper_z3]
- step_pin = PD12
- dir_pin = PC4
- enable_pin = !PE8
- rotation_distance = 40
- gear_ratio = 80:16
- microsteps = 16
- [tmc2209 stepper_z3]
- uart_pin = PA15
- interpolate = true
- run_current = 0.7
- hold_current = 0.4
- sense_resistor = 0.110
- stealthchop_threshold = 0
- [extruder]
- step_pin = PD5
- dir_pin = !PD6
- enable_pin = !PD4
- rotation_distance = 22.6789511
- gear_ratio = 50:17
- microsteps = 16
- full_steps_per_rotation = 200
- nozzle_diameter = 0.400
- filament_diameter = 1.75
- heater_pin = PB15
- sensor_type = Generic 3950
- sensor_pin = PC0
- min_temp = 10
- max_temp = 270
- max_power = 1.0
- min_extrude_temp = 170
- control = pid
- pid_kp = 26.213
- pid_ki = 1.304
- pid_kd = 131.721
- pressure_advance = 0.05
- pressure_advance_smooth_time = 0.040
- [tmc2209 extruder]
- uart_pin = PD7
- interpolate = false
- run_current = 0.5
- hold_current = 0.2
- sense_resistor = 0.110
- stealthchop_threshold = 0
- [heater_bed]
- heater_pin = PB4
- sensor_type = Generic 3950
- sensor_pin = PB0
- max_power = 0.6
- min_temp = 0
- max_temp = 120
- control = pid
- pid_kp = 58.437
- pid_ki = 2.347
- pid_kd = 363.769
- [probe]
- pin = ^!PA3
- x_offset = 0
- y_offset = 25.0
- z_offset = 0
- speed = 10.0
- samples = 3
- samples_result = median
- sample_retract_dist = 3.0
- samples_tolerance = 0.006
- samples_tolerance_retries = 3
- [heater_fan hotend_fan]
- pin = PA13
- max_power = 1.0
- kick_start_time = 0.5
- heater = extruder
- heater_temp = 50.0
- [fan]
- pin = PA14
- max_power = 0.4
- kick_start_time = 0.5
- off_below = 0.10
- [heater_fan controller_fan]
- pin = PB2
- kick_start_time = 0.5
- heater = heater_bed
- heater_temp = 45.0
- [idle_timeout]
- timeout = 1800
- [safe_z_home]
- home_xy_position = -100,-100
- speed = 100
- z_hop = 10
- [quad_gantry_level]
- gantry_corners =
- -60,-10
- 360,370
- points =
- 50,25
- 50,225
- 250,225
- 250,25
- speed = 100
- horizontal_move_z = 10
- retries = 5
- retry_tolerance = 0.0075
- max_adjust = 10
- [display]
- lcd_type = uc1701
- cs_pin = PC11
- a0_pin = PD2
- rst_pin = PC10
- encoder_pins = ^PC6,^PC7
- click_pin = ^!PA8
- contrast = 63
- spi_software_mosi_pin = PA7
- spi_software_miso_pin = PA6
- spi_software_sclk_pin = PA5
- [neopixel fysetc_mini12864]
- pin = PC12
- chain_count = 3
- initial_red = 0.1
- initial_green = 0.5
- initial_blue = 0.0
- color_order = RGB
- [delayed_gcode setdisplayneopixel]
- initial_duration = 1
- gcode =
- SET_LED LED=fysetc_mini12864 RED=1 GREEN=1 BLUE=1 INDEX=1 TRANSMIT=0
- SET_LED LED=fysetc_mini12864 RED=1 GREEN=0 BLUE=0 INDEX=2 TRANSMIT=0
- SET_LED LED=fysetc_mini12864 RED=1 GREEN=0 BLUE=0 INDEX=3
- [gcode_macro G32]
- gcode =
- BED_MESH_CLEAR
- G28
- QUAD_GANTRY_LEVEL
- G28
- G0 X150 Y150 Z30 F3600
- [gcode_macro PRINT_START]
- gcode =
- G32
- G1 Z20 F3000
- [gcode_macro PRINT_END]
- gcode =
- M400
- G92 E0
- G1 E-1.0 F3600
- G91
- G0 Z1.00 X20.0 Y20.0 F20000
- TURN_OFF_HEATERS
- M107
- G1 Z2 F3000
- G90
- G0 X125 Y250 F3600
- BED_MESH_CLEAR
- =======================
- 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_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- webhooks client 281473061970464: New connection
- webhooks client 281473061970464: Client info {'program': 'Moonraker', 'version': 'v0.8.0-204-gfb15b2a'}
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- Starting Klippy...
- Args: ['/home/biqu/klipper/klippy/klippy.py', '/home/biqu/printer_data/config/printer.cfg', '-I', '/home/biqu/printer_data/comms/klippy.serial', '-l', '/home/biqu/printer_data/logs/klippy.log', '-a', '/home/biqu/printer_data/comms/klippy.sock']
- Git version: 'v0.12.0-10-gea2f6bc0'
- Branch: master
- Remote: origin
- Tracked URL: https://github.com/Klipper3d/klipper
- CPU: 4 core ?
- Python: '3.9.2 (default, Feb 28 2021, 17:03:44) \n[GCC 10.2.1 20210110]'
- Start printer at Fri Nov 24 19:08:22 2023 (1700852902.4 18.9)
- ===== Config file =====
- [mcu]
- serial = /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00
- [printer]
- kinematics = corexy
- max_velocity = 300
- max_accel = 5000
- max_z_velocity = 15
- max_z_accel = 350
- square_corner_velocity = 5.0
- [stepper_x]
- step_pin = PE11
- dir_pin = !PE10
- enable_pin = !PE9
- rotation_distance = 40
- microsteps = 16
- full_steps_per_rotation = 200
- endstop_pin = ^PB14
- position_min = 0
- position_endstop = 300
- position_max = 300
- homing_speed = 25
- homing_retract_dist = 5
- homing_positive_dir = true
- [tmc2209 stepper_x]
- uart_pin = PE7
- interpolate = True
- run_current = 0.7
- hold_current = 0.4
- sense_resistor = 0.110
- stealthchop_threshold = 0
- [stepper_y]
- step_pin = PD8
- dir_pin = !PB12
- enable_pin = !PD9
- rotation_distance = 40
- microsteps = 16
- full_steps_per_rotation = 200
- endstop_pin = ^PB13
- position_min = 0
- position_endstop = 300
- position_max = 300
- homing_speed = 25
- homing_retract_dist = 5
- homing_positive_dir = true
- [tmc2209 stepper_y]
- uart_pin = PE15
- interpolate = True
- run_current = 0.7
- hold_current = 0.4
- sense_resistor = 0.110
- stealthchop_threshold = 0
- [stepper_z]
- step_pin = PD14
- dir_pin = !PD13
- enable_pin = !PD15
- rotation_distance = 40
- gear_ratio = 80:16
- microsteps = 16
- endstop_pin = ^PA0
- position_endstop = -0.5
- position_max = 290
- position_min = -5
- homing_speed = 8
- second_homing_speed = 3
- homing_retract_dist = 3
- [tmc2209 stepper_z]
- uart_pin = PD10
- interpolate = True
- run_current = 0.7
- hold_current = 0.4
- sense_resistor = 0.110
- stealthchop_threshold = 0
- [stepper_z1]
- step_pin = PE6
- dir_pin = PC13
- enable_pin = !PE5
- rotation_distance = 40
- gear_ratio = 80:16
- microsteps = 16
- [tmc2209 stepper_z1]
- uart_pin = PC14
- interpolate = True
- run_current = 0.7
- hold_current = 0.4
- sense_resistor = 0.110
- stealthchop_threshold = 0
- [stepper_z2]
- step_pin = PE2
- dir_pin = !PE4
- enable_pin = !PE3
- rotation_distance = 40
- gear_ratio = 80:16
- microsteps = 16
- [tmc2209 stepper_z2]
- uart_pin = PC15
- interpolate = true
- run_current = 0.7
- hold_current = 0.4
- sense_resistor = 0.110
- stealthchop_threshold = 0
- [stepper_z3]
- step_pin = PD12
- dir_pin = PC4
- enable_pin = !PE8
- rotation_distance = 40
- gear_ratio = 80:16
- microsteps = 16
- [tmc2209 stepper_z3]
- uart_pin = PA15
- interpolate = true
- run_current = 0.7
- hold_current = 0.4
- sense_resistor = 0.110
- stealthchop_threshold = 0
- [extruder]
- step_pin = PD5
- dir_pin = !PD6
- enable_pin = !PD4
- rotation_distance = 22.6789511
- gear_ratio = 50:17
- microsteps = 16
- full_steps_per_rotation = 200
- nozzle_diameter = 0.400
- filament_diameter = 1.75
- heater_pin = PB15
- sensor_type = Generic 3950
- sensor_pin = PC0
- min_temp = 10
- max_temp = 270
- max_power = 1.0
- min_extrude_temp = 170
- control = pid
- pid_kp = 26.213
- pid_ki = 1.304
- pid_kd = 131.721
- pressure_advance = 0.05
- pressure_advance_smooth_time = 0.040
- [tmc2209 extruder]
- uart_pin = PD7
- interpolate = false
- run_current = 0.5
- hold_current = 0.2
- sense_resistor = 0.110
- stealthchop_threshold = 0
- [heater_bed]
- heater_pin = PB4
- sensor_type = Generic 3950
- sensor_pin = PB0
- max_power = 0.6
- min_temp = 0
- max_temp = 120
- control = pid
- pid_kp = 58.437
- pid_ki = 2.347
- pid_kd = 363.769
- [probe]
- pin = ^!PA3
- x_offset = 0
- y_offset = 25.0
- z_offset = 0
- speed = 10.0
- samples = 3
- samples_result = median
- sample_retract_dist = 3.0
- samples_tolerance = 0.006
- samples_tolerance_retries = 3
- [heater_fan hotend_fan]
- pin = PA13
- max_power = 1.0
- kick_start_time = 0.5
- heater = extruder
- heater_temp = 50.0
- [fan]
- pin = PA14
- max_power = 0.4
- kick_start_time = 0.5
- off_below = 0.10
- [heater_fan controller_fan]
- pin = PB2
- kick_start_time = 0.5
- heater = heater_bed
- heater_temp = 45.0
- [idle_timeout]
- timeout = 1800
- [safe_z_home]
- home_xy_position = -100,-100
- speed = 100
- z_hop = 10
- [quad_gantry_level]
- gantry_corners =
- -60,-10
- 360,370
- points =
- 50,25
- 50,225
- 250,225
- 250,25
- speed = 100
- horizontal_move_z = 10
- retries = 5
- retry_tolerance = 0.0075
- max_adjust = 10
- [display]
- lcd_type = uc1701
- cs_pin = PC11
- a0_pin = PD2
- rst_pin = PC10
- encoder_pins = ^PC6,^PC7
- click_pin = ^!PA8
- contrast = 63
- spi_software_mosi_pin = PA7
- spi_software_miso_pin = PA6
- spi_software_sclk_pin = PA5
- [neopixel fysetc_mini12864]
- pin = PC12
- chain_count = 3
- initial_red = 0.1
- initial_green = 0.5
- initial_blue = 0.0
- color_order = RGB
- [delayed_gcode setdisplayneopixel]
- initial_duration = 1
- gcode =
- SET_LED LED=fysetc_mini12864 RED=1 GREEN=1 BLUE=1 INDEX=1 TRANSMIT=0
- SET_LED LED=fysetc_mini12864 RED=1 GREEN=0 BLUE=0 INDEX=2 TRANSMIT=0
- SET_LED LED=fysetc_mini12864 RED=1 GREEN=0 BLUE=0 INDEX=3
- [gcode_macro G32]
- gcode =
- BED_MESH_CLEAR
- G28
- QUAD_GANTRY_LEVEL
- G28
- G0 X150 Y150 Z30 F3600
- [gcode_macro PRINT_START]
- gcode =
- G32
- G1 Z20 F3000
- [gcode_macro PRINT_END]
- gcode =
- M400
- G92 E0
- G1 E-1.0 F3600
- G91
- G0 Z1.00 X20.0 Y20.0 F20000
- TURN_OFF_HEATERS
- M107
- G1 Z2 F3000
- G90
- G0 X125 Y250 F3600
- BED_MESH_CLEAR
- =======================
- 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_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- webhooks client 281473432092000: New connection
- webhooks client 281473432092000: Client info {'program': 'Moonraker', 'version': 'v0.8.0-204-gfb15b2a'}
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- MCU error during connect
- Traceback (most recent call last):
- File "/home/biqu/klipper/klippy/mcu.py", line 800, in _mcu_identify
- self._serial.connect_uart(self._serialport, self._baud, rts)
- File "/home/biqu/klipper/klippy/serialhdl.py", line 182, in connect_uart
- self._error("Unable to connect")
- File "/home/biqu/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- serialhdl.error: mcu 'mcu': Unable to connect
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/home/biqu/klipper/klippy/klippy.py", line 176, in _connect
- self.send_event("klippy:mcu_identify")
- File "/home/biqu/klipper/klippy/klippy.py", line 263, in send_event
- return [cb(*params) for cb in self.event_handlers.get(event, [])]
- File "/home/biqu/klipper/klippy/klippy.py", line 263, in <listcomp>
- return [cb(*params) for cb in self.event_handlers.get(event, [])]
- File "/home/biqu/klipper/klippy/mcu.py", line 805, in _mcu_identify
- raise error(str(e))
- mcu.error: mcu 'mcu': Unable to connect
- Build file /home/biqu/klipper/klippy/../.config(3376): Fri Nov 24 19:57:18 2023
- ========= 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_HC32F460 is not set
- # CONFIG_MACH_RP2040 is not set
- # CONFIG_MACH_PRU is not set
- # CONFIG_MACH_AR100 is not set
- # CONFIG_MACH_LINUX is not set
- # CONFIG_MACH_SIMU is not set
- CONFIG_BOARD_DIRECTORY="stm32"
- CONFIG_MCU="stm32f446xx"
- CONFIG_CLOCK_FREQ=180000000
- CONFIG_USBSERIAL=y
- CONFIG_FLASH_SIZE=0x80000
- CONFIG_FLASH_BOOT_ADDRESS=0x8000000
- CONFIG_RAM_START=0x20000000
- CONFIG_RAM_SIZE=0x20000
- CONFIG_STACK_SIZE=512
- CONFIG_FLASH_APPLICATION_ADDRESS=0x8008000
- 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=y
- # CONFIG_MACH_STM32F765 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_STM32G070 is not set
- # CONFIG_MACH_STM32G071 is not set
- # CONFIG_MACH_STM32G0B0 is not set
- # CONFIG_MACH_STM32G0B1 is not set
- # CONFIG_MACH_STM32G431 is not set
- # CONFIG_MACH_STM32H723 is not set
- # CONFIG_MACH_STM32H743 is not set
- # CONFIG_MACH_STM32H750 is not set
- # CONFIG_MACH_STM32L412 is not set
- # CONFIG_MACH_N32G452 is not set
- # CONFIG_MACH_N32G455 is not set
- CONFIG_MACH_STM32F4=y
- CONFIG_HAVE_STM32_USBOTG=y
- CONFIG_HAVE_STM32_CANBUS=y
- CONFIG_HAVE_STM32_USBCANBUS=y
- CONFIG_STM32_DFU_ROM_ADDRESS=0x1fff0000
- CONFIG_STM32_FLASH_START_8000=y
- # CONFIG_STM32_FLASH_START_10000 is not set
- # CONFIG_STM32_FLASH_START_0000 is not set
- # CONFIG_STM32_CLOCK_REF_8M is not set
- CONFIG_STM32_CLOCK_REF_12M=y
- # CONFIG_STM32_CLOCK_REF_16M is not set
- # CONFIG_STM32_CLOCK_REF_20M is not set
- # CONFIG_STM32_CLOCK_REF_24M is not set
- # CONFIG_STM32_CLOCK_REF_25M is not set
- # CONFIG_STM32_CLOCK_REF_INTERNAL is not set
- CONFIG_CLOCK_REF_FREQ=12000000
- 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_CANBUS_PA11_PB9 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_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_WANT_GPIO_BITBANGING=y
- CONFIG_WANT_DISPLAYS=y
- CONFIG_WANT_SENSORS=y
- CONFIG_WANT_LIS2DW=y
- CONFIG_WANT_SOFTWARE_I2C=y
- CONFIG_WANT_SOFTWARE_SPI=y
- CONFIG_CANBUS_FREQUENCY=1000000
- CONFIG_INITIAL_PINS=""
- CONFIG_HAVE_GPIO=y
- CONFIG_HAVE_GPIO_ADC=y
- CONFIG_HAVE_GPIO_SPI=y
- CONFIG_HAVE_GPIO_SDIO=y
- CONFIG_HAVE_GPIO_I2C=y
- CONFIG_HAVE_GPIO_HARD_PWM=y
- CONFIG_HAVE_STRICT_TIMING=y
- CONFIG_HAVE_CHIPID=y
- CONFIG_HAVE_STEPPER_BOTH_EDGE=y
- CONFIG_HAVE_BOOTLOADER_REQUEST=y
- CONFIG_INLINE_STEPPER_HACK=y
- =======================
- Build file /home/biqu/klipper/klippy/../out/klipper.dict(8788): Sat Nov 25 05:32:53 2023
- Last MCU build version: v0.12.0-10-gea2f6bc0
- Last MCU build tools: gcc: (15:8-2019-q3-1+b1) 8.3.1 20190703 (release) [gcc-8-branch revision 273027] binutils: (2.35.2-2+14+b2) 2.35.2
- Last MCU build config: ADC_MAX=4095 BUS_PINS_i2c1=PB6,PB7 BUS_PINS_i2c1a=PB8,PB9 BUS_PINS_i2c2=PB10,PB11 BUS_PINS_i2c3=PA8,PC9 BUS_PINS_sdio=PC12,PD2,PC8,PC9,PC10,PC11 BUS_PINS_spi1=PA6,PA7,PA5 BUS_PINS_spi1a=PB4,PB5,PB3 BUS_PINS_spi2=PB14,PB15,PB13 BUS_PINS_spi2a=PC2,PC3,PB10 BUS_PINS_spi3=PB4,PB5,PB3 BUS_PINS_spi3a=PC11,PC12,PC10 BUS_PINS_spi4=PE13,PE14,PE12 CLOCK_FREQ=180000000 MCU=stm32f446xx PWM_MAX=255 RESERVE_PINS_USB=PA11,PA12 RESERVE_PINS_crystal=PH0,PH1 STATS_SUMSQ_BASE=256 STEPPER_BOTH_EDGE=1
- Build file /home/biqu/klipper/klippy/../out/klipper.elf(1295708): Sat Nov 25 05:33:07 2023
- Starting Klippy...
- Args: ['/home/biqu/klipper/klippy/klippy.py', '/home/biqu/printer_data/config/printer.cfg', '-I', '/home/biqu/printer_data/comms/klippy.serial', '-l', '/home/biqu/printer_data/logs/klippy.log', '-a', '/home/biqu/printer_data/comms/klippy.sock']
- Git version: 'v0.12.0-10-gea2f6bc0'
- Branch: master
- Remote: origin
- Tracked URL: https://github.com/Klipper3d/klipper
- CPU: 4 core ?
- Python: '3.9.2 (default, Feb 28 2021, 17:03:44) \n[GCC 10.2.1 20210110]'
- Start printer at Fri Nov 24 19:08:33 2023 (1700852913.6 31.4)
- ===== Config file =====
- [mcu]
- serial = /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00
- [printer]
- kinematics = corexy
- max_velocity = 300
- max_accel = 5000
- max_z_velocity = 15
- max_z_accel = 350
- square_corner_velocity = 5.0
- [stepper_x]
- step_pin = PE11
- dir_pin = !PE10
- enable_pin = !PE9
- rotation_distance = 40
- microsteps = 16
- full_steps_per_rotation = 200
- endstop_pin = ^PB14
- position_min = 0
- position_endstop = 300
- position_max = 300
- homing_speed = 25
- homing_retract_dist = 5
- homing_positive_dir = true
- [tmc2209 stepper_x]
- uart_pin = PE7
- interpolate = True
- run_current = 0.7
- hold_current = 0.4
- sense_resistor = 0.110
- stealthchop_threshold = 0
- [stepper_y]
- step_pin = PD8
- dir_pin = !PB12
- enable_pin = !PD9
- rotation_distance = 40
- microsteps = 16
- full_steps_per_rotation = 200
- endstop_pin = ^PB13
- position_min = 0
- position_endstop = 300
- position_max = 300
- homing_speed = 25
- homing_retract_dist = 5
- homing_positive_dir = true
- [tmc2209 stepper_y]
- uart_pin = PE15
- interpolate = True
- run_current = 0.7
- hold_current = 0.4
- sense_resistor = 0.110
- stealthchop_threshold = 0
- [stepper_z]
- step_pin = PD14
- dir_pin = !PD13
- enable_pin = !PD15
- rotation_distance = 40
- gear_ratio = 80:16
- microsteps = 16
- endstop_pin = ^PA0
- position_endstop = -0.5
- position_max = 290
- position_min = -5
- homing_speed = 8
- second_homing_speed = 3
- homing_retract_dist = 3
- [tmc2209 stepper_z]
- uart_pin = PD10
- interpolate = True
- run_current = 0.7
- hold_current = 0.4
- sense_resistor = 0.110
- stealthchop_threshold = 0
- [stepper_z1]
- step_pin = PE6
- dir_pin = PC13
- enable_pin = !PE5
- rotation_distance = 40
- gear_ratio = 80:16
- microsteps = 16
- [tmc2209 stepper_z1]
- uart_pin = PC14
- interpolate = True
- run_current = 0.7
- hold_current = 0.4
- sense_resistor = 0.110
- stealthchop_threshold = 0
- [stepper_z2]
- step_pin = PE2
- dir_pin = !PE4
- enable_pin = !PE3
- rotation_distance = 40
- gear_ratio = 80:16
- microsteps = 16
- [tmc2209 stepper_z2]
- uart_pin = PC15
- interpolate = true
- run_current = 0.7
- hold_current = 0.4
- sense_resistor = 0.110
- stealthchop_threshold = 0
- [stepper_z3]
- step_pin = PD12
- dir_pin = PC4
- enable_pin = !PE8
- rotation_distance = 40
- gear_ratio = 80:16
- microsteps = 16
- [tmc2209 stepper_z3]
- uart_pin = PA15
- interpolate = true
- run_current = 0.7
- hold_current = 0.4
- sense_resistor = 0.110
- stealthchop_threshold = 0
- [extruder]
- step_pin = PD5
- dir_pin = !PD6
- enable_pin = !PD4
- rotation_distance = 22.6789511
- gear_ratio = 50:17
- microsteps = 16
- full_steps_per_rotation = 200
- nozzle_diameter = 0.400
- filament_diameter = 1.75
- heater_pin = PB15
- sensor_type = Generic 3950
- sensor_pin = PC0
- min_temp = 10
- max_temp = 270
- max_power = 1.0
- min_extrude_temp = 170
- control = pid
- pid_kp = 26.213
- pid_ki = 1.304
- pid_kd = 131.721
- pressure_advance = 0.05
- pressure_advance_smooth_time = 0.040
- [tmc2209 extruder]
- uart_pin = PD7
- interpolate = false
- run_current = 0.5
- hold_current = 0.2
- sense_resistor = 0.110
- stealthchop_threshold = 0
- [heater_bed]
- heater_pin = PB4
- sensor_type = Generic 3950
- sensor_pin = PB0
- max_power = 0.6
- min_temp = 0
- max_temp = 120
- control = pid
- pid_kp = 58.437
- pid_ki = 2.347
- pid_kd = 363.769
- [probe]
- pin = ^!PA3
- x_offset = 0
- y_offset = 25.0
- z_offset = 0
- speed = 10.0
- samples = 3
- samples_result = median
- sample_retract_dist = 3.0
- samples_tolerance = 0.006
- samples_tolerance_retries = 3
- [heater_fan hotend_fan]
- pin = PA13
- max_power = 1.0
- kick_start_time = 0.5
- heater = extruder
- heater_temp = 50.0
- [fan]
- pin = PA14
- max_power = 0.4
- kick_start_time = 0.5
- off_below = 0.10
- [heater_fan controller_fan]
- pin = PB2
- kick_start_time = 0.5
- heater = heater_bed
- heater_temp = 45.0
- [idle_timeout]
- timeout = 1800
- [safe_z_home]
- home_xy_position = -100,-100
- speed = 100
- z_hop = 10
- [quad_gantry_level]
- gantry_corners =
- -60,-10
- 360,370
- points =
- 50,25
- 50,225
- 250,225
- 250,25
- speed = 100
- horizontal_move_z = 10
- retries = 5
- retry_tolerance = 0.0075
- max_adjust = 10
- [display]
- lcd_type = uc1701
- cs_pin = PC11
- a0_pin = PD2
- rst_pin = PC10
- encoder_pins = ^PC6,^PC7
- click_pin = ^!PA8
- contrast = 63
- spi_software_mosi_pin = PA7
- spi_software_miso_pin = PA6
- spi_software_sclk_pin = PA5
- [neopixel fysetc_mini12864]
- pin = PC12
- chain_count = 3
- initial_red = 0.1
- initial_green = 0.5
- initial_blue = 0.0
- color_order = RGB
- [delayed_gcode setdisplayneopixel]
- initial_duration = 1
- gcode =
- SET_LED LED=fysetc_mini12864 RED=1 GREEN=1 BLUE=1 INDEX=1 TRANSMIT=0
- SET_LED LED=fysetc_mini12864 RED=1 GREEN=0 BLUE=0 INDEX=2 TRANSMIT=0
- SET_LED LED=fysetc_mini12864 RED=1 GREEN=0 BLUE=0 INDEX=3
- [gcode_macro G32]
- gcode =
- BED_MESH_CLEAR
- G28
- QUAD_GANTRY_LEVEL
- G28
- G0 X150 Y150 Z30 F3600
- [gcode_macro PRINT_START]
- gcode =
- G32
- G1 Z20 F3000
- [gcode_macro PRINT_END]
- gcode =
- M400
- G92 E0
- G1 E-1.0 F3600
- G91
- G0 Z1.00 X20.0 Y20.0 F20000
- TURN_OFF_HEATERS
- M107
- G1 Z2 F3000
- G90
- G0 X125 Y250 F3600
- BED_MESH_CLEAR
- =======================
- 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_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- webhooks client 281473318176896: New connection
- webhooks client 281473318176896: Client info {'program': 'Moonraker', 'version': 'v0.8.0-204-gfb15b2a'}
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
- MCU error during connect
- Traceback (most recent call last):
- File "/home/biqu/klipper/klippy/mcu.py", line 800, in _mcu_identify
- self._serial.connect_uart(self._serialport, self._baud, rts)
- File "/home/biqu/klipper/klippy/serialhdl.py", line 182, in connect_uart
- self._error("Unable to connect")
- File "/home/biqu/klipper/klippy/serialhdl.py", line 61, in _error
- raise error(self.warn_prefix + (msg % params))
- serialhdl.error: mcu 'mcu': Unable to connect
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/home/biqu/klipper/klippy/klippy.py", line 176, in _connect
- self.send_event("klippy:mcu_identify")
- File "/home/biqu/klipper/klippy/klippy.py", line 263, in send_event
- return [cb(*params) for cb in self.event_handlers.get(event, [])]
- File "/home/biqu/klipper/klippy/klippy.py", line 263, in <listcomp>
- return [cb(*params) for cb in self.event_handlers.get(event, [])]
- File "/home/biqu/klipper/klippy/mcu.py", line 805, in _mcu_identify
- raise error(str(e))
- mcu.error: mcu 'mcu': Unable to connect
- Build file /home/biqu/klipper/klippy/../.config(3376): Fri Nov 24 19:57:18 2023
- ========= 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_HC32F460 is not set
- # CONFIG_MACH_RP2040 is not set
- # CONFIG_MACH_PRU is not set
- # CONFIG_MACH_AR100 is not set
- # CONFIG_MACH_LINUX is not set
- # CONFIG_MACH_SIMU is not set
- CONFIG_BOARD_DIRECTORY="stm32"
- CONFIG_MCU="stm32f446xx"
- CONFIG_CLOCK_FREQ=180000000
- CONFIG_USBSERIAL=y
- CONFIG_FLASH_SIZE=0x80000
- CONFIG_FLASH_BOOT_ADDRESS=0x8000000
- CONFIG_RAM_START=0x20000000
- CONFIG_RAM_SIZE=0x20000
- CONFIG_STACK_SIZE=512
- CONFIG_FLASH_APPLICATION_ADDRESS=0x8008000
- 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=y
- # CONFIG_MACH_STM32F765 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_STM32G070 is not set
- # CONFIG_MACH_STM32G071 is not set
- # CONFIG_MACH_STM32G0B0 is not set
- # CONFIG_MACH_STM32G0B1 is not set
- # CONFIG_MACH_STM32G431 is not set
- # CONFIG_MACH_STM32H723 is not set
- # CONFIG_MACH_STM32H743 is not set
- # CONFIG_MACH_STM32H750 is not set
- # CONFIG_MACH_STM32L412 is not set
- # CONFIG_MACH_N32G452 is not set
- # CONFIG_MACH_N32G455 is not set
- CONFIG_MACH_STM32F4=y
- CONFIG_HAVE_STM32_USBOTG=y
- CONFIG_HAVE_STM32_CANBUS=y
- CONFIG_HAVE_STM32_USBCANBUS=y
- CONFIG_STM32_DFU_ROM_ADDRESS=0x1fff0000
- CONFIG_STM32_FLASH_START_8000=y
- # CONFIG_STM32_FLASH_START_10000 is not set
- # CONFIG_STM32_FLASH_START_0000 is not set
- # CONFIG_STM32_CLOCK_REF_8M is not set
- CONFIG_STM32_CLOCK_REF_12M=y
- # CONFIG_STM32_CLOCK_REF_16M is not set
- # CONFIG_STM32_CLOCK_REF_20M is not set
- # CONFIG_STM32_CLOCK_REF_24M is not set
- # CONFIG_STM32_CLOCK_REF_25M is not set
- # CONFIG_STM32_CLOCK_REF_INTERNAL is not set
- CONFIG_CLOCK_REF_FREQ=12000000
- 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_CANBUS_PA11_PB9 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_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_WANT_GPIO_BITBANGING=y
- CONFIG_WANT_DISPLAYS=y
- CONFIG_WANT_SENSORS=y
- CONFIG_WANT_LIS2DW=y
- CONFIG_WANT_SOFTWARE_I2C=y
- CONFIG_WANT_SOFTWARE_SPI=y
- CONFIG_CANBUS_FREQUENCY=1000000
- CONFIG_INITIAL_PINS=""
- CONFIG_HAVE_GPIO=y
- CONFIG_HAVE_GPIO_ADC=y
- CONFIG_HAVE_GPIO_SPI=y
- CONFIG_HAVE_GPIO_SDIO=y
- CONFIG_HAVE_GPIO_I2C=y
- CONFIG_HAVE_GPIO_HARD_PWM=y
- CONFIG_HAVE_STRICT_TIMING=y
- CONFIG_HAVE_CHIPID=y
- CONFIG_HAVE_STEPPER_BOTH_EDGE=y
- CONFIG_HAVE_BOOTLOADER_REQUEST=y
- CONFIG_INLINE_STEPPER_HACK=y
- =======================
- Build file /home/biqu/klipper/klippy/../out/klipper.dict(8788): Sat Nov 25 05:32:53 2023
- Last MCU build version: v0.12.0-10-gea2f6bc0
- Last MCU build tools: gcc: (15:8-2019-q3-1+b1) 8.3.1 20190703 (release) [gcc-8-branch revision 273027] binutils: (2.35.2-2+14+b2) 2.35.2
- Last MCU build config: ADC_MAX=4095 BUS_PINS_i2c1=PB6,PB7 BUS_PINS_i2c1a=PB8,PB9 BUS_PINS_i2c2=PB10,PB11 BUS_PINS_i2c3=PA8,PC9 BUS_PINS_sdio=PC12,PD2,PC8,PC9,PC10,PC11 BUS_PINS_spi1=PA6,PA7,PA5 BUS_PINS_spi1a=PB4,PB5,PB3 BUS_PINS_spi2=PB14,PB15,PB13 BUS_PINS_spi2a=PC2,PC3,PB10 BUS_PINS_spi3=PB4,PB5,PB3 BUS_PINS_spi3a=PC11,PC12,PC10 BUS_PINS_spi4=PE13,PE14,PE12 CLOCK_FREQ=180000000 MCU=stm32f446xx PWM_MAX=255 RESERVE_PINS_USB=PA11,PA12 RESERVE_PINS_crystal=PH0,PH1 STATS_SUMSQ_BASE=256 STEPPER_BOTH_EDGE=1
- Build file /home/biqu/klipper/klippy/../out/klipper.elf(1295708): Sat Nov 25 05:33:07 2023
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement