Advertisement
nero150

klippy.log

Nov 25th, 2023 (edited)
298
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 51.03 KB | Software | 0 0
  1. ===== Config file =====
  2. [mcu]
  3. serial = /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00
  4.  
  5. [printer]
  6. kinematics = corexy
  7. max_velocity = 300
  8. max_accel = 5000
  9. max_z_velocity = 15
  10. max_z_accel = 350
  11. square_corner_velocity = 5.0
  12.  
  13. [stepper_x]
  14. step_pin = PE11
  15. dir_pin = !PE10
  16. enable_pin = !PE9
  17. rotation_distance = 40
  18. microsteps = 16
  19. full_steps_per_rotation = 200
  20. endstop_pin = ^PB14
  21. position_min = 0
  22. position_endstop = 300
  23. position_max = 300
  24. homing_speed = 25
  25. homing_retract_dist = 5
  26. homing_positive_dir = true
  27.  
  28. [tmc2209 stepper_x]
  29. uart_pin = PE7
  30. interpolate = True
  31. run_current = 0.7
  32. hold_current = 0.4
  33. sense_resistor = 0.110
  34. stealthchop_threshold = 0
  35.  
  36. [stepper_y]
  37. step_pin = PD8
  38. dir_pin = !PB12
  39. enable_pin = !PD9
  40. rotation_distance = 40
  41. microsteps = 16
  42. full_steps_per_rotation = 200
  43. endstop_pin = ^PB13
  44. position_min = 0
  45. position_endstop = 300
  46. position_max = 300
  47. homing_speed = 25
  48. homing_retract_dist = 5
  49. homing_positive_dir = true
  50.  
  51. [tmc2209 stepper_y]
  52. uart_pin = PE15
  53. interpolate = True
  54. run_current = 0.7
  55. hold_current = 0.4
  56. sense_resistor = 0.110
  57. stealthchop_threshold = 0
  58.  
  59. [stepper_z]
  60. step_pin = PD14
  61. dir_pin = !PD13
  62. enable_pin = !PD15
  63. rotation_distance = 40
  64. gear_ratio = 80:16
  65. microsteps = 16
  66. endstop_pin = ^PA0
  67. position_endstop = -0.5
  68. position_max = 290
  69. position_min = -5
  70. homing_speed = 8
  71. second_homing_speed = 3
  72. homing_retract_dist = 3
  73.  
  74. [tmc2209 stepper_z]
  75. uart_pin = PD10
  76. interpolate = True
  77. run_current = 0.7
  78. hold_current = 0.4
  79. sense_resistor = 0.110
  80. stealthchop_threshold = 0
  81.  
  82. [stepper_z1]
  83. step_pin = PE6
  84. dir_pin = PC13
  85. enable_pin = !PE5
  86. rotation_distance = 40
  87. gear_ratio = 80:16
  88. microsteps = 16
  89.  
  90. [tmc2209 stepper_z1]
  91. uart_pin = PC14
  92. interpolate = True
  93. run_current = 0.7
  94. hold_current = 0.4
  95. sense_resistor = 0.110
  96. stealthchop_threshold = 0
  97.  
  98. [stepper_z2]
  99. step_pin = PE2
  100. dir_pin = !PE4
  101. enable_pin = !PE3
  102. rotation_distance = 40
  103. gear_ratio = 80:16
  104. microsteps = 16
  105.  
  106. [tmc2209 stepper_z2]
  107. uart_pin = PC15
  108. interpolate = true
  109. run_current = 0.7
  110. hold_current = 0.4
  111. sense_resistor = 0.110
  112. stealthchop_threshold = 0
  113.  
  114. [stepper_z3]
  115. step_pin = PD12
  116. dir_pin = PC4
  117. enable_pin = !PE8
  118. rotation_distance = 40
  119. gear_ratio = 80:16
  120. microsteps = 16
  121.  
  122. [tmc2209 stepper_z3]
  123. uart_pin = PA15
  124. interpolate = true
  125. run_current = 0.7
  126. hold_current = 0.4
  127. sense_resistor = 0.110
  128. stealthchop_threshold = 0
  129.  
  130. [extruder]
  131. step_pin = PD5
  132. dir_pin = !PD6
  133. enable_pin = !PD4
  134. rotation_distance = 22.6789511
  135. gear_ratio = 50:17
  136. microsteps = 16
  137. full_steps_per_rotation = 200
  138. nozzle_diameter = 0.400
  139. filament_diameter = 1.75
  140. heater_pin = PB15
  141. sensor_type = Generic 3950
  142. sensor_pin = PC0
  143. min_temp = 10
  144. max_temp = 270
  145. max_power = 1.0
  146. min_extrude_temp = 170
  147. control = pid
  148. pid_kp = 26.213
  149. pid_ki = 1.304
  150. pid_kd = 131.721
  151. pressure_advance = 0.05
  152. pressure_advance_smooth_time = 0.040
  153.  
  154. [tmc2209 extruder]
  155. uart_pin = PD7
  156. interpolate = false
  157. run_current = 0.5
  158. hold_current = 0.2
  159. sense_resistor = 0.110
  160. stealthchop_threshold = 0
  161.  
  162. [heater_bed]
  163. heater_pin = PB4
  164. sensor_type = Generic 3950
  165. sensor_pin = PB0
  166. max_power = 0.6
  167. min_temp = 0
  168. max_temp = 120
  169. control = pid
  170. pid_kp = 58.437
  171. pid_ki = 2.347
  172. pid_kd = 363.769
  173.  
  174. [probe]
  175. pin = ^!PA3
  176. x_offset = 0
  177. y_offset = 25.0
  178. z_offset = 0
  179. speed = 10.0
  180. samples = 3
  181. samples_result = median
  182. sample_retract_dist = 3.0
  183. samples_tolerance = 0.006
  184. samples_tolerance_retries = 3
  185.  
  186. [heater_fan hotend_fan]
  187. pin = PA13
  188. max_power = 1.0
  189. kick_start_time = 0.5
  190. heater = extruder
  191. heater_temp = 50.0
  192.  
  193. [fan]
  194. pin = PA14
  195. max_power = 0.4
  196. kick_start_time = 0.5
  197. off_below = 0.10
  198.  
  199. [heater_fan controller_fan]
  200. pin = PB2
  201. kick_start_time = 0.5
  202. heater = heater_bed
  203. heater_temp = 45.0
  204.  
  205. [idle_timeout]
  206. timeout = 1800
  207.  
  208. [safe_z_home]
  209. home_xy_position = -100,-100
  210. speed = 100
  211. z_hop = 10
  212.  
  213. [quad_gantry_level]
  214. gantry_corners =
  215.     -60,-10
  216.     360,370
  217. points =
  218.     50,25
  219.     50,225
  220.     250,225
  221.     250,25
  222. speed = 100
  223. horizontal_move_z = 10
  224. retries = 5
  225. retry_tolerance = 0.0075
  226. max_adjust = 10
  227.  
  228. [display]
  229. lcd_type = uc1701
  230. cs_pin = PC11
  231. a0_pin = PD2
  232. rst_pin = PC10
  233. encoder_pins = ^PC6,^PC7
  234. click_pin = ^!PA8
  235. contrast = 63
  236. spi_software_mosi_pin = PA7
  237. spi_software_miso_pin = PA6
  238. spi_software_sclk_pin = PA5
  239.  
  240. [neopixel fysetc_mini12864]
  241. pin = PC12
  242. chain_count = 3
  243. initial_red = 0.1
  244. initial_green = 0.5
  245. initial_blue = 0.0
  246. color_order = RGB
  247.  
  248. [delayed_gcode setdisplayneopixel]
  249. initial_duration = 1
  250. gcode =
  251.     SET_LED LED=fysetc_mini12864 RED=1 GREEN=1 BLUE=1 INDEX=1 TRANSMIT=0
  252.     SET_LED LED=fysetc_mini12864 RED=1 GREEN=0 BLUE=0 INDEX=2 TRANSMIT=0
  253.     SET_LED LED=fysetc_mini12864 RED=1 GREEN=0 BLUE=0 INDEX=3
  254.  
  255. [gcode_macro G32]
  256. gcode =
  257.     BED_MESH_CLEAR
  258.     G28
  259.     QUAD_GANTRY_LEVEL
  260.     G28
  261.    
  262.    
  263.    
  264.    
  265.    
  266.    
  267.     G0 X150 Y150 Z30 F3600
  268.  
  269. [gcode_macro PRINT_START]
  270. gcode =
  271.     G32
  272.     G1 Z20 F3000
  273.  
  274. [gcode_macro PRINT_END]
  275. gcode =
  276.     M400
  277.     G92 E0
  278.     G1 E-1.0 F3600
  279.     G91
  280.     G0 Z1.00 X20.0 Y20.0 F20000
  281.     TURN_OFF_HEATERS
  282.     M107
  283.     G1 Z2 F3000
  284.     G90
  285.     G0  X125 Y250 F3600
  286.     BED_MESH_CLEAR
  287. =======================
  288. 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']
  289. Git version: 'v0.12.0-10-gea2f6bc0'
  290. Branch: master
  291. Remote: origin
  292. Tracked URL: https://github.com/Klipper3d/klipper
  293. CPU: 4 core ?
  294. Python: '3.9.2 (default, Feb 28 2021, 17:03:44) \n[GCC 10.2.1 20210110]'
  295. webhooks client 281473062538592: {'program': 'Moonraker', 'version': 'v0.8.0-204-gfb15b2a'}
  296. =============== Log rollover at Sat Nov 25 05:31:30 2023 ===============
  297. 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'
  298. 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'
  299. 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'
  300. 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'
  301. 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'
  302. 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'
  303. MCU error during connect
  304. Traceback (most recent call last):
  305.  File "/home/biqu/klipper/klippy/mcu.py", line 800, in _mcu_identify
  306.     self._serial.connect_uart(self._serialport, self._baud, rts)
  307.   File "/home/biqu/klipper/klippy/serialhdl.py", line 182, in connect_uart
  308.     self._error("Unable to connect")
  309.   File "/home/biqu/klipper/klippy/serialhdl.py", line 61, in _error
  310.     raise error(self.warn_prefix + (msg % params))
  311. serialhdl.error: mcu 'mcu': Unable to connect
  312.  
  313. During handling of the above exception, another exception occurred:
  314. Traceback (most recent call last):
  315.  File "/home/biqu/klipper/klippy/klippy.py", line 176, in _connect
  316.     self.send_event("klippy:mcu_identify")
  317.   File "/home/biqu/klipper/klippy/klippy.py", line 263, in send_event
  318.     return [cb(*params) for cb in self.event_handlers.get(event, [])]
  319.   File "/home/biqu/klipper/klippy/klippy.py", line 263, in <listcomp>
  320.    return [cb(*params) for cb in self.event_handlers.get(event, [])]
  321.   File "/home/biqu/klipper/klippy/mcu.py", line 805, in _mcu_identify
  322.     raise error(str(e))
  323. mcu.error: mcu 'mcu': Unable to connect
  324. Build file /home/biqu/klipper/klippy/../.config(3376): Fri Nov 24 19:57:18 2023
  325. ========= Last MCU build config =========
  326. CONFIG_LOW_LEVEL_OPTIONS=y
  327. # CONFIG_MACH_AVR is not set
  328. # CONFIG_MACH_ATSAM is not set
  329. # CONFIG_MACH_ATSAMD is not set
  330. # CONFIG_MACH_LPC176X is not set
  331. CONFIG_MACH_STM32=y
  332. # CONFIG_MACH_HC32F460 is not set
  333. # CONFIG_MACH_RP2040 is not set
  334. # CONFIG_MACH_PRU is not set
  335. # CONFIG_MACH_AR100 is not set
  336. # CONFIG_MACH_LINUX is not set
  337. # CONFIG_MACH_SIMU is not set
  338. CONFIG_BOARD_DIRECTORY="stm32"
  339. CONFIG_MCU="stm32f446xx"
  340. CONFIG_CLOCK_FREQ=180000000
  341. CONFIG_USBSERIAL=y
  342. CONFIG_FLASH_SIZE=0x80000
  343. CONFIG_FLASH_BOOT_ADDRESS=0x8000000
  344. CONFIG_RAM_START=0x20000000
  345. CONFIG_RAM_SIZE=0x20000
  346. CONFIG_STACK_SIZE=512
  347. CONFIG_FLASH_APPLICATION_ADDRESS=0x8008000
  348. CONFIG_STM32_SELECT=y
  349. # CONFIG_MACH_STM32F103 is not set
  350. # CONFIG_MACH_STM32F207 is not set
  351. # CONFIG_MACH_STM32F401 is not set
  352. # CONFIG_MACH_STM32F405 is not set
  353. # CONFIG_MACH_STM32F407 is not set
  354. # CONFIG_MACH_STM32F429 is not set
  355. CONFIG_MACH_STM32F446=y
  356. # CONFIG_MACH_STM32F765 is not set
  357. # CONFIG_MACH_STM32F031 is not set
  358. # CONFIG_MACH_STM32F042 is not set
  359. # CONFIG_MACH_STM32F070 is not set
  360. # CONFIG_MACH_STM32F072 is not set
  361. # CONFIG_MACH_STM32G070 is not set
  362. # CONFIG_MACH_STM32G071 is not set
  363. # CONFIG_MACH_STM32G0B0 is not set
  364. # CONFIG_MACH_STM32G0B1 is not set
  365. # CONFIG_MACH_STM32G431 is not set
  366. # CONFIG_MACH_STM32H723 is not set
  367. # CONFIG_MACH_STM32H743 is not set
  368. # CONFIG_MACH_STM32H750 is not set
  369. # CONFIG_MACH_STM32L412 is not set
  370. # CONFIG_MACH_N32G452 is not set
  371. # CONFIG_MACH_N32G455 is not set
  372. CONFIG_MACH_STM32F4=y
  373. CONFIG_HAVE_STM32_USBOTG=y
  374. CONFIG_HAVE_STM32_CANBUS=y
  375. CONFIG_HAVE_STM32_USBCANBUS=y
  376. CONFIG_STM32_DFU_ROM_ADDRESS=0x1fff0000
  377. CONFIG_STM32_FLASH_START_8000=y
  378. # CONFIG_STM32_FLASH_START_10000 is not set
  379. # CONFIG_STM32_FLASH_START_0000 is not set
  380. # CONFIG_STM32_CLOCK_REF_8M is not set
  381. CONFIG_STM32_CLOCK_REF_12M=y
  382. # CONFIG_STM32_CLOCK_REF_16M is not set
  383. # CONFIG_STM32_CLOCK_REF_20M is not set
  384. # CONFIG_STM32_CLOCK_REF_24M is not set
  385. # CONFIG_STM32_CLOCK_REF_25M is not set
  386. # CONFIG_STM32_CLOCK_REF_INTERNAL is not set
  387. CONFIG_CLOCK_REF_FREQ=12000000
  388. CONFIG_STM32F0_TRIM=16
  389. CONFIG_STM32_USB_PA11_PA12=y
  390. # CONFIG_STM32_SERIAL_USART1 is not set
  391. # CONFIG_STM32_SERIAL_USART1_ALT_PB7_PB6 is not set
  392. # CONFIG_STM32_SERIAL_USART2 is not set
  393. # CONFIG_STM32_SERIAL_USART2_ALT_PD6_PD5 is not set
  394. # CONFIG_STM32_SERIAL_USART3 is not set
  395. # CONFIG_STM32_SERIAL_USART3_ALT_PD9_PD8 is not set
  396. # CONFIG_STM32_CANBUS_PA11_PA12 is not set
  397. # CONFIG_STM32_CANBUS_PA11_PB9 is not set
  398. # CONFIG_STM32_MMENU_CANBUS_PB8_PB9 is not set
  399. # CONFIG_STM32_MMENU_CANBUS_PI9_PH13 is not set
  400. # CONFIG_STM32_MMENU_CANBUS_PB5_PB6 is not set
  401. # CONFIG_STM32_MMENU_CANBUS_PB12_PB13 is not set
  402. # CONFIG_STM32_MMENU_CANBUS_PD0_PD1 is not set
  403. # CONFIG_STM32_USBCANBUS_PA11_PA12 is not set
  404. CONFIG_USB=y
  405. CONFIG_USB_VENDOR_ID=0x1d50
  406. CONFIG_USB_DEVICE_ID=0x614e
  407. CONFIG_USB_SERIAL_NUMBER_CHIPID=y
  408. CONFIG_USB_SERIAL_NUMBER="12345"
  409.  
  410. #
  411. # USB ids
  412. #
  413. # end of USB ids
  414.  
  415. CONFIG_WANT_GPIO_BITBANGING=y
  416. CONFIG_WANT_DISPLAYS=y
  417. CONFIG_WANT_SENSORS=y
  418. CONFIG_WANT_LIS2DW=y
  419. CONFIG_WANT_SOFTWARE_I2C=y
  420. CONFIG_WANT_SOFTWARE_SPI=y
  421. CONFIG_CANBUS_FREQUENCY=1000000
  422. CONFIG_INITIAL_PINS=""
  423. CONFIG_HAVE_GPIO=y
  424. CONFIG_HAVE_GPIO_ADC=y
  425. CONFIG_HAVE_GPIO_SPI=y
  426. CONFIG_HAVE_GPIO_SDIO=y
  427. CONFIG_HAVE_GPIO_I2C=y
  428. CONFIG_HAVE_GPIO_HARD_PWM=y
  429. CONFIG_HAVE_STRICT_TIMING=y
  430. CONFIG_HAVE_CHIPID=y
  431. CONFIG_HAVE_STEPPER_BOTH_EDGE=y
  432. CONFIG_HAVE_BOOTLOADER_REQUEST=y
  433. CONFIG_INLINE_STEPPER_HACK=y
  434. =======================
  435. No build file /home/biqu/klipper/klippy/../out/klipper.dict
  436. No build file /home/biqu/klipper/klippy/../out/klipper.elf
  437. Attempting MCU 'mcu' reset
  438. Unhandled exception during post run
  439. Traceback (most recent call last):
  440.  File "/home/biqu/klippy-env/lib/python3.9/site-packages/serial/serialposix.py", line 265, in open
  441.     self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | os.O_NONBLOCK)
  442. FileNotFoundError: [Errno 2] No such file or directory: '/dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00'
  443.  
  444. During handling of the above exception, another exception occurred:
  445. Traceback (most recent call last):
  446.  File "/home/biqu/klipper/klippy/klippy.py", line 234, in run
  447.     self.send_event("klippy:firmware_restart")
  448.   File "/home/biqu/klipper/klippy/klippy.py", line 263, in send_event
  449.     return [cb(*params) for cb in self.event_handlers.get(event, [])]
  450.   File "/home/biqu/klipper/klippy/klippy.py", line 263, in <listcomp>
  451.    return [cb(*params) for cb in self.event_handlers.get(event, [])]
  452.   File "/home/biqu/klipper/klippy/mcu.py", line 951, in _firmware_restart
  453.     self._restart_arduino()
  454.   File "/home/biqu/klipper/klippy/mcu.py", line 911, in _restart_arduino
  455.     serialhdl.arduino_reset(self._serialport, self._reactor)
  456.   File "/home/biqu/klipper/klippy/serialhdl.py", line 379, in arduino_reset
  457.     ser = serial.Serial(serialport, 2400, timeout=0, exclusive=True)
  458.   File "/home/biqu/klippy-env/lib/python3.9/site-packages/serial/serialutil.py", line 240, in __init__
  459.     self.open()
  460.   File "/home/biqu/klippy-env/lib/python3.9/site-packages/serial/serialposix.py", line 268, in open
  461.     raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
  462. 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'
  463. Restarting printer
  464. Start printer at Sat Nov 25 05:35:05 2023 (1700890505.6 302.7)
  465. ===== Config file =====
  466. [mcu]
  467. serial = /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00
  468.  
  469. [printer]
  470. kinematics = corexy
  471. max_velocity = 300
  472. max_accel = 5000
  473. max_z_velocity = 15
  474. max_z_accel = 350
  475. square_corner_velocity = 5.0
  476.  
  477. [stepper_x]
  478. step_pin = PE11
  479. dir_pin = !PE10
  480. enable_pin = !PE9
  481. rotation_distance = 40
  482. microsteps = 16
  483. full_steps_per_rotation = 200
  484. endstop_pin = ^PB14
  485. position_min = 0
  486. position_endstop = 300
  487. position_max = 300
  488. homing_speed = 25
  489. homing_retract_dist = 5
  490. homing_positive_dir = true
  491.  
  492. [tmc2209 stepper_x]
  493. uart_pin = PE7
  494. interpolate = True
  495. run_current = 0.7
  496. hold_current = 0.4
  497. sense_resistor = 0.110
  498. stealthchop_threshold = 0
  499.  
  500. [stepper_y]
  501. step_pin = PD8
  502. dir_pin = !PB12
  503. enable_pin = !PD9
  504. rotation_distance = 40
  505. microsteps = 16
  506. full_steps_per_rotation = 200
  507. endstop_pin = ^PB13
  508. position_min = 0
  509. position_endstop = 300
  510. position_max = 300
  511. homing_speed = 25
  512. homing_retract_dist = 5
  513. homing_positive_dir = true
  514.  
  515. [tmc2209 stepper_y]
  516. uart_pin = PE15
  517. interpolate = True
  518. run_current = 0.7
  519. hold_current = 0.4
  520. sense_resistor = 0.110
  521. stealthchop_threshold = 0
  522.  
  523. [stepper_z]
  524. step_pin = PD14
  525. dir_pin = !PD13
  526. enable_pin = !PD15
  527. rotation_distance = 40
  528. gear_ratio = 80:16
  529. microsteps = 16
  530. endstop_pin = ^PA0
  531. position_endstop = -0.5
  532. position_max = 290
  533. position_min = -5
  534. homing_speed = 8
  535. second_homing_speed = 3
  536. homing_retract_dist = 3
  537.  
  538. [tmc2209 stepper_z]
  539. uart_pin = PD10
  540. interpolate = True
  541. run_current = 0.7
  542. hold_current = 0.4
  543. sense_resistor = 0.110
  544. stealthchop_threshold = 0
  545.  
  546. [stepper_z1]
  547. step_pin = PE6
  548. dir_pin = PC13
  549. enable_pin = !PE5
  550. rotation_distance = 40
  551. gear_ratio = 80:16
  552. microsteps = 16
  553.  
  554. [tmc2209 stepper_z1]
  555. uart_pin = PC14
  556. interpolate = True
  557. run_current = 0.7
  558. hold_current = 0.4
  559. sense_resistor = 0.110
  560. stealthchop_threshold = 0
  561.  
  562. [stepper_z2]
  563. step_pin = PE2
  564. dir_pin = !PE4
  565. enable_pin = !PE3
  566. rotation_distance = 40
  567. gear_ratio = 80:16
  568. microsteps = 16
  569.  
  570. [tmc2209 stepper_z2]
  571. uart_pin = PC15
  572. interpolate = true
  573. run_current = 0.7
  574. hold_current = 0.4
  575. sense_resistor = 0.110
  576. stealthchop_threshold = 0
  577.  
  578. [stepper_z3]
  579. step_pin = PD12
  580. dir_pin = PC4
  581. enable_pin = !PE8
  582. rotation_distance = 40
  583. gear_ratio = 80:16
  584. microsteps = 16
  585.  
  586. [tmc2209 stepper_z3]
  587. uart_pin = PA15
  588. interpolate = true
  589. run_current = 0.7
  590. hold_current = 0.4
  591. sense_resistor = 0.110
  592. stealthchop_threshold = 0
  593.  
  594. [extruder]
  595. step_pin = PD5
  596. dir_pin = !PD6
  597. enable_pin = !PD4
  598. rotation_distance = 22.6789511
  599. gear_ratio = 50:17
  600. microsteps = 16
  601. full_steps_per_rotation = 200
  602. nozzle_diameter = 0.400
  603. filament_diameter = 1.75
  604. heater_pin = PB15
  605. sensor_type = Generic 3950
  606. sensor_pin = PC0
  607. min_temp = 10
  608. max_temp = 270
  609. max_power = 1.0
  610. min_extrude_temp = 170
  611. control = pid
  612. pid_kp = 26.213
  613. pid_ki = 1.304
  614. pid_kd = 131.721
  615. pressure_advance = 0.05
  616. pressure_advance_smooth_time = 0.040
  617.  
  618. [tmc2209 extruder]
  619. uart_pin = PD7
  620. interpolate = false
  621. run_current = 0.5
  622. hold_current = 0.2
  623. sense_resistor = 0.110
  624. stealthchop_threshold = 0
  625.  
  626. [heater_bed]
  627. heater_pin = PB4
  628. sensor_type = Generic 3950
  629. sensor_pin = PB0
  630. max_power = 0.6
  631. min_temp = 0
  632. max_temp = 120
  633. control = pid
  634. pid_kp = 58.437
  635. pid_ki = 2.347
  636. pid_kd = 363.769
  637.  
  638. [probe]
  639. pin = ^!PA3
  640. x_offset = 0
  641. y_offset = 25.0
  642. z_offset = 0
  643. speed = 10.0
  644. samples = 3
  645. samples_result = median
  646. sample_retract_dist = 3.0
  647. samples_tolerance = 0.006
  648. samples_tolerance_retries = 3
  649.  
  650. [heater_fan hotend_fan]
  651. pin = PA13
  652. max_power = 1.0
  653. kick_start_time = 0.5
  654. heater = extruder
  655. heater_temp = 50.0
  656.  
  657. [fan]
  658. pin = PA14
  659. max_power = 0.4
  660. kick_start_time = 0.5
  661. off_below = 0.10
  662.  
  663. [heater_fan controller_fan]
  664. pin = PB2
  665. kick_start_time = 0.5
  666. heater = heater_bed
  667. heater_temp = 45.0
  668.  
  669. [idle_timeout]
  670. timeout = 1800
  671.  
  672. [safe_z_home]
  673. home_xy_position = -100,-100
  674. speed = 100
  675. z_hop = 10
  676.  
  677. [quad_gantry_level]
  678. gantry_corners =
  679.     -60,-10
  680.     360,370
  681. points =
  682.     50,25
  683.     50,225
  684.     250,225
  685.     250,25
  686. speed = 100
  687. horizontal_move_z = 10
  688. retries = 5
  689. retry_tolerance = 0.0075
  690. max_adjust = 10
  691.  
  692. [display]
  693. lcd_type = uc1701
  694. cs_pin = PC11
  695. a0_pin = PD2
  696. rst_pin = PC10
  697. encoder_pins = ^PC6,^PC7
  698. click_pin = ^!PA8
  699. contrast = 63
  700. spi_software_mosi_pin = PA7
  701. spi_software_miso_pin = PA6
  702. spi_software_sclk_pin = PA5
  703.  
  704. [neopixel fysetc_mini12864]
  705. pin = PC12
  706. chain_count = 3
  707. initial_red = 0.1
  708. initial_green = 0.5
  709. initial_blue = 0.0
  710. color_order = RGB
  711.  
  712. [delayed_gcode setdisplayneopixel]
  713. initial_duration = 1
  714. gcode =
  715.     SET_LED LED=fysetc_mini12864 RED=1 GREEN=1 BLUE=1 INDEX=1 TRANSMIT=0
  716.     SET_LED LED=fysetc_mini12864 RED=1 GREEN=0 BLUE=0 INDEX=2 TRANSMIT=0
  717.     SET_LED LED=fysetc_mini12864 RED=1 GREEN=0 BLUE=0 INDEX=3
  718.  
  719. [gcode_macro G32]
  720. gcode =
  721.     BED_MESH_CLEAR
  722.     G28
  723.     QUAD_GANTRY_LEVEL
  724.     G28
  725.    
  726.    
  727.    
  728.    
  729.    
  730.    
  731.     G0 X150 Y150 Z30 F3600
  732.  
  733. [gcode_macro PRINT_START]
  734. gcode =
  735.     G32
  736.     G1 Z20 F3000
  737.  
  738. [gcode_macro PRINT_END]
  739. gcode =
  740.     M400
  741.     G92 E0
  742.     G1 E-1.0 F3600
  743.     G91
  744.     G0 Z1.00 X20.0 Y20.0 F20000
  745.     TURN_OFF_HEATERS
  746.     M107
  747.     G1 Z2 F3000
  748.     G90
  749.     G0  X125 Y250 F3600
  750.     BED_MESH_CLEAR
  751. =======================
  752. Extruder max_extrude_ratio=0.266081
  753. mcu 'mcu': Starting serial connect
  754. 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'
  755. webhooks client 281473061970464: New connection
  756. webhooks client 281473061970464: Client info {'program': 'Moonraker', 'version': 'v0.8.0-204-gfb15b2a'}
  757. 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'
  758. 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'
  759. Starting Klippy...
  760. 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']
  761. Git version: 'v0.12.0-10-gea2f6bc0'
  762. Branch: master
  763. Remote: origin
  764. Tracked URL: https://github.com/Klipper3d/klipper
  765. CPU: 4 core ?
  766. Python: '3.9.2 (default, Feb 28 2021, 17:03:44) \n[GCC 10.2.1 20210110]'
  767. Start printer at Fri Nov 24 19:08:22 2023 (1700852902.4 18.9)
  768. ===== Config file =====
  769. [mcu]
  770. serial = /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00
  771.  
  772. [printer]
  773. kinematics = corexy
  774. max_velocity = 300
  775. max_accel = 5000
  776. max_z_velocity = 15
  777. max_z_accel = 350
  778. square_corner_velocity = 5.0
  779.  
  780. [stepper_x]
  781. step_pin = PE11
  782. dir_pin = !PE10
  783. enable_pin = !PE9
  784. rotation_distance = 40
  785. microsteps = 16
  786. full_steps_per_rotation = 200
  787. endstop_pin = ^PB14
  788. position_min = 0
  789. position_endstop = 300
  790. position_max = 300
  791. homing_speed = 25
  792. homing_retract_dist = 5
  793. homing_positive_dir = true
  794.  
  795. [tmc2209 stepper_x]
  796. uart_pin = PE7
  797. interpolate = True
  798. run_current = 0.7
  799. hold_current = 0.4
  800. sense_resistor = 0.110
  801. stealthchop_threshold = 0
  802.  
  803. [stepper_y]
  804. step_pin = PD8
  805. dir_pin = !PB12
  806. enable_pin = !PD9
  807. rotation_distance = 40
  808. microsteps = 16
  809. full_steps_per_rotation = 200
  810. endstop_pin = ^PB13
  811. position_min = 0
  812. position_endstop = 300
  813. position_max = 300
  814. homing_speed = 25
  815. homing_retract_dist = 5
  816. homing_positive_dir = true
  817.  
  818. [tmc2209 stepper_y]
  819. uart_pin = PE15
  820. interpolate = True
  821. run_current = 0.7
  822. hold_current = 0.4
  823. sense_resistor = 0.110
  824. stealthchop_threshold = 0
  825.  
  826. [stepper_z]
  827. step_pin = PD14
  828. dir_pin = !PD13
  829. enable_pin = !PD15
  830. rotation_distance = 40
  831. gear_ratio = 80:16
  832. microsteps = 16
  833. endstop_pin = ^PA0
  834. position_endstop = -0.5
  835. position_max = 290
  836. position_min = -5
  837. homing_speed = 8
  838. second_homing_speed = 3
  839. homing_retract_dist = 3
  840.  
  841. [tmc2209 stepper_z]
  842. uart_pin = PD10
  843. interpolate = True
  844. run_current = 0.7
  845. hold_current = 0.4
  846. sense_resistor = 0.110
  847. stealthchop_threshold = 0
  848.  
  849. [stepper_z1]
  850. step_pin = PE6
  851. dir_pin = PC13
  852. enable_pin = !PE5
  853. rotation_distance = 40
  854. gear_ratio = 80:16
  855. microsteps = 16
  856.  
  857. [tmc2209 stepper_z1]
  858. uart_pin = PC14
  859. interpolate = True
  860. run_current = 0.7
  861. hold_current = 0.4
  862. sense_resistor = 0.110
  863. stealthchop_threshold = 0
  864.  
  865. [stepper_z2]
  866. step_pin = PE2
  867. dir_pin = !PE4
  868. enable_pin = !PE3
  869. rotation_distance = 40
  870. gear_ratio = 80:16
  871. microsteps = 16
  872.  
  873. [tmc2209 stepper_z2]
  874. uart_pin = PC15
  875. interpolate = true
  876. run_current = 0.7
  877. hold_current = 0.4
  878. sense_resistor = 0.110
  879. stealthchop_threshold = 0
  880.  
  881. [stepper_z3]
  882. step_pin = PD12
  883. dir_pin = PC4
  884. enable_pin = !PE8
  885. rotation_distance = 40
  886. gear_ratio = 80:16
  887. microsteps = 16
  888.  
  889. [tmc2209 stepper_z3]
  890. uart_pin = PA15
  891. interpolate = true
  892. run_current = 0.7
  893. hold_current = 0.4
  894. sense_resistor = 0.110
  895. stealthchop_threshold = 0
  896.  
  897. [extruder]
  898. step_pin = PD5
  899. dir_pin = !PD6
  900. enable_pin = !PD4
  901. rotation_distance = 22.6789511
  902. gear_ratio = 50:17
  903. microsteps = 16
  904. full_steps_per_rotation = 200
  905. nozzle_diameter = 0.400
  906. filament_diameter = 1.75
  907. heater_pin = PB15
  908. sensor_type = Generic 3950
  909. sensor_pin = PC0
  910. min_temp = 10
  911. max_temp = 270
  912. max_power = 1.0
  913. min_extrude_temp = 170
  914. control = pid
  915. pid_kp = 26.213
  916. pid_ki = 1.304
  917. pid_kd = 131.721
  918. pressure_advance = 0.05
  919. pressure_advance_smooth_time = 0.040
  920.  
  921. [tmc2209 extruder]
  922. uart_pin = PD7
  923. interpolate = false
  924. run_current = 0.5
  925. hold_current = 0.2
  926. sense_resistor = 0.110
  927. stealthchop_threshold = 0
  928.  
  929. [heater_bed]
  930. heater_pin = PB4
  931. sensor_type = Generic 3950
  932. sensor_pin = PB0
  933. max_power = 0.6
  934. min_temp = 0
  935. max_temp = 120
  936. control = pid
  937. pid_kp = 58.437
  938. pid_ki = 2.347
  939. pid_kd = 363.769
  940.  
  941. [probe]
  942. pin = ^!PA3
  943. x_offset = 0
  944. y_offset = 25.0
  945. z_offset = 0
  946. speed = 10.0
  947. samples = 3
  948. samples_result = median
  949. sample_retract_dist = 3.0
  950. samples_tolerance = 0.006
  951. samples_tolerance_retries = 3
  952.  
  953. [heater_fan hotend_fan]
  954. pin = PA13
  955. max_power = 1.0
  956. kick_start_time = 0.5
  957. heater = extruder
  958. heater_temp = 50.0
  959.  
  960. [fan]
  961. pin = PA14
  962. max_power = 0.4
  963. kick_start_time = 0.5
  964. off_below = 0.10
  965.  
  966. [heater_fan controller_fan]
  967. pin = PB2
  968. kick_start_time = 0.5
  969. heater = heater_bed
  970. heater_temp = 45.0
  971.  
  972. [idle_timeout]
  973. timeout = 1800
  974.  
  975. [safe_z_home]
  976. home_xy_position = -100,-100
  977. speed = 100
  978. z_hop = 10
  979.  
  980. [quad_gantry_level]
  981. gantry_corners =
  982.     -60,-10
  983.     360,370
  984. points =
  985.     50,25
  986.     50,225
  987.     250,225
  988.     250,25
  989. speed = 100
  990. horizontal_move_z = 10
  991. retries = 5
  992. retry_tolerance = 0.0075
  993. max_adjust = 10
  994.  
  995. [display]
  996. lcd_type = uc1701
  997. cs_pin = PC11
  998. a0_pin = PD2
  999. rst_pin = PC10
  1000. encoder_pins = ^PC6,^PC7
  1001. click_pin = ^!PA8
  1002. contrast = 63
  1003. spi_software_mosi_pin = PA7
  1004. spi_software_miso_pin = PA6
  1005. spi_software_sclk_pin = PA5
  1006.  
  1007. [neopixel fysetc_mini12864]
  1008. pin = PC12
  1009. chain_count = 3
  1010. initial_red = 0.1
  1011. initial_green = 0.5
  1012. initial_blue = 0.0
  1013. color_order = RGB
  1014.  
  1015. [delayed_gcode setdisplayneopixel]
  1016. initial_duration = 1
  1017. gcode =
  1018.     SET_LED LED=fysetc_mini12864 RED=1 GREEN=1 BLUE=1 INDEX=1 TRANSMIT=0
  1019.     SET_LED LED=fysetc_mini12864 RED=1 GREEN=0 BLUE=0 INDEX=2 TRANSMIT=0
  1020.     SET_LED LED=fysetc_mini12864 RED=1 GREEN=0 BLUE=0 INDEX=3
  1021.  
  1022. [gcode_macro G32]
  1023. gcode =
  1024.     BED_MESH_CLEAR
  1025.     G28
  1026.     QUAD_GANTRY_LEVEL
  1027.     G28
  1028.    
  1029.    
  1030.    
  1031.    
  1032.    
  1033.    
  1034.     G0 X150 Y150 Z30 F3600
  1035.  
  1036. [gcode_macro PRINT_START]
  1037. gcode =
  1038.     G32
  1039.     G1 Z20 F3000
  1040.  
  1041. [gcode_macro PRINT_END]
  1042. gcode =
  1043.     M400
  1044.     G92 E0
  1045.     G1 E-1.0 F3600
  1046.     G91
  1047.     G0 Z1.00 X20.0 Y20.0 F20000
  1048.     TURN_OFF_HEATERS
  1049.     M107
  1050.     G1 Z2 F3000
  1051.     G90
  1052.     G0  X125 Y250 F3600
  1053.     BED_MESH_CLEAR
  1054. =======================
  1055. Extruder max_extrude_ratio=0.266081
  1056. mcu 'mcu': Starting serial connect
  1057. 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'
  1058. webhooks client 281473432092000: New connection
  1059. webhooks client 281473432092000: Client info {'program': 'Moonraker', 'version': 'v0.8.0-204-gfb15b2a'}
  1060. 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'
  1061. 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'
  1062. 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'
  1063. 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'
  1064. 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'
  1065. 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'
  1066. 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'
  1067. 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'
  1068. 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'
  1069. 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'
  1070. 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'
  1071. 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'
  1072. 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'
  1073. 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'
  1074. 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'
  1075. 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'
  1076. 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'
  1077. MCU error during connect
  1078. Traceback (most recent call last):
  1079.  File "/home/biqu/klipper/klippy/mcu.py", line 800, in _mcu_identify
  1080.    self._serial.connect_uart(self._serialport, self._baud, rts)
  1081.  File "/home/biqu/klipper/klippy/serialhdl.py", line 182, in connect_uart
  1082.    self._error("Unable to connect")
  1083.  File "/home/biqu/klipper/klippy/serialhdl.py", line 61, in _error
  1084.    raise error(self.warn_prefix + (msg % params))
  1085. serialhdl.error: mcu 'mcu': Unable to connect
  1086.  
  1087. During handling of the above exception, another exception occurred:
  1088.  
  1089. Traceback (most recent call last):
  1090.  File "/home/biqu/klipper/klippy/klippy.py", line 176, in _connect
  1091.    self.send_event("klippy:mcu_identify")
  1092.  File "/home/biqu/klipper/klippy/klippy.py", line 263, in send_event
  1093.    return [cb(*params) for cb in self.event_handlers.get(event, [])]
  1094.  File "/home/biqu/klipper/klippy/klippy.py", line 263, in <listcomp>
  1095.    return [cb(*params) for cb in self.event_handlers.get(event, [])]
  1096.  File "/home/biqu/klipper/klippy/mcu.py", line 805, in _mcu_identify
  1097.    raise error(str(e))
  1098. mcu.error: mcu 'mcu': Unable to connect
  1099. Build file /home/biqu/klipper/klippy/../.config(3376): Fri Nov 24 19:57:18 2023
  1100. ========= Last MCU build config =========
  1101. CONFIG_LOW_LEVEL_OPTIONS=y
  1102. # CONFIG_MACH_AVR is not set
  1103. # CONFIG_MACH_ATSAM is not set
  1104. # CONFIG_MACH_ATSAMD is not set
  1105. # CONFIG_MACH_LPC176X is not set
  1106. CONFIG_MACH_STM32=y
  1107. # CONFIG_MACH_HC32F460 is not set
  1108. # CONFIG_MACH_RP2040 is not set
  1109. # CONFIG_MACH_PRU is not set
  1110. # CONFIG_MACH_AR100 is not set
  1111. # CONFIG_MACH_LINUX is not set
  1112. # CONFIG_MACH_SIMU is not set
  1113. CONFIG_BOARD_DIRECTORY="stm32"
  1114. CONFIG_MCU="stm32f446xx"
  1115. CONFIG_CLOCK_FREQ=180000000
  1116. CONFIG_USBSERIAL=y
  1117. CONFIG_FLASH_SIZE=0x80000
  1118. CONFIG_FLASH_BOOT_ADDRESS=0x8000000
  1119. CONFIG_RAM_START=0x20000000
  1120. CONFIG_RAM_SIZE=0x20000
  1121. CONFIG_STACK_SIZE=512
  1122. CONFIG_FLASH_APPLICATION_ADDRESS=0x8008000
  1123. CONFIG_STM32_SELECT=y
  1124. # CONFIG_MACH_STM32F103 is not set
  1125. # CONFIG_MACH_STM32F207 is not set
  1126. # CONFIG_MACH_STM32F401 is not set
  1127. # CONFIG_MACH_STM32F405 is not set
  1128. # CONFIG_MACH_STM32F407 is not set
  1129. # CONFIG_MACH_STM32F429 is not set
  1130. CONFIG_MACH_STM32F446=y
  1131. # CONFIG_MACH_STM32F765 is not set
  1132. # CONFIG_MACH_STM32F031 is not set
  1133. # CONFIG_MACH_STM32F042 is not set
  1134. # CONFIG_MACH_STM32F070 is not set
  1135. # CONFIG_MACH_STM32F072 is not set
  1136. # CONFIG_MACH_STM32G070 is not set
  1137. # CONFIG_MACH_STM32G071 is not set
  1138. # CONFIG_MACH_STM32G0B0 is not set
  1139. # CONFIG_MACH_STM32G0B1 is not set
  1140. # CONFIG_MACH_STM32G431 is not set
  1141. # CONFIG_MACH_STM32H723 is not set
  1142. # CONFIG_MACH_STM32H743 is not set
  1143. # CONFIG_MACH_STM32H750 is not set
  1144. # CONFIG_MACH_STM32L412 is not set
  1145. # CONFIG_MACH_N32G452 is not set
  1146. # CONFIG_MACH_N32G455 is not set
  1147. CONFIG_MACH_STM32F4=y
  1148. CONFIG_HAVE_STM32_USBOTG=y
  1149. CONFIG_HAVE_STM32_CANBUS=y
  1150. CONFIG_HAVE_STM32_USBCANBUS=y
  1151. CONFIG_STM32_DFU_ROM_ADDRESS=0x1fff0000
  1152. CONFIG_STM32_FLASH_START_8000=y
  1153. # CONFIG_STM32_FLASH_START_10000 is not set
  1154. # CONFIG_STM32_FLASH_START_0000 is not set
  1155. # CONFIG_STM32_CLOCK_REF_8M is not set
  1156. CONFIG_STM32_CLOCK_REF_12M=y
  1157. # CONFIG_STM32_CLOCK_REF_16M is not set
  1158. # CONFIG_STM32_CLOCK_REF_20M is not set
  1159. # CONFIG_STM32_CLOCK_REF_24M is not set
  1160. # CONFIG_STM32_CLOCK_REF_25M is not set
  1161. # CONFIG_STM32_CLOCK_REF_INTERNAL is not set
  1162. CONFIG_CLOCK_REF_FREQ=12000000
  1163. CONFIG_STM32F0_TRIM=16
  1164. CONFIG_STM32_USB_PA11_PA12=y
  1165. # CONFIG_STM32_SERIAL_USART1 is not set
  1166. # CONFIG_STM32_SERIAL_USART1_ALT_PB7_PB6 is not set
  1167. # CONFIG_STM32_SERIAL_USART2 is not set
  1168. # CONFIG_STM32_SERIAL_USART2_ALT_PD6_PD5 is not set
  1169. # CONFIG_STM32_SERIAL_USART3 is not set
  1170. # CONFIG_STM32_SERIAL_USART3_ALT_PD9_PD8 is not set
  1171. # CONFIG_STM32_CANBUS_PA11_PA12 is not set
  1172. # CONFIG_STM32_CANBUS_PA11_PB9 is not set
  1173. # CONFIG_STM32_MMENU_CANBUS_PB8_PB9 is not set
  1174. # CONFIG_STM32_MMENU_CANBUS_PI9_PH13 is not set
  1175. # CONFIG_STM32_MMENU_CANBUS_PB5_PB6 is not set
  1176. # CONFIG_STM32_MMENU_CANBUS_PB12_PB13 is not set
  1177. # CONFIG_STM32_MMENU_CANBUS_PD0_PD1 is not set
  1178. # CONFIG_STM32_USBCANBUS_PA11_PA12 is not set
  1179. CONFIG_USB=y
  1180. CONFIG_USB_VENDOR_ID=0x1d50
  1181. CONFIG_USB_DEVICE_ID=0x614e
  1182. CONFIG_USB_SERIAL_NUMBER_CHIPID=y
  1183. CONFIG_USB_SERIAL_NUMBER="12345"
  1184.  
  1185. #
  1186. # USB ids
  1187. #
  1188. # end of USB ids
  1189.  
  1190. CONFIG_WANT_GPIO_BITBANGING=y
  1191. CONFIG_WANT_DISPLAYS=y
  1192. CONFIG_WANT_SENSORS=y
  1193. CONFIG_WANT_LIS2DW=y
  1194. CONFIG_WANT_SOFTWARE_I2C=y
  1195. CONFIG_WANT_SOFTWARE_SPI=y
  1196. CONFIG_CANBUS_FREQUENCY=1000000
  1197. CONFIG_INITIAL_PINS=""
  1198. CONFIG_HAVE_GPIO=y
  1199. CONFIG_HAVE_GPIO_ADC=y
  1200. CONFIG_HAVE_GPIO_SPI=y
  1201. CONFIG_HAVE_GPIO_SDIO=y
  1202. CONFIG_HAVE_GPIO_I2C=y
  1203. CONFIG_HAVE_GPIO_HARD_PWM=y
  1204. CONFIG_HAVE_STRICT_TIMING=y
  1205. CONFIG_HAVE_CHIPID=y
  1206. CONFIG_HAVE_STEPPER_BOTH_EDGE=y
  1207. CONFIG_HAVE_BOOTLOADER_REQUEST=y
  1208. CONFIG_INLINE_STEPPER_HACK=y
  1209. =======================
  1210. Build file /home/biqu/klipper/klippy/../out/klipper.dict(8788): Sat Nov 25 05:32:53 2023
  1211. Last MCU build version: v0.12.0-10-gea2f6bc0
  1212. 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
  1213. 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
  1214. Build file /home/biqu/klipper/klippy/../out/klipper.elf(1295708): Sat Nov 25 05:33:07 2023
  1215. Starting Klippy...
  1216. 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']
  1217. Git version: 'v0.12.0-10-gea2f6bc0'
  1218. Branch: master
  1219. Remote: origin
  1220. Tracked URL: https://github.com/Klipper3d/klipper
  1221. CPU: 4 core ?
  1222. Python: '3.9.2 (default, Feb 28 2021, 17:03:44) \n[GCC 10.2.1 20210110]'
  1223. Start printer at Fri Nov 24 19:08:33 2023 (1700852913.6 31.4)
  1224. ===== Config file =====
  1225. [mcu]
  1226. serial = /dev/serial/by-id usb-Klipper_stm32f446xx_5C0033000F51303530323539-if00
  1227.  
  1228. [printer]
  1229. kinematics = corexy
  1230. max_velocity = 300
  1231. max_accel = 5000
  1232. max_z_velocity = 15
  1233. max_z_accel = 350
  1234. square_corner_velocity = 5.0
  1235.  
  1236. [stepper_x]
  1237. step_pin = PE11
  1238. dir_pin = !PE10
  1239. enable_pin = !PE9
  1240. rotation_distance = 40
  1241. microsteps = 16
  1242. full_steps_per_rotation = 200
  1243. endstop_pin = ^PB14
  1244. position_min = 0
  1245. position_endstop = 300
  1246. position_max = 300
  1247. homing_speed = 25
  1248. homing_retract_dist = 5
  1249. homing_positive_dir = true
  1250.  
  1251. [tmc2209 stepper_x]
  1252. uart_pin = PE7
  1253. interpolate = True
  1254. run_current = 0.7
  1255. hold_current = 0.4
  1256. sense_resistor = 0.110
  1257. stealthchop_threshold = 0
  1258.  
  1259. [stepper_y]
  1260. step_pin = PD8
  1261. dir_pin = !PB12
  1262. enable_pin = !PD9
  1263. rotation_distance = 40
  1264. microsteps = 16
  1265. full_steps_per_rotation = 200
  1266. endstop_pin = ^PB13
  1267. position_min = 0
  1268. position_endstop = 300
  1269. position_max = 300
  1270. homing_speed = 25
  1271. homing_retract_dist = 5
  1272. homing_positive_dir = true
  1273.  
  1274. [tmc2209 stepper_y]
  1275. uart_pin = PE15
  1276. interpolate = True
  1277. run_current = 0.7
  1278. hold_current = 0.4
  1279. sense_resistor = 0.110
  1280. stealthchop_threshold = 0
  1281.  
  1282. [stepper_z]
  1283. step_pin = PD14
  1284. dir_pin = !PD13
  1285. enable_pin = !PD15
  1286. rotation_distance = 40
  1287. gear_ratio = 80:16
  1288. microsteps = 16
  1289. endstop_pin = ^PA0
  1290. position_endstop = -0.5
  1291. position_max = 290
  1292. position_min = -5
  1293. homing_speed = 8
  1294. second_homing_speed = 3
  1295. homing_retract_dist = 3
  1296.  
  1297. [tmc2209 stepper_z]
  1298. uart_pin = PD10
  1299. interpolate = True
  1300. run_current = 0.7
  1301. hold_current = 0.4
  1302. sense_resistor = 0.110
  1303. stealthchop_threshold = 0
  1304.  
  1305. [stepper_z1]
  1306. step_pin = PE6
  1307. dir_pin = PC13
  1308. enable_pin = !PE5
  1309. rotation_distance = 40
  1310. gear_ratio = 80:16
  1311. microsteps = 16
  1312.  
  1313. [tmc2209 stepper_z1]
  1314. uart_pin = PC14
  1315. interpolate = True
  1316. run_current = 0.7
  1317. hold_current = 0.4
  1318. sense_resistor = 0.110
  1319. stealthchop_threshold = 0
  1320.  
  1321. [stepper_z2]
  1322. step_pin = PE2
  1323. dir_pin = !PE4
  1324. enable_pin = !PE3
  1325. rotation_distance = 40
  1326. gear_ratio = 80:16
  1327. microsteps = 16
  1328.  
  1329. [tmc2209 stepper_z2]
  1330. uart_pin = PC15
  1331. interpolate = true
  1332. run_current = 0.7
  1333. hold_current = 0.4
  1334. sense_resistor = 0.110
  1335. stealthchop_threshold = 0
  1336.  
  1337. [stepper_z3]
  1338. step_pin = PD12
  1339. dir_pin = PC4
  1340. enable_pin = !PE8
  1341. rotation_distance = 40
  1342. gear_ratio = 80:16
  1343. microsteps = 16
  1344.  
  1345. [tmc2209 stepper_z3]
  1346. uart_pin = PA15
  1347. interpolate = true
  1348. run_current = 0.7
  1349. hold_current = 0.4
  1350. sense_resistor = 0.110
  1351. stealthchop_threshold = 0
  1352.  
  1353. [extruder]
  1354. step_pin = PD5
  1355. dir_pin = !PD6
  1356. enable_pin = !PD4
  1357. rotation_distance = 22.6789511
  1358. gear_ratio = 50:17
  1359. microsteps = 16
  1360. full_steps_per_rotation = 200
  1361. nozzle_diameter = 0.400
  1362. filament_diameter = 1.75
  1363. heater_pin = PB15
  1364. sensor_type = Generic 3950
  1365. sensor_pin = PC0
  1366. min_temp = 10
  1367. max_temp = 270
  1368. max_power = 1.0
  1369. min_extrude_temp = 170
  1370. control = pid
  1371. pid_kp = 26.213
  1372. pid_ki = 1.304
  1373. pid_kd = 131.721
  1374. pressure_advance = 0.05
  1375. pressure_advance_smooth_time = 0.040
  1376.  
  1377. [tmc2209 extruder]
  1378. uart_pin = PD7
  1379. interpolate = false
  1380. run_current = 0.5
  1381. hold_current = 0.2
  1382. sense_resistor = 0.110
  1383. stealthchop_threshold = 0
  1384.  
  1385. [heater_bed]
  1386. heater_pin = PB4
  1387. sensor_type = Generic 3950
  1388. sensor_pin = PB0
  1389. max_power = 0.6
  1390. min_temp = 0
  1391. max_temp = 120
  1392. control = pid
  1393. pid_kp = 58.437
  1394. pid_ki = 2.347
  1395. pid_kd = 363.769
  1396.  
  1397. [probe]
  1398. pin = ^!PA3
  1399. x_offset = 0
  1400. y_offset = 25.0
  1401. z_offset = 0
  1402. speed = 10.0
  1403. samples = 3
  1404. samples_result = median
  1405. sample_retract_dist = 3.0
  1406. samples_tolerance = 0.006
  1407. samples_tolerance_retries = 3
  1408.  
  1409. [heater_fan hotend_fan]
  1410. pin = PA13
  1411. max_power = 1.0
  1412. kick_start_time = 0.5
  1413. heater = extruder
  1414. heater_temp = 50.0
  1415.  
  1416. [fan]
  1417. pin = PA14
  1418. max_power = 0.4
  1419. kick_start_time = 0.5
  1420. off_below = 0.10
  1421.  
  1422. [heater_fan controller_fan]
  1423. pin = PB2
  1424. kick_start_time = 0.5
  1425. heater = heater_bed
  1426. heater_temp = 45.0
  1427.  
  1428. [idle_timeout]
  1429. timeout = 1800
  1430.  
  1431. [safe_z_home]
  1432. home_xy_position = -100,-100
  1433. speed = 100
  1434. z_hop = 10
  1435.  
  1436. [quad_gantry_level]
  1437. gantry_corners =
  1438.     -60,-10
  1439.     360,370
  1440. points =
  1441.     50,25
  1442.     50,225
  1443.     250,225
  1444.     250,25
  1445. speed = 100
  1446. horizontal_move_z = 10
  1447. retries = 5
  1448. retry_tolerance = 0.0075
  1449. max_adjust = 10
  1450.  
  1451. [display]
  1452. lcd_type = uc1701
  1453. cs_pin = PC11
  1454. a0_pin = PD2
  1455. rst_pin = PC10
  1456. encoder_pins = ^PC6,^PC7
  1457. click_pin = ^!PA8
  1458. contrast = 63
  1459. spi_software_mosi_pin = PA7
  1460. spi_software_miso_pin = PA6
  1461. spi_software_sclk_pin = PA5
  1462.  
  1463. [neopixel fysetc_mini12864]
  1464. pin = PC12
  1465. chain_count = 3
  1466. initial_red = 0.1
  1467. initial_green = 0.5
  1468. initial_blue = 0.0
  1469. color_order = RGB
  1470.  
  1471. [delayed_gcode setdisplayneopixel]
  1472. initial_duration = 1
  1473. gcode =
  1474.     SET_LED LED=fysetc_mini12864 RED=1 GREEN=1 BLUE=1 INDEX=1 TRANSMIT=0
  1475.     SET_LED LED=fysetc_mini12864 RED=1 GREEN=0 BLUE=0 INDEX=2 TRANSMIT=0
  1476.     SET_LED LED=fysetc_mini12864 RED=1 GREEN=0 BLUE=0 INDEX=3
  1477.  
  1478. [gcode_macro G32]
  1479. gcode =
  1480.     BED_MESH_CLEAR
  1481.     G28
  1482.     QUAD_GANTRY_LEVEL
  1483.     G28
  1484.    
  1485.    
  1486.    
  1487.    
  1488.    
  1489.    
  1490.     G0 X150 Y150 Z30 F3600
  1491.  
  1492. [gcode_macro PRINT_START]
  1493. gcode =
  1494.     G32
  1495.     G1 Z20 F3000
  1496.  
  1497. [gcode_macro PRINT_END]
  1498. gcode =
  1499.     M400
  1500.     G92 E0
  1501.     G1 E-1.0 F3600
  1502.     G91
  1503.     G0 Z1.00 X20.0 Y20.0 F20000
  1504.     TURN_OFF_HEATERS
  1505.     M107
  1506.     G1 Z2 F3000
  1507.     G90
  1508.     G0  X125 Y250 F3600
  1509.     BED_MESH_CLEAR
  1510. =======================
  1511. Extruder max_extrude_ratio=0.266081
  1512. mcu 'mcu': Starting serial connect
  1513. 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'
  1514. webhooks client 281473318176896: New connection
  1515. webhooks client 281473318176896: Client info {'program': 'Moonraker', 'version': 'v0.8.0-204-gfb15b2a'}
  1516. 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'
  1517. 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'
  1518. 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'
  1519. 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'
  1520. 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'
  1521. 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'
  1522. 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'
  1523. 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'
  1524. 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'
  1525. 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'
  1526. 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'
  1527. 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'
  1528. 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'
  1529. 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'
  1530. 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'
  1531. 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'
  1532. 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'
  1533. MCU error during connect
  1534. Traceback (most recent call last):
  1535.  File "/home/biqu/klipper/klippy/mcu.py", line 800, in _mcu_identify
  1536.    self._serial.connect_uart(self._serialport, self._baud, rts)
  1537.  File "/home/biqu/klipper/klippy/serialhdl.py", line 182, in connect_uart
  1538.    self._error("Unable to connect")
  1539.  File "/home/biqu/klipper/klippy/serialhdl.py", line 61, in _error
  1540.    raise error(self.warn_prefix + (msg % params))
  1541. serialhdl.error: mcu 'mcu': Unable to connect
  1542.  
  1543. During handling of the above exception, another exception occurred:
  1544.  
  1545. Traceback (most recent call last):
  1546.  File "/home/biqu/klipper/klippy/klippy.py", line 176, in _connect
  1547.    self.send_event("klippy:mcu_identify")
  1548.  File "/home/biqu/klipper/klippy/klippy.py", line 263, in send_event
  1549.    return [cb(*params) for cb in self.event_handlers.get(event, [])]
  1550.  File "/home/biqu/klipper/klippy/klippy.py", line 263, in <listcomp>
  1551.    return [cb(*params) for cb in self.event_handlers.get(event, [])]
  1552.  File "/home/biqu/klipper/klippy/mcu.py", line 805, in _mcu_identify
  1553.    raise error(str(e))
  1554. mcu.error: mcu 'mcu': Unable to connect
  1555. Build file /home/biqu/klipper/klippy/../.config(3376): Fri Nov 24 19:57:18 2023
  1556. ========= Last MCU build config =========
  1557. CONFIG_LOW_LEVEL_OPTIONS=y
  1558. # CONFIG_MACH_AVR is not set
  1559. # CONFIG_MACH_ATSAM is not set
  1560. # CONFIG_MACH_ATSAMD is not set
  1561. # CONFIG_MACH_LPC176X is not set
  1562. CONFIG_MACH_STM32=y
  1563. # CONFIG_MACH_HC32F460 is not set
  1564. # CONFIG_MACH_RP2040 is not set
  1565. # CONFIG_MACH_PRU is not set
  1566. # CONFIG_MACH_AR100 is not set
  1567. # CONFIG_MACH_LINUX is not set
  1568. # CONFIG_MACH_SIMU is not set
  1569. CONFIG_BOARD_DIRECTORY="stm32"
  1570. CONFIG_MCU="stm32f446xx"
  1571. CONFIG_CLOCK_FREQ=180000000
  1572. CONFIG_USBSERIAL=y
  1573. CONFIG_FLASH_SIZE=0x80000
  1574. CONFIG_FLASH_BOOT_ADDRESS=0x8000000
  1575. CONFIG_RAM_START=0x20000000
  1576. CONFIG_RAM_SIZE=0x20000
  1577. CONFIG_STACK_SIZE=512
  1578. CONFIG_FLASH_APPLICATION_ADDRESS=0x8008000
  1579. CONFIG_STM32_SELECT=y
  1580. # CONFIG_MACH_STM32F103 is not set
  1581. # CONFIG_MACH_STM32F207 is not set
  1582. # CONFIG_MACH_STM32F401 is not set
  1583. # CONFIG_MACH_STM32F405 is not set
  1584. # CONFIG_MACH_STM32F407 is not set
  1585. # CONFIG_MACH_STM32F429 is not set
  1586. CONFIG_MACH_STM32F446=y
  1587. # CONFIG_MACH_STM32F765 is not set
  1588. # CONFIG_MACH_STM32F031 is not set
  1589. # CONFIG_MACH_STM32F042 is not set
  1590. # CONFIG_MACH_STM32F070 is not set
  1591. # CONFIG_MACH_STM32F072 is not set
  1592. # CONFIG_MACH_STM32G070 is not set
  1593. # CONFIG_MACH_STM32G071 is not set
  1594. # CONFIG_MACH_STM32G0B0 is not set
  1595. # CONFIG_MACH_STM32G0B1 is not set
  1596. # CONFIG_MACH_STM32G431 is not set
  1597. # CONFIG_MACH_STM32H723 is not set
  1598. # CONFIG_MACH_STM32H743 is not set
  1599. # CONFIG_MACH_STM32H750 is not set
  1600. # CONFIG_MACH_STM32L412 is not set
  1601. # CONFIG_MACH_N32G452 is not set
  1602. # CONFIG_MACH_N32G455 is not set
  1603. CONFIG_MACH_STM32F4=y
  1604. CONFIG_HAVE_STM32_USBOTG=y
  1605. CONFIG_HAVE_STM32_CANBUS=y
  1606. CONFIG_HAVE_STM32_USBCANBUS=y
  1607. CONFIG_STM32_DFU_ROM_ADDRESS=0x1fff0000
  1608. CONFIG_STM32_FLASH_START_8000=y
  1609. # CONFIG_STM32_FLASH_START_10000 is not set
  1610. # CONFIG_STM32_FLASH_START_0000 is not set
  1611. # CONFIG_STM32_CLOCK_REF_8M is not set
  1612. CONFIG_STM32_CLOCK_REF_12M=y
  1613. # CONFIG_STM32_CLOCK_REF_16M is not set
  1614. # CONFIG_STM32_CLOCK_REF_20M is not set
  1615. # CONFIG_STM32_CLOCK_REF_24M is not set
  1616. # CONFIG_STM32_CLOCK_REF_25M is not set
  1617. # CONFIG_STM32_CLOCK_REF_INTERNAL is not set
  1618. CONFIG_CLOCK_REF_FREQ=12000000
  1619. CONFIG_STM32F0_TRIM=16
  1620. CONFIG_STM32_USB_PA11_PA12=y
  1621. # CONFIG_STM32_SERIAL_USART1 is not set
  1622. # CONFIG_STM32_SERIAL_USART1_ALT_PB7_PB6 is not set
  1623. # CONFIG_STM32_SERIAL_USART2 is not set
  1624. # CONFIG_STM32_SERIAL_USART2_ALT_PD6_PD5 is not set
  1625. # CONFIG_STM32_SERIAL_USART3 is not set
  1626. # CONFIG_STM32_SERIAL_USART3_ALT_PD9_PD8 is not set
  1627. # CONFIG_STM32_CANBUS_PA11_PA12 is not set
  1628. # CONFIG_STM32_CANBUS_PA11_PB9 is not set
  1629. # CONFIG_STM32_MMENU_CANBUS_PB8_PB9 is not set
  1630. # CONFIG_STM32_MMENU_CANBUS_PI9_PH13 is not set
  1631. # CONFIG_STM32_MMENU_CANBUS_PB5_PB6 is not set
  1632. # CONFIG_STM32_MMENU_CANBUS_PB12_PB13 is not set
  1633. # CONFIG_STM32_MMENU_CANBUS_PD0_PD1 is not set
  1634. # CONFIG_STM32_USBCANBUS_PA11_PA12 is not set
  1635. CONFIG_USB=y
  1636. CONFIG_USB_VENDOR_ID=0x1d50
  1637. CONFIG_USB_DEVICE_ID=0x614e
  1638. CONFIG_USB_SERIAL_NUMBER_CHIPID=y
  1639. CONFIG_USB_SERIAL_NUMBER="12345"
  1640.  
  1641. #
  1642. # USB ids
  1643. #
  1644. # end of USB ids
  1645.  
  1646. CONFIG_WANT_GPIO_BITBANGING=y
  1647. CONFIG_WANT_DISPLAYS=y
  1648. CONFIG_WANT_SENSORS=y
  1649. CONFIG_WANT_LIS2DW=y
  1650. CONFIG_WANT_SOFTWARE_I2C=y
  1651. CONFIG_WANT_SOFTWARE_SPI=y
  1652. CONFIG_CANBUS_FREQUENCY=1000000
  1653. CONFIG_INITIAL_PINS=""
  1654. CONFIG_HAVE_GPIO=y
  1655. CONFIG_HAVE_GPIO_ADC=y
  1656. CONFIG_HAVE_GPIO_SPI=y
  1657. CONFIG_HAVE_GPIO_SDIO=y
  1658. CONFIG_HAVE_GPIO_I2C=y
  1659. CONFIG_HAVE_GPIO_HARD_PWM=y
  1660. CONFIG_HAVE_STRICT_TIMING=y
  1661. CONFIG_HAVE_CHIPID=y
  1662. CONFIG_HAVE_STEPPER_BOTH_EDGE=y
  1663. CONFIG_HAVE_BOOTLOADER_REQUEST=y
  1664. CONFIG_INLINE_STEPPER_HACK=y
  1665. =======================
  1666. Build file /home/biqu/klipper/klippy/../out/klipper.dict(8788): Sat Nov 25 05:32:53 2023
  1667. Last MCU build version: v0.12.0-10-gea2f6bc0
  1668. 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
  1669. 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
  1670. Build file /home/biqu/klipper/klippy/../out/klipper.elf(1295708): Sat Nov 25 05:33:07 2023
  1671.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement