Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Starting Klippy...
- Args: ['/home/mks/klipper/klippy/klippy.py', '/home/mks/klipper_config/printer.cfg', '-I', '/tmp/printer', '-l', '/home/mks/klipper_logs/klippy.log', '-a', '/tmp/klippy_uds']
- Git version: 'v0.11.0-88-g6273d7e0'
- CPU: 4 core ?
- Python: '2.7.16 (default, Oct 10 2019, 22:02:15) \n[GCC 8.3.0]'
- Start printer at Mon Jan 30 20:14:09 2023 (1675106049.8 325.1)
- ===== Config file =====
- [mcu]
- canbus_uuid = 3fcec9da4296
- [mcu toolhead0]
- canbus_uuid = f8caf791da55
- [stepper_x]
- enable_pin = !PC15
- step_pin = PC14
- dir_pin = !PC13
- microsteps = 16
- rotation_distance = 40
- full_steps_per_rotation = 200
- endstop_pin = toolhead0:PB6
- position_min = 0
- position_endstop = 230
- position_max = 230
- homing_speed = 50
- homing_retract_dist = 5
- homing_positive_dir = true
- step_pulse_duration = 0.000008
- [stepper_y]
- enable_pin = !PD14
- step_pin = PE5
- dir_pin = !PE4
- microsteps = 16
- rotation_distance = 40
- full_steps_per_rotation = 200
- endstop_pin = PA14
- position_min = 0
- position_endstop = 230
- position_max = 230
- homing_speed = 50
- homing_retract_dist = 5
- homing_positive_dir = true
- step_pulse_duration = 0.000008
- [stepper_y1]
- enable_pin = !PE2
- step_pin = PE1
- dir_pin = !PE0
- microsteps = 16
- rotation_distance = 40
- full_steps_per_rotation = 200
- gear_ratio = 80:16
- endstop_pin = PA15
- step_pulse_duration = 0.000008
- [stepper_z]
- enable_pin = !PB6
- step_pin = PB5
- dir_pin = PB4
- microsteps = 16
- rotation_distance = 40
- full_steps_per_rotation = 200
- gear_ratio = 80:16
- endstop_pin = PA13
- position_min = 0
- position_endstop = 230
- position_max = 230
- homing_speed = 50
- homing_retract_dist = 5
- homing_positive_dir = true
- step_pulse_duration = 0.000008
- [stepper_z1]
- enable_pin = !PD7
- step_pin = PD6
- dir_pin = PD5
- microsteps = 16
- rotation_distance = 40
- full_steps_per_rotation = 200
- gear_ratio = 80:16
- endstop_pin = PD15
- step_pulse_duration = 0.000008
- [extruder]
- step_pin = toolhead0: PD0
- dir_pin = toolhead0: PD1
- enable_pin = !toolhead0: PD2
- microsteps = 16
- rotation_distance = 25.12
- gear_ratio = 50:17
- full_steps_per_rotation = 200
- nozzle_diameter = 0.400
- filament_diameter = 1.750
- min_temp = 10
- max_temp = 275
- heater_pin = PA3
- sensor_type = Generic 3950
- sensor_pin = toolhead0: PA3
- max_power = 1.0
- control = pid
- pid_kp = 26.213
- pid_ki = 1.304
- pid_kd = 131.721
- pressure_advance = 0.00
- pressure_advance_smooth_time = 0.150
- max_extrude_cross_section = 20
- instantaneous_corner_velocity = 1.000
- max_extrude_only_distance = 50.0
- max_extrude_only_velocity = 5000
- max_extrude_only_accel = 2000
- step_pulse_duration = 0.000004
- [heater_bed]
- heater_pin = PD12
- sensor_type = temperature_host
- max_power = 1.0
- control = pid
- pid_kp = 71.039
- pid_ki = 2.223
- pid_kd = 567.421
- min_temp = 0
- max_temp = 200
- [fan]
- pin = toolhead0: PA0
- [heater_fan hotend_fan]
- pin = toolhead0: PA1
- shutdown_speed = 1
- [controller_fan board_fan]
- pin = PA2
- [idle_timeout]
- timeout = 3600
- [safe_z_home]
- home_xy_position = 115,115
- speed = 100
- z_hop = 10
- z_hop_speed = 5
- [probe]
- pin = toolhead0: PB9
- x_offset = 0
- y_offset = 25.0
- z_offset = 0.55
- speed = 10.0
- samples = 2
- samples_result = median
- sample_retract_dist = 3.0
- samples_tolerance = 0.05
- samples_tolerance_retries = 1
- [printer]
- kinematics = corexy
- max_velocity = 500
- max_accel = 8000
- max_accel_to_decel = 4000
- max_z_velocity = 15
- max_z_accel = 100
- square_corner_velocity = 2.0
- [tmc5160 stepper_x]
- cs_pin = PE6
- interpolate = True
- run_current = 1
- hold_current = 0.5
- stealthchop_threshold = 400
- [tmc2209 stepper_y]
- uart_pin = PE3
- run_current = 0.8
- hold_current = 0.5
- interpolate = True
- stealthchop_threshold = 400
- [tmc2209 stepper_y1]
- uart_pin = PB7
- run_current = 0.8
- hold_current = 0.5
- interpolate = True
- stealthchop_threshold = 120
- [tmc2209 stepper_z]
- uart_pin = PB3
- interpolate = True
- run_current = 0.8
- hold_current = 0.5
- stealthchop_threshold = 120
- [tmc2209 stepper_z1]
- uart_pin = PD4
- interpolate = True
- run_current = 0.8
- hold_current = 0.5
- stealthchop_threshold = 120
- [tmc2209 extruder]
- uart_pin = toolhead0: PA15
- run_current = 0.8
- hold_current = 0.5
- interpolate = True
- stealthchop_threshold = 400
- [neopixel Hotend]
- pin = toolhead0: PD3
- chain_count = 12
- color_order = GRB
- initial_red = 0.01
- initial_green = 0.01
- initial_blue = 0.01
- [mcu skipr]
- serial = /tmp/klipper_host_mcu
- [temperature_sensor SKIPR]
- sensor_type = temperature_host
- max_temp = 100
- [temperature_sensor EBB36]
- sensor_type = temperature_mcu
- sensor_mcu = toolhead0
- max_temp = 100
- [resonance_tester]
- accel_chip = adxl345
- probe_points =
- 100, 100, 20
- [input_shaper]
- shaper_freq_x = 68.4
- shaper_type_x = mzv
- shaper_freq_y = 45.6
- shaper_type_y = mzv
- [virtual_sdcard]
- path = /home/mks/printer_data/gcodes
- [pause_resume]
- [gcode_macro CANCEL_PRINT]
- description = Cancel the actual running print
- rename_existing = CANCEL_PRINT_BASE
- gcode =
- TURN_OFF_HEATERS
- CANCEL_PRINT_BASE
- [display_status]
- [gcode_macro G32]
- gcode =
- BED_MESH_CLEAR
- G28
- QUAD_GANTRY_LEVEL
- G28
- =======================
- Extruder max_extrude_ratio=8.315034
- mcu 'mcu': Starting CAN connect
- Created a socket
- webhooks client 281472900633160: New connection
- webhooks client 281472900633160: Client info {'program': 'Moonraker', 'version': 'v0.7.1-780-gdde9bcc'}
- Loaded MCU 'mcu' 107 commands (v0.11.0-88-g6273d7e0 / gcc: (15:7-2018-q2-6) 7.3.1 20180622 (release) [ARM/embedded-7-branch revision 261907] binutils: (2.31.1-12+11) 2.31.1)
- MCU 'mcu' config: BUS_PINS_i2c1=PB6,PB7 BUS_PINS_i2c3a=PH7,PH8 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_i2c3=PA8,PC9 RESERVE_PINS_crystal=PH0,PH1 RESERVE_PINS_USB=PA11,PA12 CLOCK_FREQ=168000000 BUS_PINS_spi3a=PC11,PC12,PC10 BUS_PINS_spi1a=PB4,PB5,PB3 STATS_SUMSQ_BASE=256 RECEIVE_WINDOW=192 RESERVE_PINS_CAN=PB12,PB13 STEPPER_BOTH_EDGE=1 CANBUS_BRIDGE=1 ADC_MAX=4095 BUS_PINS_spi3=PB4,PB5,PB3 BUS_PINS_spi2=PB14,PB15,PB13 BUS_PINS_spi1=PA6,PA7,PA5 PWM_MAX=255 MCU=stm32f407xx
- mcu 'toolhead0': Starting CAN connect
- Created a socket
- Loaded MCU 'toolhead0' 107 commands (v0.11.0-88-g6273d7e0 / gcc: (15:7-2018-q2-6) 7.3.1 20180622 (release) [ARM/embedded-7-branch revision 261907] binutils: (2.31.1-12+11) 2.31.1)
- MCU 'toolhead0' config: BUS_PINS_i2c1_PB6_PB7=PB6,PB7 BUS_PINS_spi2a=PC2,PC3,PB10 CANBUS_FREQUENCY=500000 RESERVE_PINS_crystal=PF0,PF1 CLOCK_FREQ=64000000 BUS_PINS_i2c1_PB8_PB9=PB8,PB9 BUS_PINS_spi1a=PB4,PB5,PB3 STATS_SUMSQ_BASE=256 RECEIVE_WINDOW=192 BUS_PINS_i2c1_PA9_PA10=PA9,PA10 BUS_PINS_i2c2_PB10_PB11=PB10,PB11 RESERVE_PINS_CAN=PB0,PB1 STEPPER_BOTH_EDGE=1 ADC_MAX=4095 BUS_PINS_spi3=PB4,PB5,PB3 BUS_PINS_spi2=PB14,PB15,PB13 BUS_PINS_spi1=PA6,PA7,PA5 BUS_PINS_i2c2_PB13_PB14=PB13,PB14 PWM_MAX=255 MCU=stm32g0b1xx BUS_PINS_i2c3_PB3_PB4=PB3,PB4
- mcu 'skipr': Starting connect
- Loaded MCU 'skipr' 111 commands (v0.10.0-530-g3387a9c2 / gcc: (Debian 8.3.0-6) 8.3.0 binutils: (GNU Binutils for Debian) 2.31.1)
- MCU 'skipr' config: PCA9685_MAX=4096 ADC_MAX=4095 PWM_MAX=32768 CLOCK_FREQ=50000000 MCU=linux STATS_SUMSQ_BASE=256
- mcu_temperature 'toolhead0' nominal base=-274.678363 slope=1317.105263
- Config error
- Traceback (most recent call last):
- File "/home/mks/klipper/klippy/klippy.py", line 180, in _connect
- cb()
- File "/home/mks/klipper/klippy/mcu.py", line 732, in _connect
- self._send_config(None)
- File "/home/mks/klipper/klippy/mcu.py", line 662, in _send_config
- cb()
- File "/home/mks/klipper/klippy/extras/bus.py", line 79, in build_config
- bus = resolve_bus_name(self.mcu, "spi_bus", self.bus)
- File "/home/mks/klipper/klippy/extras/bus.py", line 32, in resolve_bus_name
- pin_resolver.reserve_pin(pin, bus)
- File "/home/mks/klipper/klippy/pins.py", line 27, in reserve_pin
- pin, self.reserved[pin], reserve_name))
- error: Pin PB13 reserved for CAN - can't reserve for spi2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement