Advertisement
Guest User

Untitled

a guest
Jan 30th, 2023
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.83 KB | None | 0 0
  1. Starting Klippy...
  2. 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']
  3. Git version: 'v0.11.0-88-g6273d7e0'
  4. CPU: 4 core ?
  5. Python: '2.7.16 (default, Oct 10 2019, 22:02:15) \n[GCC 8.3.0]'
  6. Start printer at Mon Jan 30 20:14:09 2023 (1675106049.8 325.1)
  7. ===== Config file =====
  8. [mcu]
  9. canbus_uuid = 3fcec9da4296
  10.  
  11. [mcu toolhead0]
  12. canbus_uuid = f8caf791da55
  13.  
  14. [stepper_x]
  15. enable_pin = !PC15
  16. step_pin = PC14
  17. dir_pin = !PC13
  18. microsteps = 16
  19. rotation_distance = 40
  20. full_steps_per_rotation = 200
  21. endstop_pin = toolhead0:PB6
  22. position_min = 0
  23. position_endstop = 230
  24. position_max = 230
  25. homing_speed = 50
  26. homing_retract_dist = 5
  27. homing_positive_dir = true
  28. step_pulse_duration = 0.000008
  29.  
  30. [stepper_y]
  31. enable_pin = !PD14
  32. step_pin = PE5
  33. dir_pin = !PE4
  34. microsteps = 16
  35. rotation_distance = 40
  36. full_steps_per_rotation = 200
  37. endstop_pin = PA14
  38. position_min = 0
  39. position_endstop = 230
  40. position_max = 230
  41. homing_speed = 50
  42. homing_retract_dist = 5
  43. homing_positive_dir = true
  44. step_pulse_duration = 0.000008
  45.  
  46. [stepper_y1]
  47. enable_pin = !PE2
  48. step_pin = PE1
  49. dir_pin = !PE0
  50. microsteps = 16
  51. rotation_distance = 40
  52. full_steps_per_rotation = 200
  53. gear_ratio = 80:16
  54. endstop_pin = PA15
  55. step_pulse_duration = 0.000008
  56.  
  57. [stepper_z]
  58. enable_pin = !PB6
  59. step_pin = PB5
  60. dir_pin = PB4
  61. microsteps = 16
  62. rotation_distance = 40
  63. full_steps_per_rotation = 200
  64. gear_ratio = 80:16
  65. endstop_pin = PA13
  66. position_min = 0
  67. position_endstop = 230
  68. position_max = 230
  69. homing_speed = 50
  70. homing_retract_dist = 5
  71. homing_positive_dir = true
  72. step_pulse_duration = 0.000008
  73.  
  74. [stepper_z1]
  75. enable_pin = !PD7
  76. step_pin = PD6
  77. dir_pin = PD5
  78. microsteps = 16
  79. rotation_distance = 40
  80. full_steps_per_rotation = 200
  81. gear_ratio = 80:16
  82. endstop_pin = PD15
  83. step_pulse_duration = 0.000008
  84.  
  85. [extruder]
  86. step_pin = toolhead0: PD0
  87. dir_pin = toolhead0: PD1
  88. enable_pin = !toolhead0: PD2
  89. microsteps = 16
  90. rotation_distance = 25.12
  91. gear_ratio = 50:17
  92. full_steps_per_rotation = 200
  93. nozzle_diameter = 0.400
  94. filament_diameter = 1.750
  95. min_temp = 10
  96. max_temp = 275
  97. heater_pin = PA3
  98. sensor_type = Generic 3950
  99. sensor_pin = toolhead0: PA3
  100. max_power = 1.0
  101. control = pid
  102. pid_kp = 26.213
  103. pid_ki = 1.304
  104. pid_kd = 131.721
  105. pressure_advance = 0.00
  106. pressure_advance_smooth_time = 0.150
  107. max_extrude_cross_section = 20
  108. instantaneous_corner_velocity = 1.000
  109. max_extrude_only_distance = 50.0
  110. max_extrude_only_velocity = 5000
  111. max_extrude_only_accel = 2000
  112. step_pulse_duration = 0.000004
  113.  
  114. [heater_bed]
  115. heater_pin = PD12
  116. sensor_type = temperature_host
  117. max_power = 1.0
  118. control = pid
  119. pid_kp = 71.039
  120. pid_ki = 2.223
  121. pid_kd = 567.421
  122. min_temp = 0
  123. max_temp = 200
  124.  
  125. [fan]
  126. pin = toolhead0: PA0
  127.  
  128. [heater_fan hotend_fan]
  129. pin = toolhead0: PA1
  130. shutdown_speed = 1
  131.  
  132. [controller_fan board_fan]
  133. pin = PA2
  134.  
  135. [idle_timeout]
  136. timeout = 3600
  137.  
  138. [safe_z_home]
  139. home_xy_position = 115,115
  140. speed = 100
  141. z_hop = 10
  142. z_hop_speed = 5
  143.  
  144. [probe]
  145. pin = toolhead0: PB9
  146. x_offset = 0
  147. y_offset = 25.0
  148. z_offset = 0.55
  149. speed = 10.0
  150. samples = 2
  151. samples_result = median
  152. sample_retract_dist = 3.0
  153. samples_tolerance = 0.05
  154. samples_tolerance_retries = 1
  155.  
  156. [printer]
  157. kinematics = corexy
  158. max_velocity = 500
  159. max_accel = 8000
  160. max_accel_to_decel = 4000
  161. max_z_velocity = 15
  162. max_z_accel = 100
  163. square_corner_velocity = 2.0
  164.  
  165. [tmc5160 stepper_x]
  166. cs_pin = PE6
  167. interpolate = True
  168. run_current = 1
  169. hold_current = 0.5
  170. stealthchop_threshold = 400
  171.  
  172. [tmc2209 stepper_y]
  173. uart_pin = PE3
  174. run_current = 0.8
  175. hold_current = 0.5
  176. interpolate = True
  177. stealthchop_threshold = 400
  178.  
  179. [tmc2209 stepper_y1]
  180. uart_pin = PB7
  181. run_current = 0.8
  182. hold_current = 0.5
  183. interpolate = True
  184. stealthchop_threshold = 120
  185.  
  186. [tmc2209 stepper_z]
  187. uart_pin = PB3
  188. interpolate = True
  189. run_current = 0.8
  190. hold_current = 0.5
  191. stealthchop_threshold = 120
  192.  
  193. [tmc2209 stepper_z1]
  194. uart_pin = PD4
  195. interpolate = True
  196. run_current = 0.8
  197. hold_current = 0.5
  198. stealthchop_threshold = 120
  199.  
  200. [tmc2209 extruder]
  201. uart_pin = toolhead0: PA15
  202. run_current = 0.8
  203. hold_current = 0.5
  204. interpolate = True
  205. stealthchop_threshold = 400
  206.  
  207. [neopixel Hotend]
  208. pin = toolhead0: PD3
  209. chain_count = 12
  210. color_order = GRB
  211. initial_red = 0.01
  212. initial_green = 0.01
  213. initial_blue = 0.01
  214.  
  215. [mcu skipr]
  216. serial = /tmp/klipper_host_mcu
  217.  
  218. [temperature_sensor SKIPR]
  219. sensor_type = temperature_host
  220. max_temp = 100
  221.  
  222. [temperature_sensor EBB36]
  223. sensor_type = temperature_mcu
  224. sensor_mcu = toolhead0
  225. max_temp = 100
  226.  
  227. [resonance_tester]
  228. accel_chip = adxl345
  229. probe_points =
  230. 100, 100, 20
  231.  
  232. [input_shaper]
  233. shaper_freq_x = 68.4
  234. shaper_type_x = mzv
  235. shaper_freq_y = 45.6
  236. shaper_type_y = mzv
  237.  
  238. [virtual_sdcard]
  239. path = /home/mks/printer_data/gcodes
  240.  
  241. [pause_resume]
  242.  
  243. [gcode_macro CANCEL_PRINT]
  244. description = Cancel the actual running print
  245. rename_existing = CANCEL_PRINT_BASE
  246. gcode =
  247. TURN_OFF_HEATERS
  248. CANCEL_PRINT_BASE
  249.  
  250. [display_status]
  251.  
  252. [gcode_macro G32]
  253. gcode =
  254. BED_MESH_CLEAR
  255. G28
  256. QUAD_GANTRY_LEVEL
  257. G28
  258. =======================
  259. Extruder max_extrude_ratio=8.315034
  260. mcu 'mcu': Starting CAN connect
  261. Created a socket
  262. webhooks client 281472900633160: New connection
  263. webhooks client 281472900633160: Client info {'program': 'Moonraker', 'version': 'v0.7.1-780-gdde9bcc'}
  264. 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)
  265. 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
  266. mcu 'toolhead0': Starting CAN connect
  267. Created a socket
  268. 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)
  269. 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
  270. mcu 'skipr': Starting connect
  271. 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)
  272. MCU 'skipr' config: PCA9685_MAX=4096 ADC_MAX=4095 PWM_MAX=32768 CLOCK_FREQ=50000000 MCU=linux STATS_SUMSQ_BASE=256
  273. mcu_temperature 'toolhead0' nominal base=-274.678363 slope=1317.105263
  274. Config error
  275. Traceback (most recent call last):
  276. File "/home/mks/klipper/klippy/klippy.py", line 180, in _connect
  277. cb()
  278. File "/home/mks/klipper/klippy/mcu.py", line 732, in _connect
  279. self._send_config(None)
  280. File "/home/mks/klipper/klippy/mcu.py", line 662, in _send_config
  281. cb()
  282. File "/home/mks/klipper/klippy/extras/bus.py", line 79, in build_config
  283. bus = resolve_bus_name(self.mcu, "spi_bus", self.bus)
  284. File "/home/mks/klipper/klippy/extras/bus.py", line 32, in resolve_bus_name
  285. pin_resolver.reserve_pin(pin, bus)
  286. File "/home/mks/klipper/klippy/pins.py", line 27, in reserve_pin
  287. pin, self.reserved[pin], reserve_name))
  288. error: Pin PB13 reserved for CAN - can't reserve for spi2
  289.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement