Advertisement
chewyt

Untitled

Oct 13th, 2022
18
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 110.95 KB | None | 0 0
  1. Args: ['/home/pi/klipper/klippy/klippy.py', '/home/pi/klipper_config/printer.cfg', '-l', '/home/pi/klipper_logs/klippy.log', '-a', '/tmp/klippy_uds']
  2. Git version: 'v0.10.0-515-g24a1b50e'
  3. CPU: 4 core ARMv7 Processor rev 3 (v7l)
  4. Python: '2.7.18 (default, Jul 14 2021, 08:11:37) \n[GCC 10.2.1 20210110]'
  5. =============== Log rollover at Thu Oct 13 10:43:32 2022 ===============
  6. Args: ['/home/pi/klipper/klippy/klippy.py', '/home/pi/klipper_config/printer.cfg', '-l', '/home/pi/klipper_logs/klippy.log', '-a', '/tmp/klippy_uds']
  7. Git version: 'v0.10.0-515-g24a1b50e'
  8. CPU: 4 core ARMv7 Processor rev 3 (v7l)
  9. Python: '2.7.18 (default, Jul 14 2021, 08:11:37) \n[GCC 10.2.1 20210110]'
  10. Building C code module c_helper.so
  11. Start printer at Thu Oct 13 10:43:44 2022 (1665654224.9 58.2)
  12. Unable to open config file /home/pi/klipper_config/printer.cfg
  13. Traceback (most recent call last):
  14. File "/home/pi/klipper/klippy/configfile.py", line 154, in _read_config_file
  15. f = open(filename, 'r')
  16. IOError: [Errno 2] No such file or directory: '/home/pi/klipper_config/printer.cfg'
  17. Config error
  18. Traceback (most recent call last):
  19. File "/home/pi/klipper/klippy/klippy.py", line 175, in _connect
  20. self._read_config()
  21. File "/home/pi/klipper/klippy/klippy.py", line 134, in _read_config
  22. config = pconfig.read_main_config()
  23. File "/home/pi/klipper/klippy/configfile.py", line 275, in read_main_config
  24. data = self._read_config_file(filename)
  25. File "/home/pi/klipper/klippy/configfile.py", line 160, in _read_config_file
  26. raise error(msg)
  27. Error: Unable to open config file /home/pi/klipper_config/printer.cfg
  28. webhooks client 3045460288: New connection
  29. webhooks client 3045460288: Client info {'program': 'Moonraker', 'version': 'v0.7.1-597-gd37f91c'}
  30. webhooks client 3045460288: Disconnected
  31. Restarting printer
  32. Start printer at Thu Oct 13 10:53:38 2022 (1665654818.6 651.8)
  33. Unable to open config file /home/pi/klipper_config/printer.cfg
  34. Traceback (most recent call last):
  35. File "/home/pi/klipper/klippy/configfile.py", line 154, in _read_config_file
  36. f = open(filename, 'r')
  37. IOError: [Errno 2] No such file or directory: '/home/pi/klipper_config/printer.cfg'
  38. Config error
  39. Traceback (most recent call last):
  40. File "/home/pi/klipper/klippy/klippy.py", line 175, in _connect
  41. self._read_config()
  42. File "/home/pi/klipper/klippy/klippy.py", line 134, in _read_config
  43. config = pconfig.read_main_config()
  44. File "/home/pi/klipper/klippy/configfile.py", line 275, in read_main_config
  45. data = self._read_config_file(filename)
  46. File "/home/pi/klipper/klippy/configfile.py", line 160, in _read_config_file
  47. raise error(msg)
  48. Error: Unable to open config file /home/pi/klipper_config/printer.cfg
  49. webhooks client 3045407400: New connection
  50. webhooks client 3045407400: Client info {'program': 'Moonraker', 'version': 'v0.7.1-597-gd37f91c'}
  51. webhooks client 3045407400: Disconnected
  52. Restarting printer
  53. Start printer at Thu Oct 13 10:57:05 2022 (1665655025.2 858.4)
  54. ===== Config file =====
  55. [stepper_x]
  56. step_pin = PB13
  57. dir_pin = !PB12
  58. enable_pin = !PB14
  59. microsteps = 16
  60. rotation_distance = 40
  61. endstop_pin = ^PC0
  62. position_endstop = 0
  63. position_max = 235
  64. homing_speed = 50
  65.  
  66. [tmc2209 stepper_x]
  67. uart_pin = PC11
  68. tx_pin = PC10
  69. uart_address = 0
  70. run_current = 0.580
  71. stealthchop_threshold = 999999
  72.  
  73. [stepper_y]
  74. step_pin = PB10
  75. dir_pin = !PB2
  76. enable_pin = !PB11
  77. microsteps = 16
  78. rotation_distance = 40
  79. endstop_pin = ^PC1
  80. position_endstop = 0
  81. position_max = 235
  82. homing_speed = 50
  83.  
  84. [tmc2209 stepper_y]
  85. uart_pin = PC11
  86. tx_pin = PC10
  87. uart_address = 2
  88. run_current = 0.580
  89. stealthchop_threshold = 999999
  90.  
  91. [stepper_z]
  92. step_pin = PB0
  93. dir_pin = PC5
  94. enable_pin = !PB1
  95. microsteps = 16
  96. rotation_distance = 8
  97. endstop_pin = ^PC2
  98. position_endstop = 0.0
  99. position_max = 250
  100.  
  101. [tmc2209 stepper_z]
  102. uart_pin = PC11
  103. tx_pin = PC10
  104. uart_address = 1
  105. run_current = 0.580
  106. stealthchop_threshold = 999999
  107.  
  108. [extruder]
  109. step_pin = PB3
  110. dir_pin = !PB4
  111. enable_pin = !PD1
  112. microsteps = 16
  113. rotation_distance = 33.500
  114. nozzle_diameter = 0.400
  115. filament_diameter = 1.750
  116. heater_pin = PC8
  117. sensor_type = EPCOS 100K B57560G104F
  118. sensor_pin = PA0
  119. control = pid
  120. pid_kp = 21.527
  121. pid_ki = 1.063
  122. pid_kd = 108.982
  123. min_temp = 0
  124. max_temp = 250
  125.  
  126. [tmc2209 extruder]
  127. uart_pin = PC11
  128. tx_pin = PC10
  129. uart_address = 3
  130. run_current = 0.650
  131. stealthchop_threshold = 999999
  132.  
  133. [heater_bed]
  134. heater_pin = PC9
  135. sensor_type = ATC Semitec 104GT-2
  136. sensor_pin = PC4
  137. control = pid
  138. pid_kp = 54.027
  139. pid_ki = 0.770
  140. pid_kd = 948.182
  141. min_temp = 0
  142. max_temp = 130
  143.  
  144. [heater_fan nozzle_cooling_fan]
  145. pin = PC7
  146.  
  147. [heater_fan controller_fan]
  148. pin = PB15
  149.  
  150. [fan]
  151. pin = PC6
  152.  
  153. [mcu]
  154. serial = /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00
  155.  
  156. [printer]
  157. kinematics = cartesian
  158. max_velocity = 300
  159. max_accel = 3000
  160. max_z_velocity = 5
  161. max_z_accel = 100
  162.  
  163. [board_pins]
  164. aliases =
  165. EXP1_1=PB5, EXP1_3=PA9, EXP1_5=PA10, EXP1_7=PB8, EXP1_9=<GND>,
  166. EXP1_2=PA15, EXP1_4=<RST>, EXP1_6=PB9, EXP1_8=PD6, EXP1_10=<5V>
  167. =======================
  168. Extruder max_extrude_ratio=0.266081
  169. mcu 'mcu': Starting serial connect
  170. mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00'
  171. webhooks client 3045470536: New connection
  172. webhooks client 3045470536: Client info {'program': 'Moonraker', 'version': 'v0.7.1-597-gd37f91c'}
  173. mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00'
  174. mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00'
  175. mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00'
  176. mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00'
  177. mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00'
  178. mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00'
  179. mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00'
  180. mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00'
  181. mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00'
  182. mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00'
  183. mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00'
  184. mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00'
  185. mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00'
  186. mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00'
  187. mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00'
  188. mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00'
  189. mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00'
  190. MCU error during connect
  191. Traceback (most recent call last):
  192. File "/home/pi/klipper/klippy/klippy.py", line 176, in _connect
  193. self.send_event("klippy:mcu_identify")
  194. File "/home/pi/klipper/klippy/klippy.py", line 264, in send_event
  195. return [cb(*params) for cb in self.event_handlers.get(event, [])]
  196. File "/home/pi/klipper/klippy/mcu.py", line 779, in _mcu_identify
  197. raise error(str(e))
  198. error: mcu 'mcu': Unable to connect
  199. Build file /home/pi/klipper/klippy/../.config(1859): Thu Oct 13 10:49:13 2022
  200. ========= Last MCU build config =========
  201. # CONFIG_LOW_LEVEL_OPTIONS is not set
  202. # CONFIG_MACH_AVR is not set
  203. # CONFIG_MACH_ATSAM is not set
  204. # CONFIG_MACH_ATSAMD is not set
  205. # CONFIG_MACH_LPC176X is not set
  206. CONFIG_MACH_STM32=y
  207. # CONFIG_MACH_RP2040 is not set
  208. # CONFIG_MACH_PRU is not set
  209. # CONFIG_MACH_LINUX is not set
  210. # CONFIG_MACH_SIMU is not set
  211. CONFIG_BOARD_DIRECTORY="stm32"
  212. CONFIG_MCU="stm32g0b1xx"
  213. CONFIG_CLOCK_FREQ=64000000
  214. CONFIG_USBSERIAL=y
  215. CONFIG_FLASH_START=0x8002000
  216. CONFIG_FLASH_SIZE=0x20000
  217. CONFIG_RAM_START=0x20000000
  218. CONFIG_RAM_SIZE=0x24000
  219. CONFIG_STACK_SIZE=512
  220. CONFIG_STM32_SELECT=y
  221. # CONFIG_MACH_STM32F103 is not set
  222. # CONFIG_MACH_STM32F207 is not set
  223. # CONFIG_MACH_STM32F401 is not set
  224. # CONFIG_MACH_STM32F405 is not set
  225. # CONFIG_MACH_STM32F407 is not set
  226. # CONFIG_MACH_STM32F429 is not set
  227. # CONFIG_MACH_STM32F446 is not set
  228. # CONFIG_MACH_STM32F031 is not set
  229. # CONFIG_MACH_STM32F042 is not set
  230. # CONFIG_MACH_STM32F070 is not set
  231. # CONFIG_MACH_STM32F072 is not set
  232. CONFIG_MACH_STM32G0B1=y
  233. # CONFIG_MACH_STM32H743 is not set
  234. # CONFIG_MACH_STM32H750 is not set
  235. CONFIG_MACH_STM32G0=y
  236. CONFIG_HAVE_STM32_USBFS=y
  237. CONFIG_HAVE_STM32_FDCANBUS=y
  238. CONFIG_HAVE_STM32_USBCANBUS=y
  239. CONFIG_STM32_FLASH_START_2000=y
  240. # CONFIG_STM32_FLASH_START_0000 is not set
  241. CONFIG_CLOCK_REF_FREQ=8000000
  242. CONFIG_STM32F0_TRIM=16
  243. CONFIG_STM32_USB_PA11_PA12=y
  244. # CONFIG_STM32_SERIAL_USART1 is not set
  245. # CONFIG_STM32_CANBUS_PA11_PA12 is not set
  246. # CONFIG_STM32_MMENU_CANBUS_PB0_PB1 is not set
  247. # CONFIG_STM32_USBCANBUS_PA11_PA12 is not set
  248. CONFIG_USB_VENDOR_ID=0x1d50
  249. CONFIG_USB_DEVICE_ID=0x614e
  250. CONFIG_USB_SERIAL_NUMBER_CHIPID=y
  251. CONFIG_USB_SERIAL_NUMBER="12345"
  252. CONFIG_CANBUS_FREQUENCY=500000
  253. CONFIG_HAVE_GPIO=y
  254. CONFIG_HAVE_GPIO_ADC=y
  255. CONFIG_HAVE_GPIO_SPI=y
  256. CONFIG_HAVE_GPIO_I2C=y
  257. CONFIG_HAVE_GPIO_BITBANGING=y
  258. CONFIG_HAVE_STRICT_TIMING=y
  259. CONFIG_HAVE_CHIPID=y
  260. CONFIG_HAVE_STEPPER_BOTH_EDGE=y
  261. CONFIG_INLINE_STEPPER_HACK=y
  262. =======================
  263. Build file /home/pi/klipper/klippy/../out/klipper.dict(7149): Thu Oct 13 10:50:21 2022
  264. Last MCU build version: v0.10.0-515-g24a1b50e
  265. Last MCU build tools: gcc: (15:8-2019-q3-1+b1) 8.3.1 20190703 (release) [gcc-8-branch revision 273027] binutils: (2.34-4+rpi1+14) 2.34
  266. Last MCU build config: BUS_PINS_i2c1=PB6,PB7 BUS_PINS_spi2a=PC2,PC3,PB10 BUS_PINS_i2c1a=PF1,PF0 STEPPER_BOTH_EDGE=1 ADC_MAX=4095 RESERVE_PINS_crystal=PF0,PF1 BUS_PINS_spi3=PB4,PB5,PB3 BUS_PINS_spi2=PB14,PB15,PB13 BUS_PINS_spi1=PA6,PA7,PA5 RESERVE_PINS_USB=PA11,PA12 MCU=stm32g0b1xx STATS_SUMSQ_BASE=256 BUS_PINS_spi1a=PB4,PB5,PB3 CLOCK_FREQ=64000000
  267. Build file /home/pi/klipper/klippy/../out/klipper.elf(1004608): Thu Oct 13 10:50:27 2022
  268. Attempting MCU 'mcu' reset
  269. Unhandled exception during post run
  270. Traceback (most recent call last):
  271. File "/home/pi/klipper/klippy/klippy.py", line 235, in run
  272. m.microcontroller_restart()
  273. File "/home/pi/klipper/klippy/mcu.py", line 922, in microcontroller_restart
  274. self._restart_arduino()
  275. File "/home/pi/klipper/klippy/mcu.py", line 884, in _restart_arduino
  276. serialhdl.arduino_reset(self._serialport, self._reactor)
  277. File "/home/pi/klipper/klippy/serialhdl.py", line 376, in arduino_reset
  278. ser = serial.Serial(serialport, 2400, timeout=0, exclusive=True)
  279. File "/home/pi/klippy-env/lib/python2.7/site-packages/serial/serialutil.py", line 240, in __init__
  280. self.open()
  281. File "/home/pi/klippy-env/lib/python2.7/site-packages/serial/serialposix.py", line 268, in open
  282. raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
  283. SerialException: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00'
  284. Restarting printer
  285. Start printer at Thu Oct 13 10:58:36 2022 (1665655116.7 950.0)
  286. ===== Config file =====
  287. [stepper_x]
  288. step_pin = PB13
  289. dir_pin = !PB12
  290. enable_pin = !PB14
  291. microsteps = 16
  292. rotation_distance = 40
  293. endstop_pin = ^PC0
  294. position_endstop = 0
  295. position_max = 235
  296. homing_speed = 50
  297.  
  298. [tmc2209 stepper_x]
  299. uart_pin = PC11
  300. tx_pin = PC10
  301. uart_address = 0
  302. run_current = 0.580
  303. stealthchop_threshold = 999999
  304.  
  305. [stepper_y]
  306. step_pin = PB10
  307. dir_pin = !PB2
  308. enable_pin = !PB11
  309. microsteps = 16
  310. rotation_distance = 40
  311. endstop_pin = ^PC1
  312. position_endstop = 0
  313. position_max = 235
  314. homing_speed = 50
  315.  
  316. [tmc2209 stepper_y]
  317. uart_pin = PC11
  318. tx_pin = PC10
  319. uart_address = 2
  320. run_current = 0.580
  321. stealthchop_threshold = 999999
  322.  
  323. [stepper_z]
  324. step_pin = PB0
  325. dir_pin = PC5
  326. enable_pin = !PB1
  327. microsteps = 16
  328. rotation_distance = 8
  329. endstop_pin = ^PC2
  330. position_endstop = 0.0
  331. position_max = 250
  332.  
  333. [tmc2209 stepper_z]
  334. uart_pin = PC11
  335. tx_pin = PC10
  336. uart_address = 1
  337. run_current = 0.580
  338. stealthchop_threshold = 999999
  339.  
  340. [extruder]
  341. step_pin = PB3
  342. dir_pin = !PB4
  343. enable_pin = !PD1
  344. microsteps = 16
  345. rotation_distance = 33.500
  346. nozzle_diameter = 0.400
  347. filament_diameter = 1.750
  348. heater_pin = PC8
  349. sensor_type = EPCOS 100K B57560G104F
  350. sensor_pin = PA0
  351. control = pid
  352. pid_kp = 21.527
  353. pid_ki = 1.063
  354. pid_kd = 108.982
  355. min_temp = 0
  356. max_temp = 250
  357.  
  358. [tmc2209 extruder]
  359. uart_pin = PC11
  360. tx_pin = PC10
  361. uart_address = 3
  362. run_current = 0.650
  363. stealthchop_threshold = 999999
  364.  
  365. [heater_bed]
  366. heater_pin = PC9
  367. sensor_type = ATC Semitec 104GT-2
  368. sensor_pin = PC4
  369. control = pid
  370. pid_kp = 54.027
  371. pid_ki = 0.770
  372. pid_kd = 948.182
  373. min_temp = 0
  374. max_temp = 130
  375.  
  376. [heater_fan nozzle_cooling_fan]
  377. pin = PC7
  378.  
  379. [heater_fan controller_fan]
  380. pin = PB15
  381.  
  382. [fan]
  383. pin = PC6
  384.  
  385. [mcu]
  386. serial = /dev/ttyAMA0
  387. restart_method = command
  388.  
  389. [printer]
  390. kinematics = cartesian
  391. max_velocity = 300
  392. max_accel = 3000
  393. max_z_velocity = 5
  394. max_z_accel = 100
  395.  
  396. [board_pins]
  397. aliases =
  398. EXP1_1=PB5, EXP1_3=PA9, EXP1_5=PA10, EXP1_7=PB8, EXP1_9=<GND>,
  399. EXP1_2=PA15, EXP1_4=<RST>, EXP1_6=PB9, EXP1_8=PD6, EXP1_10=<5V>
  400. =======================
  401. Extruder max_extrude_ratio=0.266081
  402. mcu 'mcu': Starting serial connect
  403. webhooks client 3042511208: New connection
  404. webhooks client 3042511208: Client info {'program': 'Moonraker', 'version': 'v0.7.1-597-gd37f91c'}
  405. mcu 'mcu': Timeout on connect
  406. mcu 'mcu': Wait for identify_response
  407. Traceback (most recent call last):
  408. File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
  409. params = self.send_with_response(msg, 'identify_response')
  410. File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
  411. return src.get_response([cmd], self.default_cmd_queue)
  412. File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
  413. cmd_queue)
  414. File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
  415. self._error("Serial connection closed")
  416. File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
  417. raise error(self.warn_prefix + (msg % params))
  418. error: mcu 'mcu': Serial connection closed
  419. mcu 'mcu': Timeout on connect
  420. mcu 'mcu': Wait for identify_response
  421. Traceback (most recent call last):
  422. File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
  423. params = self.send_with_response(msg, 'identify_response')
  424. File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
  425. return src.get_response([cmd], self.default_cmd_queue)
  426. File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
  427. cmd_queue)
  428. File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
  429. self._error("Serial connection closed")
  430. File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
  431. raise error(self.warn_prefix + (msg % params))
  432. error: mcu 'mcu': Serial connection closed
  433. mcu 'mcu': Timeout on connect
  434. mcu 'mcu': Wait for identify_response
  435. Traceback (most recent call last):
  436. File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
  437. params = self.send_with_response(msg, 'identify_response')
  438. File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
  439. return src.get_response([cmd], self.default_cmd_queue)
  440. File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
  441. cmd_queue)
  442. File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
  443. self._error("Serial connection closed")
  444. File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
  445. raise error(self.warn_prefix + (msg % params))
  446. error: mcu 'mcu': Serial connection closed
  447. mcu 'mcu': Timeout on connect
  448. mcu 'mcu': Wait for identify_response
  449. Traceback (most recent call last):
  450. File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
  451. params = self.send_with_response(msg, 'identify_response')
  452. File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
  453. return src.get_response([cmd], self.default_cmd_queue)
  454. File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
  455. cmd_queue)
  456. File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
  457. self._error("Serial connection closed")
  458. File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
  459. raise error(self.warn_prefix + (msg % params))
  460. error: mcu 'mcu': Serial connection closed
  461. mcu 'mcu': Timeout on connect
  462. mcu 'mcu': Wait for identify_response
  463. Traceback (most recent call last):
  464. File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
  465. params = self.send_with_response(msg, 'identify_response')
  466. File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
  467. return src.get_response([cmd], self.default_cmd_queue)
  468. File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
  469. cmd_queue)
  470. File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
  471. self._error("Serial connection closed")
  472. File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
  473. raise error(self.warn_prefix + (msg % params))
  474. error: mcu 'mcu': Serial connection closed
  475. mcu 'mcu': Timeout on connect
  476. mcu 'mcu': Wait for identify_response
  477. Traceback (most recent call last):
  478. File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
  479. params = self.send_with_response(msg, 'identify_response')
  480. File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
  481. return src.get_response([cmd], self.default_cmd_queue)
  482. File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
  483. cmd_queue)
  484. File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
  485. self._error("Serial connection closed")
  486. File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
  487. raise error(self.warn_prefix + (msg % params))
  488. error: mcu 'mcu': Serial connection closed
  489. mcu 'mcu': Timeout on connect
  490. mcu 'mcu': Wait for identify_response
  491. Traceback (most recent call last):
  492. File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
  493. params = self.send_with_response(msg, 'identify_response')
  494. File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
  495. return src.get_response([cmd], self.default_cmd_queue)
  496. File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
  497. cmd_queue)
  498. File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
  499. self._error("Serial connection closed")
  500. File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
  501. raise error(self.warn_prefix + (msg % params))
  502. error: mcu 'mcu': Serial connection closed
  503. mcu 'mcu': Timeout on connect
  504. mcu 'mcu': Wait for identify_response
  505. Traceback (most recent call last):
  506. File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
  507. params = self.send_with_response(msg, 'identify_response')
  508. File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
  509. return src.get_response([cmd], self.default_cmd_queue)
  510. File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
  511. cmd_queue)
  512. File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
  513. self._error("Serial connection closed")
  514. File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
  515. raise error(self.warn_prefix + (msg % params))
  516. error: mcu 'mcu': Serial connection closed
  517. mcu 'mcu': Timeout on connect
  518. mcu 'mcu': Wait for identify_response
  519. Traceback (most recent call last):
  520. File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
  521. params = self.send_with_response(msg, 'identify_response')
  522. File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
  523. return src.get_response([cmd], self.default_cmd_queue)
  524. File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
  525. cmd_queue)
  526. File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
  527. self._error("Serial connection closed")
  528. File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
  529. raise error(self.warn_prefix + (msg % params))
  530. error: mcu 'mcu': Serial connection closed
  531. mcu 'mcu': Timeout on connect
  532. mcu 'mcu': Wait for identify_response
  533. Traceback (most recent call last):
  534. File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
  535. params = self.send_with_response(msg, 'identify_response')
  536. File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
  537. return src.get_response([cmd], self.default_cmd_queue)
  538. File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
  539. cmd_queue)
  540. File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
  541. self._error("Serial connection closed")
  542. File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
  543. raise error(self.warn_prefix + (msg % params))
  544. error: mcu 'mcu': Serial connection closed
  545. mcu 'mcu': Timeout on connect
  546. mcu 'mcu': Wait for identify_response
  547. Traceback (most recent call last):
  548. File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
  549. params = self.send_with_response(msg, 'identify_response')
  550. File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
  551. return src.get_response([cmd], self.default_cmd_queue)
  552. File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
  553. cmd_queue)
  554. File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
  555. self._error("Serial connection closed")
  556. File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
  557. raise error(self.warn_prefix + (msg % params))
  558. error: mcu 'mcu': Serial connection closed
  559. mcu 'mcu': Timeout on connect
  560. mcu 'mcu': Wait for identify_response
  561. Traceback (most recent call last):
  562. File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
  563. params = self.send_with_response(msg, 'identify_response')
  564. File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
  565. return src.get_response([cmd], self.default_cmd_queue)
  566. File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
  567. cmd_queue)
  568. File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
  569. self._error("Serial connection closed")
  570. File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
  571. raise error(self.warn_prefix + (msg % params))
  572. error: mcu 'mcu': Serial connection closed
  573. mcu 'mcu': Timeout on connect
  574. mcu 'mcu': Wait for identify_response
  575. Traceback (most recent call last):
  576. File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
  577. params = self.send_with_response(msg, 'identify_response')
  578. File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
  579. return src.get_response([cmd], self.default_cmd_queue)
  580. File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
  581. cmd_queue)
  582. File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
  583. self._error("Serial connection closed")
  584. File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
  585. raise error(self.warn_prefix + (msg % params))
  586. error: mcu 'mcu': Serial connection closed
  587. mcu 'mcu': Timeout on connect
  588. mcu 'mcu': Wait for identify_response
  589. Traceback (most recent call last):
  590. File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
  591. params = self.send_with_response(msg, 'identify_response')
  592. File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
  593. return src.get_response([cmd], self.default_cmd_queue)
  594. File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
  595. cmd_queue)
  596. File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
  597. self._error("Serial connection closed")
  598. File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
  599. raise error(self.warn_prefix + (msg % params))
  600. error: mcu 'mcu': Serial connection closed
  601. mcu 'mcu': Timeout on connect
  602. mcu 'mcu': Wait for identify_response
  603. Traceback (most recent call last):
  604. File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
  605. params = self.send_with_response(msg, 'identify_response')
  606. File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
  607. return src.get_response([cmd], self.default_cmd_queue)
  608. File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
  609. cmd_queue)
  610. File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
  611. self._error("Serial connection closed")
  612. File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
  613. raise error(self.warn_prefix + (msg % params))
  614. error: mcu 'mcu': Serial connection closed
  615. mcu 'mcu': Timeout on connect
  616. mcu 'mcu': Wait for identify_response
  617. Traceback (most recent call last):
  618. File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
  619. params = self.send_with_response(msg, 'identify_response')
  620. File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
  621. return src.get_response([cmd], self.default_cmd_queue)
  622. File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
  623. cmd_queue)
  624. File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
  625. self._error("Serial connection closed")
  626. File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
  627. raise error(self.warn_prefix + (msg % params))
  628. error: mcu 'mcu': Serial connection closed
  629. mcu 'mcu': Timeout on connect
  630. mcu 'mcu': Wait for identify_response
  631. Traceback (most recent call last):
  632. File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
  633. params = self.send_with_response(msg, 'identify_response')
  634. File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
  635. return src.get_response([cmd], self.default_cmd_queue)
  636. File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
  637. cmd_queue)
  638. File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
  639. self._error("Serial connection closed")
  640. File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
  641. raise error(self.warn_prefix + (msg % params))
  642. error: mcu 'mcu': Serial connection closed
  643. mcu 'mcu': Timeout on connect
  644. MCU error during connect
  645. Traceback (most recent call last):
  646. File "/home/pi/klipper/klippy/klippy.py", line 176, in _connect
  647. self.send_event("klippy:mcu_identify")
  648. File "/home/pi/klipper/klippy/klippy.py", line 264, in send_event
  649. return [cb(*params) for cb in self.event_handlers.get(event, [])]
  650. File "/home/pi/klipper/klippy/mcu.py", line 779, in _mcu_identify
  651. raise error(str(e))
  652. error: mcu 'mcu': Unable to connect
  653. Build file /home/pi/klipper/klippy/../.config(1859): Thu Oct 13 10:49:13 2022
  654. ========= Last MCU build config =========
  655. # CONFIG_LOW_LEVEL_OPTIONS is not set
  656. # CONFIG_MACH_AVR is not set
  657. # CONFIG_MACH_ATSAM is not set
  658. # CONFIG_MACH_ATSAMD is not set
  659. # CONFIG_MACH_LPC176X is not set
  660. CONFIG_MACH_STM32=y
  661. # CONFIG_MACH_RP2040 is not set
  662. # CONFIG_MACH_PRU is not set
  663. # CONFIG_MACH_LINUX is not set
  664. # CONFIG_MACH_SIMU is not set
  665. CONFIG_BOARD_DIRECTORY="stm32"
  666. CONFIG_MCU="stm32g0b1xx"
  667. CONFIG_CLOCK_FREQ=64000000
  668. CONFIG_USBSERIAL=y
  669. CONFIG_FLASH_START=0x8002000
  670. CONFIG_FLASH_SIZE=0x20000
  671. CONFIG_RAM_START=0x20000000
  672. CONFIG_RAM_SIZE=0x24000
  673. CONFIG_STACK_SIZE=512
  674. CONFIG_STM32_SELECT=y
  675. # CONFIG_MACH_STM32F103 is not set
  676. # CONFIG_MACH_STM32F207 is not set
  677. # CONFIG_MACH_STM32F401 is not set
  678. # CONFIG_MACH_STM32F405 is not set
  679. # CONFIG_MACH_STM32F407 is not set
  680. # CONFIG_MACH_STM32F429 is not set
  681. # CONFIG_MACH_STM32F446 is not set
  682. # CONFIG_MACH_STM32F031 is not set
  683. # CONFIG_MACH_STM32F042 is not set
  684. # CONFIG_MACH_STM32F070 is not set
  685. # CONFIG_MACH_STM32F072 is not set
  686. CONFIG_MACH_STM32G0B1=y
  687. # CONFIG_MACH_STM32H743 is not set
  688. # CONFIG_MACH_STM32H750 is not set
  689. CONFIG_MACH_STM32G0=y
  690. CONFIG_HAVE_STM32_USBFS=y
  691. CONFIG_HAVE_STM32_FDCANBUS=y
  692. CONFIG_HAVE_STM32_USBCANBUS=y
  693. CONFIG_STM32_FLASH_START_2000=y
  694. # CONFIG_STM32_FLASH_START_0000 is not set
  695. CONFIG_CLOCK_REF_FREQ=8000000
  696. CONFIG_STM32F0_TRIM=16
  697. CONFIG_STM32_USB_PA11_PA12=y
  698. # CONFIG_STM32_SERIAL_USART1 is not set
  699. # CONFIG_STM32_CANBUS_PA11_PA12 is not set
  700. # CONFIG_STM32_MMENU_CANBUS_PB0_PB1 is not set
  701. # CONFIG_STM32_USBCANBUS_PA11_PA12 is not set
  702. CONFIG_USB_VENDOR_ID=0x1d50
  703. CONFIG_USB_DEVICE_ID=0x614e
  704. CONFIG_USB_SERIAL_NUMBER_CHIPID=y
  705. CONFIG_USB_SERIAL_NUMBER="12345"
  706. CONFIG_CANBUS_FREQUENCY=500000
  707. CONFIG_HAVE_GPIO=y
  708. CONFIG_HAVE_GPIO_ADC=y
  709. CONFIG_HAVE_GPIO_SPI=y
  710. CONFIG_HAVE_GPIO_I2C=y
  711. CONFIG_HAVE_GPIO_BITBANGING=y
  712. CONFIG_HAVE_STRICT_TIMING=y
  713. CONFIG_HAVE_CHIPID=y
  714. CONFIG_HAVE_STEPPER_BOTH_EDGE=y
  715. CONFIG_INLINE_STEPPER_HACK=y
  716. =======================
  717. Build file /home/pi/klipper/klippy/../out/klipper.dict(7149): Thu Oct 13 10:50:21 2022
  718. Last MCU build version: v0.10.0-515-g24a1b50e
  719. Last MCU build tools: gcc: (15:8-2019-q3-1+b1) 8.3.1 20190703 (release) [gcc-8-branch revision 273027] binutils: (2.34-4+rpi1+14) 2.34
  720. Last MCU build config: BUS_PINS_i2c1=PB6,PB7 BUS_PINS_spi2a=PC2,PC3,PB10 BUS_PINS_i2c1a=PF1,PF0 STEPPER_BOTH_EDGE=1 ADC_MAX=4095 RESERVE_PINS_crystal=PF0,PF1 BUS_PINS_spi3=PB4,PB5,PB3 BUS_PINS_spi2=PB14,PB15,PB13 BUS_PINS_spi1=PA6,PA7,PA5 RESERVE_PINS_USB=PA11,PA12 MCU=stm32g0b1xx STATS_SUMSQ_BASE=256 BUS_PINS_spi1a=PB4,PB5,PB3 CLOCK_FREQ=64000000
  721. Build file /home/pi/klipper/klippy/../out/klipper.elf(1004608): Thu Oct 13 10:50:27 2022
  722. mcu 'mcu': Wait for identify_response
  723. Traceback (most recent call last):
  724. File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
  725. params = self.send_with_response(msg, 'identify_response')
  726. File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
  727. return src.get_response([cmd], self.default_cmd_queue)
  728. File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
  729. cmd_queue)
  730. File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
  731. self._error("Serial connection closed")
  732. File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
  733. raise error(self.warn_prefix + (msg % params))
  734. error: mcu 'mcu': Serial connection closed
  735. Starting Klippy...
  736. Args: ['/home/pi/klipper/klippy/klippy.py', '/home/pi/klipper_config/printer.cfg', '-l', '/home/pi/klipper_logs/klippy.log', '-a', '/tmp/klippy_uds']
  737. Git version: 'v0.10.0-594-g7290c145'
  738. CPU: 4 core ARMv7 Processor rev 3 (v7l)
  739. Python: '2.7.18 (default, Jul 14 2021, 08:11:37) \n[GCC 10.2.1 20210110]'
  740. Building C code module c_helper.so
  741. Start printer at Thu Oct 13 11:14:54 2022 (1665656094.5 1927.8)
  742. ===== Config file =====
  743. [stepper_x]
  744. step_pin = PB13
  745. dir_pin = !PB12
  746. enable_pin = !PB14
  747. microsteps = 16
  748. rotation_distance = 40
  749. endstop_pin = ^PC0
  750. position_endstop = 0
  751. position_max = 235
  752. homing_speed = 50
  753.  
  754. [tmc2209 stepper_x]
  755. uart_pin = PC11
  756. tx_pin = PC10
  757. uart_address = 0
  758. run_current = 0.580
  759. stealthchop_threshold = 999999
  760.  
  761. [stepper_y]
  762. step_pin = PB10
  763. dir_pin = !PB2
  764. enable_pin = !PB11
  765. microsteps = 16
  766. rotation_distance = 40
  767. endstop_pin = ^PC1
  768. position_endstop = 0
  769. position_max = 235
  770. homing_speed = 50
  771.  
  772. [tmc2209 stepper_y]
  773. uart_pin = PC11
  774. tx_pin = PC10
  775. uart_address = 2
  776. run_current = 0.580
  777. stealthchop_threshold = 999999
  778.  
  779. [stepper_z]
  780. step_pin = PB0
  781. dir_pin = PC5
  782. enable_pin = !PB1
  783. microsteps = 16
  784. rotation_distance = 8
  785. endstop_pin = ^PC2
  786. position_endstop = 0.0
  787. position_max = 250
  788.  
  789. [tmc2209 stepper_z]
  790. uart_pin = PC11
  791. tx_pin = PC10
  792. uart_address = 1
  793. run_current = 0.580
  794. stealthchop_threshold = 999999
  795.  
  796. [extruder]
  797. step_pin = PB3
  798. dir_pin = !PB4
  799. enable_pin = !PD1
  800. microsteps = 16
  801. rotation_distance = 33.500
  802. nozzle_diameter = 0.400
  803. filament_diameter = 1.750
  804. heater_pin = PC8
  805. sensor_type = EPCOS 100K B57560G104F
  806. sensor_pin = PA0
  807. control = pid
  808. pid_kp = 21.527
  809. pid_ki = 1.063
  810. pid_kd = 108.982
  811. min_temp = 0
  812. max_temp = 250
  813.  
  814. [tmc2209 extruder]
  815. uart_pin = PC11
  816. tx_pin = PC10
  817. uart_address = 3
  818. run_current = 0.650
  819. stealthchop_threshold = 999999
  820.  
  821. [heater_bed]
  822. heater_pin = PC9
  823. sensor_type = ATC Semitec 104GT-2
  824. sensor_pin = PC4
  825. control = pid
  826. pid_kp = 54.027
  827. pid_ki = 0.770
  828. pid_kd = 948.182
  829. min_temp = 0
  830. max_temp = 130
  831.  
  832. [heater_fan nozzle_cooling_fan]
  833. pin = PC7
  834.  
  835. [heater_fan controller_fan]
  836. pin = PB15
  837.  
  838. [fan]
  839. pin = PC6
  840.  
  841. [mcu]
  842. serial = /dev/ttyAMA0
  843. restart_method = command
  844.  
  845. [printer]
  846. kinematics = cartesian
  847. max_velocity = 300
  848. max_accel = 3000
  849. max_z_velocity = 5
  850. max_z_accel = 100
  851.  
  852. [board_pins]
  853. aliases =
  854. EXP1_1=PB5, EXP1_3=PA9, EXP1_5=PA10, EXP1_7=PB8, EXP1_9=<GND>,
  855. EXP1_2=PA15, EXP1_4=<RST>, EXP1_6=PB9, EXP1_8=PD6, EXP1_10=<5V>
  856. =======================
  857. Extruder max_extrude_ratio=0.266081
  858. mcu 'mcu': Starting serial connect
  859. webhooks client 3042103128: New connection
  860. webhooks client 3042103128: Client info {'program': 'Moonraker', 'version': 'v0.7.1-597-gd37f91c'}
  861. mcu 'mcu': Timeout on connect
  862. mcu 'mcu': Wait for identify_response
  863. Traceback (most recent call last):
  864. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  865. params = self.send_with_response(msg, 'identify_response')
  866. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  867. return src.get_response([cmd], self.default_cmd_queue)
  868. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  869. cmd_queue)
  870. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  871. self._error("Serial connection closed")
  872. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  873. raise error(self.warn_prefix + (msg % params))
  874. error: mcu 'mcu': Serial connection closed
  875. mcu 'mcu': Timeout on connect
  876. mcu 'mcu': Wait for identify_response
  877. Traceback (most recent call last):
  878. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  879. params = self.send_with_response(msg, 'identify_response')
  880. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  881. return src.get_response([cmd], self.default_cmd_queue)
  882. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  883. cmd_queue)
  884. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  885. self._error("Serial connection closed")
  886. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  887. raise error(self.warn_prefix + (msg % params))
  888. error: mcu 'mcu': Serial connection closed
  889. mcu 'mcu': Timeout on connect
  890. mcu 'mcu': Wait for identify_response
  891. Traceback (most recent call last):
  892. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  893. params = self.send_with_response(msg, 'identify_response')
  894. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  895. return src.get_response([cmd], self.default_cmd_queue)
  896. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  897. cmd_queue)
  898. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  899. self._error("Serial connection closed")
  900. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  901. raise error(self.warn_prefix + (msg % params))
  902. error: mcu 'mcu': Serial connection closed
  903. mcu 'mcu': Timeout on connect
  904. mcu 'mcu': Wait for identify_response
  905. Traceback (most recent call last):
  906. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  907. params = self.send_with_response(msg, 'identify_response')
  908. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  909. return src.get_response([cmd], self.default_cmd_queue)
  910. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  911. cmd_queue)
  912. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  913. self._error("Serial connection closed")
  914. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  915. raise error(self.warn_prefix + (msg % params))
  916. error: mcu 'mcu': Serial connection closed
  917. mcu 'mcu': Timeout on connect
  918. mcu 'mcu': Wait for identify_response
  919. Traceback (most recent call last):
  920. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  921. params = self.send_with_response(msg, 'identify_response')
  922. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  923. return src.get_response([cmd], self.default_cmd_queue)
  924. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  925. cmd_queue)
  926. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  927. self._error("Serial connection closed")
  928. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  929. raise error(self.warn_prefix + (msg % params))
  930. error: mcu 'mcu': Serial connection closed
  931. mcu 'mcu': Timeout on connect
  932. mcu 'mcu': Wait for identify_response
  933. Traceback (most recent call last):
  934. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  935. params = self.send_with_response(msg, 'identify_response')
  936. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  937. return src.get_response([cmd], self.default_cmd_queue)
  938. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  939. cmd_queue)
  940. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  941. self._error("Serial connection closed")
  942. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  943. raise error(self.warn_prefix + (msg % params))
  944. error: mcu 'mcu': Serial connection closed
  945. mcu 'mcu': Timeout on connect
  946. mcu 'mcu': Wait for identify_response
  947. Traceback (most recent call last):
  948. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  949. params = self.send_with_response(msg, 'identify_response')
  950. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  951. return src.get_response([cmd], self.default_cmd_queue)
  952. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  953. cmd_queue)
  954. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  955. self._error("Serial connection closed")
  956. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  957. raise error(self.warn_prefix + (msg % params))
  958. error: mcu 'mcu': Serial connection closed
  959. mcu 'mcu': Timeout on connect
  960. mcu 'mcu': Wait for identify_response
  961. Traceback (most recent call last):
  962. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  963. params = self.send_with_response(msg, 'identify_response')
  964. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  965. return src.get_response([cmd], self.default_cmd_queue)
  966. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  967. cmd_queue)
  968. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  969. self._error("Serial connection closed")
  970. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  971. raise error(self.warn_prefix + (msg % params))
  972. error: mcu 'mcu': Serial connection closed
  973. mcu 'mcu': Timeout on connect
  974. mcu 'mcu': Wait for identify_response
  975. Traceback (most recent call last):
  976. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  977. params = self.send_with_response(msg, 'identify_response')
  978. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  979. return src.get_response([cmd], self.default_cmd_queue)
  980. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  981. cmd_queue)
  982. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  983. self._error("Serial connection closed")
  984. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  985. raise error(self.warn_prefix + (msg % params))
  986. error: mcu 'mcu': Serial connection closed
  987. mcu 'mcu': Timeout on connect
  988. mcu 'mcu': Wait for identify_response
  989. Traceback (most recent call last):
  990. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  991. params = self.send_with_response(msg, 'identify_response')
  992. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  993. return src.get_response([cmd], self.default_cmd_queue)
  994. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  995. cmd_queue)
  996. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  997. self._error("Serial connection closed")
  998. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  999. raise error(self.warn_prefix + (msg % params))
  1000. error: mcu 'mcu': Serial connection closed
  1001. mcu 'mcu': Timeout on connect
  1002. mcu 'mcu': Wait for identify_response
  1003. Traceback (most recent call last):
  1004. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  1005. params = self.send_with_response(msg, 'identify_response')
  1006. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  1007. return src.get_response([cmd], self.default_cmd_queue)
  1008. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  1009. cmd_queue)
  1010. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  1011. self._error("Serial connection closed")
  1012. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  1013. raise error(self.warn_prefix + (msg % params))
  1014. error: mcu 'mcu': Serial connection closed
  1015. mcu 'mcu': Timeout on connect
  1016. mcu 'mcu': Wait for identify_response
  1017. Traceback (most recent call last):
  1018. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  1019. params = self.send_with_response(msg, 'identify_response')
  1020. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  1021. return src.get_response([cmd], self.default_cmd_queue)
  1022. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  1023. cmd_queue)
  1024. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  1025. self._error("Serial connection closed")
  1026. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  1027. raise error(self.warn_prefix + (msg % params))
  1028. error: mcu 'mcu': Serial connection closed
  1029. mcu 'mcu': Timeout on connect
  1030. mcu 'mcu': Wait for identify_response
  1031. Traceback (most recent call last):
  1032. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  1033. params = self.send_with_response(msg, 'identify_response')
  1034. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  1035. return src.get_response([cmd], self.default_cmd_queue)
  1036. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  1037. cmd_queue)
  1038. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  1039. self._error("Serial connection closed")
  1040. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  1041. raise error(self.warn_prefix + (msg % params))
  1042. error: mcu 'mcu': Serial connection closed
  1043. mcu 'mcu': Timeout on connect
  1044. mcu 'mcu': Wait for identify_response
  1045. Traceback (most recent call last):
  1046. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  1047. params = self.send_with_response(msg, 'identify_response')
  1048. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  1049. return src.get_response([cmd], self.default_cmd_queue)
  1050. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  1051. cmd_queue)
  1052. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  1053. self._error("Serial connection closed")
  1054. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  1055. raise error(self.warn_prefix + (msg % params))
  1056. error: mcu 'mcu': Serial connection closed
  1057. mcu 'mcu': Timeout on connect
  1058. mcu 'mcu': Wait for identify_response
  1059. Traceback (most recent call last):
  1060. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  1061. params = self.send_with_response(msg, 'identify_response')
  1062. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  1063. return src.get_response([cmd], self.default_cmd_queue)
  1064. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  1065. cmd_queue)
  1066. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  1067. self._error("Serial connection closed")
  1068. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  1069. raise error(self.warn_prefix + (msg % params))
  1070. error: mcu 'mcu': Serial connection closed
  1071. mcu 'mcu': Timeout on connect
  1072. mcu 'mcu': Wait for identify_response
  1073. Traceback (most recent call last):
  1074. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  1075. params = self.send_with_response(msg, 'identify_response')
  1076. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  1077. return src.get_response([cmd], self.default_cmd_queue)
  1078. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  1079. cmd_queue)
  1080. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  1081. self._error("Serial connection closed")
  1082. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  1083. raise error(self.warn_prefix + (msg % params))
  1084. error: mcu 'mcu': Serial connection closed
  1085. mcu 'mcu': Timeout on connect
  1086. mcu 'mcu': Wait for identify_response
  1087. Traceback (most recent call last):
  1088. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  1089. params = self.send_with_response(msg, 'identify_response')
  1090. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  1091. return src.get_response([cmd], self.default_cmd_queue)
  1092. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  1093. cmd_queue)
  1094. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  1095. self._error("Serial connection closed")
  1096. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  1097. raise error(self.warn_prefix + (msg % params))
  1098. error: mcu 'mcu': Serial connection closed
  1099. mcu 'mcu': Timeout on connect
  1100. MCU error during connect
  1101. Traceback (most recent call last):
  1102. File "/home/pi/klipper/klippy/klippy.py", line 176, in _connect
  1103. self.send_event("klippy:mcu_identify")
  1104. File "/home/pi/klipper/klippy/klippy.py", line 263, in send_event
  1105. return [cb(*params) for cb in self.event_handlers.get(event, [])]
  1106. File "/home/pi/klipper/klippy/mcu.py", line 782, in _mcu_identify
  1107. raise error(str(e))
  1108. error: mcu 'mcu': Unable to connect
  1109. Build file /home/pi/klipper/klippy/../.config(1859): Thu Oct 13 10:49:13 2022
  1110. ========= Last MCU build config =========
  1111. # CONFIG_LOW_LEVEL_OPTIONS is not set
  1112. # CONFIG_MACH_AVR is not set
  1113. # CONFIG_MACH_ATSAM is not set
  1114. # CONFIG_MACH_ATSAMD is not set
  1115. # CONFIG_MACH_LPC176X is not set
  1116. CONFIG_MACH_STM32=y
  1117. # CONFIG_MACH_RP2040 is not set
  1118. # CONFIG_MACH_PRU is not set
  1119. # CONFIG_MACH_LINUX is not set
  1120. # CONFIG_MACH_SIMU is not set
  1121. CONFIG_BOARD_DIRECTORY="stm32"
  1122. CONFIG_MCU="stm32g0b1xx"
  1123. CONFIG_CLOCK_FREQ=64000000
  1124. CONFIG_USBSERIAL=y
  1125. CONFIG_FLASH_START=0x8002000
  1126. CONFIG_FLASH_SIZE=0x20000
  1127. CONFIG_RAM_START=0x20000000
  1128. CONFIG_RAM_SIZE=0x24000
  1129. CONFIG_STACK_SIZE=512
  1130. CONFIG_STM32_SELECT=y
  1131. # CONFIG_MACH_STM32F103 is not set
  1132. # CONFIG_MACH_STM32F207 is not set
  1133. # CONFIG_MACH_STM32F401 is not set
  1134. # CONFIG_MACH_STM32F405 is not set
  1135. # CONFIG_MACH_STM32F407 is not set
  1136. # CONFIG_MACH_STM32F429 is not set
  1137. # CONFIG_MACH_STM32F446 is not set
  1138. # CONFIG_MACH_STM32F031 is not set
  1139. # CONFIG_MACH_STM32F042 is not set
  1140. # CONFIG_MACH_STM32F070 is not set
  1141. # CONFIG_MACH_STM32F072 is not set
  1142. CONFIG_MACH_STM32G0B1=y
  1143. # CONFIG_MACH_STM32H743 is not set
  1144. # CONFIG_MACH_STM32H750 is not set
  1145. CONFIG_MACH_STM32G0=y
  1146. CONFIG_HAVE_STM32_USBFS=y
  1147. CONFIG_HAVE_STM32_FDCANBUS=y
  1148. CONFIG_HAVE_STM32_USBCANBUS=y
  1149. CONFIG_STM32_FLASH_START_2000=y
  1150. # CONFIG_STM32_FLASH_START_0000 is not set
  1151. CONFIG_CLOCK_REF_FREQ=8000000
  1152. CONFIG_STM32F0_TRIM=16
  1153. CONFIG_STM32_USB_PA11_PA12=y
  1154. # CONFIG_STM32_SERIAL_USART1 is not set
  1155. # CONFIG_STM32_CANBUS_PA11_PA12 is not set
  1156. # CONFIG_STM32_MMENU_CANBUS_PB0_PB1 is not set
  1157. # CONFIG_STM32_USBCANBUS_PA11_PA12 is not set
  1158. CONFIG_USB_VENDOR_ID=0x1d50
  1159. CONFIG_USB_DEVICE_ID=0x614e
  1160. CONFIG_USB_SERIAL_NUMBER_CHIPID=y
  1161. CONFIG_USB_SERIAL_NUMBER="12345"
  1162. CONFIG_CANBUS_FREQUENCY=500000
  1163. CONFIG_HAVE_GPIO=y
  1164. CONFIG_HAVE_GPIO_ADC=y
  1165. CONFIG_HAVE_GPIO_SPI=y
  1166. CONFIG_HAVE_GPIO_I2C=y
  1167. CONFIG_HAVE_GPIO_BITBANGING=y
  1168. CONFIG_HAVE_STRICT_TIMING=y
  1169. CONFIG_HAVE_CHIPID=y
  1170. CONFIG_HAVE_STEPPER_BOTH_EDGE=y
  1171. CONFIG_INLINE_STEPPER_HACK=y
  1172. =======================
  1173. Build file /home/pi/klipper/klippy/../out/klipper.dict(7149): Thu Oct 13 10:50:21 2022
  1174. Last MCU build version: v0.10.0-515-g24a1b50e
  1175. Last MCU build tools: gcc: (15:8-2019-q3-1+b1) 8.3.1 20190703 (release) [gcc-8-branch revision 273027] binutils: (2.34-4+rpi1+14) 2.34
  1176. Last MCU build config: BUS_PINS_i2c1=PB6,PB7 BUS_PINS_spi2a=PC2,PC3,PB10 BUS_PINS_i2c1a=PF1,PF0 STEPPER_BOTH_EDGE=1 ADC_MAX=4095 RESERVE_PINS_crystal=PF0,PF1 BUS_PINS_spi3=PB4,PB5,PB3 BUS_PINS_spi2=PB14,PB15,PB13 BUS_PINS_spi1=PA6,PA7,PA5 RESERVE_PINS_USB=PA11,PA12 MCU=stm32g0b1xx STATS_SUMSQ_BASE=256 BUS_PINS_spi1a=PB4,PB5,PB3 CLOCK_FREQ=64000000
  1177. Build file /home/pi/klipper/klippy/../out/klipper.elf(1004608): Thu Oct 13 10:50:27 2022
  1178. mcu 'mcu': Wait for identify_response
  1179. Traceback (most recent call last):
  1180. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  1181. params = self.send_with_response(msg, 'identify_response')
  1182. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  1183. return src.get_response([cmd], self.default_cmd_queue)
  1184. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  1185. cmd_queue)
  1186. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  1187. self._error("Serial connection closed")
  1188. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  1189. raise error(self.warn_prefix + (msg % params))
  1190. error: mcu 'mcu': Serial connection closed
  1191. Unable to issue reset command on MCU 'mcu'
  1192. webhooks client 3042103128: Disconnected
  1193. Restarting printer
  1194. Start printer at Thu Oct 13 11:26:39 2022 (1665656799.4 2632.6)
  1195. ===== Config file =====
  1196. [stepper_x]
  1197. step_pin = PB13
  1198. dir_pin = !PB12
  1199. enable_pin = !PB14
  1200. microsteps = 16
  1201. rotation_distance = 40
  1202. endstop_pin = ^PC0
  1203. position_endstop = 0
  1204. position_max = 235
  1205. homing_speed = 50
  1206.  
  1207. [tmc2209 stepper_x]
  1208. uart_pin = PC11
  1209. tx_pin = PC10
  1210. uart_address = 0
  1211. run_current = 0.580
  1212. stealthchop_threshold = 999999
  1213.  
  1214. [stepper_y]
  1215. step_pin = PB10
  1216. dir_pin = !PB2
  1217. enable_pin = !PB11
  1218. microsteps = 16
  1219. rotation_distance = 40
  1220. endstop_pin = ^PC1
  1221. position_endstop = 0
  1222. position_max = 235
  1223. homing_speed = 50
  1224.  
  1225. [tmc2209 stepper_y]
  1226. uart_pin = PC11
  1227. tx_pin = PC10
  1228. uart_address = 2
  1229. run_current = 0.580
  1230. stealthchop_threshold = 999999
  1231.  
  1232. [stepper_z]
  1233. step_pin = PB0
  1234. dir_pin = PC5
  1235. enable_pin = !PB1
  1236. microsteps = 16
  1237. rotation_distance = 8
  1238. endstop_pin = ^PC2
  1239. position_endstop = 0.0
  1240. position_max = 250
  1241.  
  1242. [tmc2209 stepper_z]
  1243. uart_pin = PC11
  1244. tx_pin = PC10
  1245. uart_address = 1
  1246. run_current = 0.580
  1247. stealthchop_threshold = 999999
  1248.  
  1249. [extruder]
  1250. step_pin = PB3
  1251. dir_pin = !PB4
  1252. enable_pin = !PD1
  1253. microsteps = 16
  1254. rotation_distance = 33.500
  1255. nozzle_diameter = 0.400
  1256. filament_diameter = 1.750
  1257. heater_pin = PC8
  1258. sensor_type = EPCOS 100K B57560G104F
  1259. sensor_pin = PA0
  1260. control = pid
  1261. pid_kp = 21.527
  1262. pid_ki = 1.063
  1263. pid_kd = 108.982
  1264. min_temp = 0
  1265. max_temp = 250
  1266.  
  1267. [tmc2209 extruder]
  1268. uart_pin = PC11
  1269. tx_pin = PC10
  1270. uart_address = 3
  1271. run_current = 0.650
  1272. stealthchop_threshold = 999999
  1273.  
  1274. [heater_bed]
  1275. heater_pin = PC9
  1276. sensor_type = ATC Semitec 104GT-2
  1277. sensor_pin = PC4
  1278. control = pid
  1279. pid_kp = 54.027
  1280. pid_ki = 0.770
  1281. pid_kd = 948.182
  1282. min_temp = 0
  1283. max_temp = 130
  1284.  
  1285. [heater_fan nozzle_cooling_fan]
  1286. pin = PC7
  1287.  
  1288. [heater_fan controller_fan]
  1289. pin = PB15
  1290.  
  1291. [fan]
  1292. pin = PC6
  1293.  
  1294. [mcu]
  1295. serial = /dev/ttyAMA0
  1296. restart_method = command
  1297.  
  1298. [printer]
  1299. kinematics = cartesian
  1300. max_velocity = 300
  1301. max_accel = 3000
  1302. max_z_velocity = 5
  1303. max_z_accel = 100
  1304.  
  1305. [board_pins]
  1306. aliases =
  1307. EXP1_1=PB5, EXP1_3=PA9, EXP1_5=PA10, EXP1_7=PB8, EXP1_9=<GND>,
  1308. EXP1_2=PA15, EXP1_4=<RST>, EXP1_6=PB9, EXP1_8=PD6, EXP1_10=<5V>
  1309. =======================
  1310. Extruder max_extrude_ratio=0.266081
  1311. mcu 'mcu': Starting serial connect
  1312. webhooks client 3044631256: New connection
  1313. webhooks client 3044631256: Client info {'program': 'Moonraker', 'version': 'v0.7.1-597-gd37f91c'}
  1314. mcu 'mcu': Timeout on connect
  1315. mcu 'mcu': Wait for identify_response
  1316. Traceback (most recent call last):
  1317. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  1318. params = self.send_with_response(msg, 'identify_response')
  1319. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  1320. return src.get_response([cmd], self.default_cmd_queue)
  1321. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  1322. cmd_queue)
  1323. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  1324. self._error("Serial connection closed")
  1325. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  1326. raise error(self.warn_prefix + (msg % params))
  1327. error: mcu 'mcu': Serial connection closed
  1328. mcu 'mcu': Timeout on connect
  1329. mcu 'mcu': Wait for identify_response
  1330. Traceback (most recent call last):
  1331. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  1332. params = self.send_with_response(msg, 'identify_response')
  1333. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  1334. return src.get_response([cmd], self.default_cmd_queue)
  1335. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  1336. cmd_queue)
  1337. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  1338. self._error("Serial connection closed")
  1339. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  1340. raise error(self.warn_prefix + (msg % params))
  1341. error: mcu 'mcu': Serial connection closed
  1342. mcu 'mcu': Timeout on connect
  1343. mcu 'mcu': Wait for identify_response
  1344. Traceback (most recent call last):
  1345. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  1346. params = self.send_with_response(msg, 'identify_response')
  1347. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  1348. return src.get_response([cmd], self.default_cmd_queue)
  1349. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  1350. cmd_queue)
  1351. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  1352. self._error("Serial connection closed")
  1353. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  1354. raise error(self.warn_prefix + (msg % params))
  1355. error: mcu 'mcu': Serial connection closed
  1356. mcu 'mcu': Timeout on connect
  1357. mcu 'mcu': Wait for identify_response
  1358. Traceback (most recent call last):
  1359. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  1360. params = self.send_with_response(msg, 'identify_response')
  1361. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  1362. return src.get_response([cmd], self.default_cmd_queue)
  1363. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  1364. cmd_queue)
  1365. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  1366. self._error("Serial connection closed")
  1367. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  1368. raise error(self.warn_prefix + (msg % params))
  1369. error: mcu 'mcu': Serial connection closed
  1370. mcu 'mcu': Timeout on connect
  1371. mcu 'mcu': Wait for identify_response
  1372. Traceback (most recent call last):
  1373. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  1374. params = self.send_with_response(msg, 'identify_response')
  1375. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  1376. return src.get_response([cmd], self.default_cmd_queue)
  1377. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  1378. cmd_queue)
  1379. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  1380. self._error("Serial connection closed")
  1381. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  1382. raise error(self.warn_prefix + (msg % params))
  1383. error: mcu 'mcu': Serial connection closed
  1384. mcu 'mcu': Timeout on connect
  1385. mcu 'mcu': Wait for identify_response
  1386. Traceback (most recent call last):
  1387. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  1388. params = self.send_with_response(msg, 'identify_response')
  1389. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  1390. return src.get_response([cmd], self.default_cmd_queue)
  1391. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  1392. cmd_queue)
  1393. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  1394. self._error("Serial connection closed")
  1395. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  1396. raise error(self.warn_prefix + (msg % params))
  1397. error: mcu 'mcu': Serial connection closed
  1398. mcu 'mcu': Timeout on connect
  1399. mcu 'mcu': Wait for identify_response
  1400. Traceback (most recent call last):
  1401. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  1402. params = self.send_with_response(msg, 'identify_response')
  1403. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  1404. return src.get_response([cmd], self.default_cmd_queue)
  1405. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  1406. cmd_queue)
  1407. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  1408. self._error("Serial connection closed")
  1409. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  1410. raise error(self.warn_prefix + (msg % params))
  1411. error: mcu 'mcu': Serial connection closed
  1412. mcu 'mcu': Timeout on connect
  1413. mcu 'mcu': Wait for identify_response
  1414. Traceback (most recent call last):
  1415. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  1416. params = self.send_with_response(msg, 'identify_response')
  1417. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  1418. return src.get_response([cmd], self.default_cmd_queue)
  1419. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  1420. cmd_queue)
  1421. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  1422. self._error("Serial connection closed")
  1423. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  1424. raise error(self.warn_prefix + (msg % params))
  1425. error: mcu 'mcu': Serial connection closed
  1426. mcu 'mcu': Timeout on connect
  1427. mcu 'mcu': Wait for identify_response
  1428. Traceback (most recent call last):
  1429. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  1430. params = self.send_with_response(msg, 'identify_response')
  1431. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  1432. return src.get_response([cmd], self.default_cmd_queue)
  1433. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  1434. cmd_queue)
  1435. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  1436. self._error("Serial connection closed")
  1437. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  1438. raise error(self.warn_prefix + (msg % params))
  1439. error: mcu 'mcu': Serial connection closed
  1440. mcu 'mcu': Timeout on connect
  1441. mcu 'mcu': Wait for identify_response
  1442. Traceback (most recent call last):
  1443. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  1444. params = self.send_with_response(msg, 'identify_response')
  1445. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  1446. return src.get_response([cmd], self.default_cmd_queue)
  1447. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  1448. cmd_queue)
  1449. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  1450. self._error("Serial connection closed")
  1451. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  1452. raise error(self.warn_prefix + (msg % params))
  1453. error: mcu 'mcu': Serial connection closed
  1454. mcu 'mcu': Timeout on connect
  1455. mcu 'mcu': Wait for identify_response
  1456. Traceback (most recent call last):
  1457. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  1458. params = self.send_with_response(msg, 'identify_response')
  1459. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  1460. return src.get_response([cmd], self.default_cmd_queue)
  1461. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  1462. cmd_queue)
  1463. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  1464. self._error("Serial connection closed")
  1465. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  1466. raise error(self.warn_prefix + (msg % params))
  1467. error: mcu 'mcu': Serial connection closed
  1468. mcu 'mcu': Timeout on connect
  1469. mcu 'mcu': Wait for identify_response
  1470. Traceback (most recent call last):
  1471. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  1472. params = self.send_with_response(msg, 'identify_response')
  1473. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  1474. return src.get_response([cmd], self.default_cmd_queue)
  1475. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  1476. cmd_queue)
  1477. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  1478. self._error("Serial connection closed")
  1479. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  1480. raise error(self.warn_prefix + (msg % params))
  1481. error: mcu 'mcu': Serial connection closed
  1482. mcu 'mcu': Timeout on connect
  1483. mcu 'mcu': Wait for identify_response
  1484. Traceback (most recent call last):
  1485. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  1486. params = self.send_with_response(msg, 'identify_response')
  1487. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  1488. return src.get_response([cmd], self.default_cmd_queue)
  1489. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  1490. cmd_queue)
  1491. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  1492. self._error("Serial connection closed")
  1493. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  1494. raise error(self.warn_prefix + (msg % params))
  1495. error: mcu 'mcu': Serial connection closed
  1496. mcu 'mcu': Timeout on connect
  1497. mcu 'mcu': Wait for identify_response
  1498. Traceback (most recent call last):
  1499. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  1500. params = self.send_with_response(msg, 'identify_response')
  1501. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  1502. return src.get_response([cmd], self.default_cmd_queue)
  1503. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  1504. cmd_queue)
  1505. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  1506. self._error("Serial connection closed")
  1507. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  1508. raise error(self.warn_prefix + (msg % params))
  1509. error: mcu 'mcu': Serial connection closed
  1510. mcu 'mcu': Timeout on connect
  1511. mcu 'mcu': Wait for identify_response
  1512. Traceback (most recent call last):
  1513. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  1514. params = self.send_with_response(msg, 'identify_response')
  1515. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  1516. return src.get_response([cmd], self.default_cmd_queue)
  1517. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  1518. cmd_queue)
  1519. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  1520. self._error("Serial connection closed")
  1521. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  1522. raise error(self.warn_prefix + (msg % params))
  1523. error: mcu 'mcu': Serial connection closed
  1524. mcu 'mcu': Timeout on connect
  1525. mcu 'mcu': Wait for identify_response
  1526. Traceback (most recent call last):
  1527. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  1528. params = self.send_with_response(msg, 'identify_response')
  1529. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  1530. return src.get_response([cmd], self.default_cmd_queue)
  1531. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  1532. cmd_queue)
  1533. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  1534. self._error("Serial connection closed")
  1535. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  1536. raise error(self.warn_prefix + (msg % params))
  1537. error: mcu 'mcu': Serial connection closed
  1538. mcu 'mcu': Timeout on connect
  1539. mcu 'mcu': Wait for identify_response
  1540. Traceback (most recent call last):
  1541. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  1542. params = self.send_with_response(msg, 'identify_response')
  1543. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  1544. return src.get_response([cmd], self.default_cmd_queue)
  1545. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  1546. cmd_queue)
  1547. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  1548. self._error("Serial connection closed")
  1549. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  1550. raise error(self.warn_prefix + (msg % params))
  1551. error: mcu 'mcu': Serial connection closed
  1552. mcu 'mcu': Timeout on connect
  1553. MCU error during connect
  1554. Traceback (most recent call last):
  1555. File "/home/pi/klipper/klippy/klippy.py", line 176, in _connect
  1556. self.send_event("klippy:mcu_identify")
  1557. File "/home/pi/klipper/klippy/klippy.py", line 263, in send_event
  1558. return [cb(*params) for cb in self.event_handlers.get(event, [])]
  1559. File "/home/pi/klipper/klippy/mcu.py", line 782, in _mcu_identify
  1560. raise error(str(e))
  1561. error: mcu 'mcu': Unable to connect
  1562. Build file /home/pi/klipper/klippy/../.config(1859): Thu Oct 13 10:49:13 2022
  1563. ========= Last MCU build config =========
  1564. # CONFIG_LOW_LEVEL_OPTIONS is not set
  1565. # CONFIG_MACH_AVR is not set
  1566. # CONFIG_MACH_ATSAM is not set
  1567. # CONFIG_MACH_ATSAMD is not set
  1568. # CONFIG_MACH_LPC176X is not set
  1569. CONFIG_MACH_STM32=y
  1570. # CONFIG_MACH_RP2040 is not set
  1571. # CONFIG_MACH_PRU is not set
  1572. # CONFIG_MACH_LINUX is not set
  1573. # CONFIG_MACH_SIMU is not set
  1574. CONFIG_BOARD_DIRECTORY="stm32"
  1575. CONFIG_MCU="stm32g0b1xx"
  1576. CONFIG_CLOCK_FREQ=64000000
  1577. CONFIG_USBSERIAL=y
  1578. CONFIG_FLASH_START=0x8002000
  1579. CONFIG_FLASH_SIZE=0x20000
  1580. CONFIG_RAM_START=0x20000000
  1581. CONFIG_RAM_SIZE=0x24000
  1582. CONFIG_STACK_SIZE=512
  1583. CONFIG_STM32_SELECT=y
  1584. # CONFIG_MACH_STM32F103 is not set
  1585. # CONFIG_MACH_STM32F207 is not set
  1586. # CONFIG_MACH_STM32F401 is not set
  1587. # CONFIG_MACH_STM32F405 is not set
  1588. # CONFIG_MACH_STM32F407 is not set
  1589. # CONFIG_MACH_STM32F429 is not set
  1590. # CONFIG_MACH_STM32F446 is not set
  1591. # CONFIG_MACH_STM32F031 is not set
  1592. # CONFIG_MACH_STM32F042 is not set
  1593. # CONFIG_MACH_STM32F070 is not set
  1594. # CONFIG_MACH_STM32F072 is not set
  1595. CONFIG_MACH_STM32G0B1=y
  1596. # CONFIG_MACH_STM32H743 is not set
  1597. # CONFIG_MACH_STM32H750 is not set
  1598. CONFIG_MACH_STM32G0=y
  1599. CONFIG_HAVE_STM32_USBFS=y
  1600. CONFIG_HAVE_STM32_FDCANBUS=y
  1601. CONFIG_HAVE_STM32_USBCANBUS=y
  1602. CONFIG_STM32_FLASH_START_2000=y
  1603. # CONFIG_STM32_FLASH_START_0000 is not set
  1604. CONFIG_CLOCK_REF_FREQ=8000000
  1605. CONFIG_STM32F0_TRIM=16
  1606. CONFIG_STM32_USB_PA11_PA12=y
  1607. # CONFIG_STM32_SERIAL_USART1 is not set
  1608. # CONFIG_STM32_CANBUS_PA11_PA12 is not set
  1609. # CONFIG_STM32_MMENU_CANBUS_PB0_PB1 is not set
  1610. # CONFIG_STM32_USBCANBUS_PA11_PA12 is not set
  1611. CONFIG_USB_VENDOR_ID=0x1d50
  1612. CONFIG_USB_DEVICE_ID=0x614e
  1613. CONFIG_USB_SERIAL_NUMBER_CHIPID=y
  1614. CONFIG_USB_SERIAL_NUMBER="12345"
  1615. CONFIG_CANBUS_FREQUENCY=500000
  1616. CONFIG_HAVE_GPIO=y
  1617. CONFIG_HAVE_GPIO_ADC=y
  1618. CONFIG_HAVE_GPIO_SPI=y
  1619. CONFIG_HAVE_GPIO_I2C=y
  1620. CONFIG_HAVE_GPIO_BITBANGING=y
  1621. CONFIG_HAVE_STRICT_TIMING=y
  1622. CONFIG_HAVE_CHIPID=y
  1623. CONFIG_HAVE_STEPPER_BOTH_EDGE=y
  1624. CONFIG_INLINE_STEPPER_HACK=y
  1625. =======================
  1626. Build file /home/pi/klipper/klippy/../out/klipper.dict(7149): Thu Oct 13 10:50:21 2022
  1627. Last MCU build version: v0.10.0-515-g24a1b50e
  1628. Last MCU build tools: gcc: (15:8-2019-q3-1+b1) 8.3.1 20190703 (release) [gcc-8-branch revision 273027] binutils: (2.34-4+rpi1+14) 2.34
  1629. Last MCU build config: BUS_PINS_i2c1=PB6,PB7 BUS_PINS_spi2a=PC2,PC3,PB10 BUS_PINS_i2c1a=PF1,PF0 STEPPER_BOTH_EDGE=1 ADC_MAX=4095 RESERVE_PINS_crystal=PF0,PF1 BUS_PINS_spi3=PB4,PB5,PB3 BUS_PINS_spi2=PB14,PB15,PB13 BUS_PINS_spi1=PA6,PA7,PA5 RESERVE_PINS_USB=PA11,PA12 MCU=stm32g0b1xx STATS_SUMSQ_BASE=256 BUS_PINS_spi1a=PB4,PB5,PB3 CLOCK_FREQ=64000000
  1630. Build file /home/pi/klipper/klippy/../out/klipper.elf(1004608): Thu Oct 13 10:50:27 2022
  1631. mcu 'mcu': Wait for identify_response
  1632. Traceback (most recent call last):
  1633. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  1634. params = self.send_with_response(msg, 'identify_response')
  1635. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  1636. return src.get_response([cmd], self.default_cmd_queue)
  1637. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  1638. cmd_queue)
  1639. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  1640. self._error("Serial connection closed")
  1641. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  1642. raise error(self.warn_prefix + (msg % params))
  1643. error: mcu 'mcu': Serial connection closed
  1644. Unable to issue reset command on MCU 'mcu'
  1645. webhooks client 3044631256: Disconnected
  1646. Restarting printer
  1647. Start printer at Thu Oct 13 11:30:41 2022 (1665657041.5 2874.7)
  1648. ===== Config file =====
  1649. [stepper_x]
  1650. step_pin = PB13
  1651. dir_pin = !PB12
  1652. enable_pin = !PB14
  1653. microsteps = 16
  1654. rotation_distance = 40
  1655. endstop_pin = ^PC0
  1656. position_endstop = 0
  1657. position_max = 235
  1658. homing_speed = 50
  1659.  
  1660. [tmc2209 stepper_x]
  1661. uart_pin = PC11
  1662. tx_pin = PC10
  1663. uart_address = 0
  1664. run_current = 0.580
  1665. stealthchop_threshold = 999999
  1666.  
  1667. [stepper_y]
  1668. step_pin = PB10
  1669. dir_pin = !PB2
  1670. enable_pin = !PB11
  1671. microsteps = 16
  1672. rotation_distance = 40
  1673. endstop_pin = ^PC1
  1674. position_endstop = 0
  1675. position_max = 235
  1676. homing_speed = 50
  1677.  
  1678. [tmc2209 stepper_y]
  1679. uart_pin = PC11
  1680. tx_pin = PC10
  1681. uart_address = 2
  1682. run_current = 0.580
  1683. stealthchop_threshold = 999999
  1684.  
  1685. [stepper_z]
  1686. step_pin = PB0
  1687. dir_pin = PC5
  1688. enable_pin = !PB1
  1689. microsteps = 16
  1690. rotation_distance = 8
  1691. endstop_pin = ^PC2
  1692. position_endstop = 0.0
  1693. position_max = 250
  1694.  
  1695. [tmc2209 stepper_z]
  1696. uart_pin = PC11
  1697. tx_pin = PC10
  1698. uart_address = 1
  1699. run_current = 0.580
  1700. stealthchop_threshold = 999999
  1701.  
  1702. [extruder]
  1703. step_pin = PB3
  1704. dir_pin = !PB4
  1705. enable_pin = !PD1
  1706. microsteps = 16
  1707. rotation_distance = 33.500
  1708. nozzle_diameter = 0.400
  1709. filament_diameter = 1.750
  1710. heater_pin = PC8
  1711. sensor_type = EPCOS 100K B57560G104F
  1712. sensor_pin = PA0
  1713. control = pid
  1714. pid_kp = 21.527
  1715. pid_ki = 1.063
  1716. pid_kd = 108.982
  1717. min_temp = 0
  1718. max_temp = 250
  1719.  
  1720. [tmc2209 extruder]
  1721. uart_pin = PC11
  1722. tx_pin = PC10
  1723. uart_address = 3
  1724. run_current = 0.650
  1725. stealthchop_threshold = 999999
  1726.  
  1727. [heater_bed]
  1728. heater_pin = PC9
  1729. sensor_type = ATC Semitec 104GT-2
  1730. sensor_pin = PC4
  1731. control = pid
  1732. pid_kp = 54.027
  1733. pid_ki = 0.770
  1734. pid_kd = 948.182
  1735. min_temp = 0
  1736. max_temp = 130
  1737.  
  1738. [heater_fan nozzle_cooling_fan]
  1739. pin = PC7
  1740.  
  1741. [heater_fan controller_fan]
  1742. pin = PB15
  1743.  
  1744. [fan]
  1745. pin = PC6
  1746.  
  1747. [mcu]
  1748. serial = /dev/ttyAMA0
  1749. restart_method = command
  1750.  
  1751. [printer]
  1752. kinematics = cartesian
  1753. max_velocity = 300
  1754. max_accel = 3000
  1755. max_z_velocity = 5
  1756. max_z_accel = 100
  1757.  
  1758. [board_pins]
  1759. aliases =
  1760. EXP1_1=PB5, EXP1_3=PA9, EXP1_5=PA10, EXP1_7=PB8, EXP1_9=<GND>,
  1761. EXP1_2=PA15, EXP1_4=<RST>, EXP1_6=PB9, EXP1_8=PD6, EXP1_10=<5V>
  1762. =======================
  1763. Extruder max_extrude_ratio=0.266081
  1764. mcu 'mcu': Starting serial connect
  1765. webhooks client 3044308032: New connection
  1766. webhooks client 3044308032: Client info {'program': 'Moonraker', 'version': 'v0.7.1-597-gd37f91c'}
  1767. mcu 'mcu': Timeout on connect
  1768. mcu 'mcu': Wait for identify_response
  1769. Traceback (most recent call last):
  1770. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  1771. params = self.send_with_response(msg, 'identify_response')
  1772. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  1773. return src.get_response([cmd], self.default_cmd_queue)
  1774. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  1775. cmd_queue)
  1776. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  1777. self._error("Serial connection closed")
  1778. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  1779. raise error(self.warn_prefix + (msg % params))
  1780. error: mcu 'mcu': Serial connection closed
  1781. mcu 'mcu': Timeout on connect
  1782. mcu 'mcu': Wait for identify_response
  1783. Traceback (most recent call last):
  1784. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  1785. params = self.send_with_response(msg, 'identify_response')
  1786. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  1787. return src.get_response([cmd], self.default_cmd_queue)
  1788. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  1789. cmd_queue)
  1790. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  1791. self._error("Serial connection closed")
  1792. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  1793. raise error(self.warn_prefix + (msg % params))
  1794. error: mcu 'mcu': Serial connection closed
  1795. mcu 'mcu': Timeout on connect
  1796. mcu 'mcu': Wait for identify_response
  1797. Traceback (most recent call last):
  1798. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  1799. params = self.send_with_response(msg, 'identify_response')
  1800. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  1801. return src.get_response([cmd], self.default_cmd_queue)
  1802. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  1803. cmd_queue)
  1804. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  1805. self._error("Serial connection closed")
  1806. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  1807. raise error(self.warn_prefix + (msg % params))
  1808. error: mcu 'mcu': Serial connection closed
  1809. mcu 'mcu': Timeout on connect
  1810. mcu 'mcu': Wait for identify_response
  1811. Traceback (most recent call last):
  1812. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  1813. params = self.send_with_response(msg, 'identify_response')
  1814. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  1815. return src.get_response([cmd], self.default_cmd_queue)
  1816. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  1817. cmd_queue)
  1818. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  1819. self._error("Serial connection closed")
  1820. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  1821. raise error(self.warn_prefix + (msg % params))
  1822. error: mcu 'mcu': Serial connection closed
  1823. mcu 'mcu': Timeout on connect
  1824. mcu 'mcu': Wait for identify_response
  1825. Traceback (most recent call last):
  1826. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  1827. params = self.send_with_response(msg, 'identify_response')
  1828. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  1829. return src.get_response([cmd], self.default_cmd_queue)
  1830. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  1831. cmd_queue)
  1832. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  1833. self._error("Serial connection closed")
  1834. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  1835. raise error(self.warn_prefix + (msg % params))
  1836. error: mcu 'mcu': Serial connection closed
  1837. mcu 'mcu': Timeout on connect
  1838. mcu 'mcu': Wait for identify_response
  1839. Traceback (most recent call last):
  1840. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  1841. params = self.send_with_response(msg, 'identify_response')
  1842. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  1843. return src.get_response([cmd], self.default_cmd_queue)
  1844. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  1845. cmd_queue)
  1846. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  1847. self._error("Serial connection closed")
  1848. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  1849. raise error(self.warn_prefix + (msg % params))
  1850. error: mcu 'mcu': Serial connection closed
  1851. mcu 'mcu': Timeout on connect
  1852. mcu 'mcu': Wait for identify_response
  1853. Traceback (most recent call last):
  1854. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  1855. params = self.send_with_response(msg, 'identify_response')
  1856. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  1857. return src.get_response([cmd], self.default_cmd_queue)
  1858. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  1859. cmd_queue)
  1860. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  1861. self._error("Serial connection closed")
  1862. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  1863. raise error(self.warn_prefix + (msg % params))
  1864. error: mcu 'mcu': Serial connection closed
  1865. mcu 'mcu': Timeout on connect
  1866. mcu 'mcu': Wait for identify_response
  1867. Traceback (most recent call last):
  1868. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  1869. params = self.send_with_response(msg, 'identify_response')
  1870. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  1871. return src.get_response([cmd], self.default_cmd_queue)
  1872. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  1873. cmd_queue)
  1874. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  1875. self._error("Serial connection closed")
  1876. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  1877. raise error(self.warn_prefix + (msg % params))
  1878. error: mcu 'mcu': Serial connection closed
  1879. mcu 'mcu': Timeout on connect
  1880. mcu 'mcu': Wait for identify_response
  1881. Traceback (most recent call last):
  1882. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  1883. params = self.send_with_response(msg, 'identify_response')
  1884. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  1885. return src.get_response([cmd], self.default_cmd_queue)
  1886. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  1887. cmd_queue)
  1888. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  1889. self._error("Serial connection closed")
  1890. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  1891. raise error(self.warn_prefix + (msg % params))
  1892. error: mcu 'mcu': Serial connection closed
  1893. mcu 'mcu': Timeout on connect
  1894. mcu 'mcu': Wait for identify_response
  1895. Traceback (most recent call last):
  1896. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  1897. params = self.send_with_response(msg, 'identify_response')
  1898. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  1899. return src.get_response([cmd], self.default_cmd_queue)
  1900. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  1901. cmd_queue)
  1902. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  1903. self._error("Serial connection closed")
  1904. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  1905. raise error(self.warn_prefix + (msg % params))
  1906. error: mcu 'mcu': Serial connection closed
  1907. mcu 'mcu': Timeout on connect
  1908. mcu 'mcu': Wait for identify_response
  1909. Traceback (most recent call last):
  1910. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  1911. params = self.send_with_response(msg, 'identify_response')
  1912. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  1913. return src.get_response([cmd], self.default_cmd_queue)
  1914. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  1915. cmd_queue)
  1916. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  1917. self._error("Serial connection closed")
  1918. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  1919. raise error(self.warn_prefix + (msg % params))
  1920. error: mcu 'mcu': Serial connection closed
  1921. mcu 'mcu': Timeout on connect
  1922. mcu 'mcu': Wait for identify_response
  1923. Traceback (most recent call last):
  1924. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  1925. params = self.send_with_response(msg, 'identify_response')
  1926. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  1927. return src.get_response([cmd], self.default_cmd_queue)
  1928. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  1929. cmd_queue)
  1930. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  1931. self._error("Serial connection closed")
  1932. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  1933. raise error(self.warn_prefix + (msg % params))
  1934. error: mcu 'mcu': Serial connection closed
  1935. mcu 'mcu': Timeout on connect
  1936. mcu 'mcu': Wait for identify_response
  1937. Traceback (most recent call last):
  1938. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  1939. params = self.send_with_response(msg, 'identify_response')
  1940. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  1941. return src.get_response([cmd], self.default_cmd_queue)
  1942. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  1943. cmd_queue)
  1944. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  1945. self._error("Serial connection closed")
  1946. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  1947. raise error(self.warn_prefix + (msg % params))
  1948. error: mcu 'mcu': Serial connection closed
  1949. mcu 'mcu': Timeout on connect
  1950. mcu 'mcu': Wait for identify_response
  1951. Traceback (most recent call last):
  1952. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  1953. params = self.send_with_response(msg, 'identify_response')
  1954. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  1955. return src.get_response([cmd], self.default_cmd_queue)
  1956. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  1957. cmd_queue)
  1958. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  1959. self._error("Serial connection closed")
  1960. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  1961. raise error(self.warn_prefix + (msg % params))
  1962. error: mcu 'mcu': Serial connection closed
  1963. mcu 'mcu': Timeout on connect
  1964. mcu 'mcu': Wait for identify_response
  1965. Traceback (most recent call last):
  1966. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  1967. params = self.send_with_response(msg, 'identify_response')
  1968. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  1969. return src.get_response([cmd], self.default_cmd_queue)
  1970. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  1971. cmd_queue)
  1972. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  1973. self._error("Serial connection closed")
  1974. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  1975. raise error(self.warn_prefix + (msg % params))
  1976. error: mcu 'mcu': Serial connection closed
  1977. mcu 'mcu': Timeout on connect
  1978. mcu 'mcu': Wait for identify_response
  1979. Traceback (most recent call last):
  1980. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  1981. params = self.send_with_response(msg, 'identify_response')
  1982. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  1983. return src.get_response([cmd], self.default_cmd_queue)
  1984. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  1985. cmd_queue)
  1986. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  1987. self._error("Serial connection closed")
  1988. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  1989. raise error(self.warn_prefix + (msg % params))
  1990. error: mcu 'mcu': Serial connection closed
  1991. mcu 'mcu': Timeout on connect
  1992. mcu 'mcu': Wait for identify_response
  1993. Traceback (most recent call last):
  1994. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  1995. params = self.send_with_response(msg, 'identify_response')
  1996. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  1997. return src.get_response([cmd], self.default_cmd_queue)
  1998. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  1999. cmd_queue)
  2000. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  2001. self._error("Serial connection closed")
  2002. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  2003. raise error(self.warn_prefix + (msg % params))
  2004. error: mcu 'mcu': Serial connection closed
  2005. mcu 'mcu': Timeout on connect
  2006. MCU error during connect
  2007. Traceback (most recent call last):
  2008. File "/home/pi/klipper/klippy/klippy.py", line 176, in _connect
  2009. self.send_event("klippy:mcu_identify")
  2010. File "/home/pi/klipper/klippy/klippy.py", line 263, in send_event
  2011. return [cb(*params) for cb in self.event_handlers.get(event, [])]
  2012. File "/home/pi/klipper/klippy/mcu.py", line 782, in _mcu_identify
  2013. raise error(str(e))
  2014. error: mcu 'mcu': Unable to connect
  2015. Build file /home/pi/klipper/klippy/../.config(1859): Thu Oct 13 10:49:13 2022
  2016. ========= Last MCU build config =========
  2017. # CONFIG_LOW_LEVEL_OPTIONS is not set
  2018. # CONFIG_MACH_AVR is not set
  2019. # CONFIG_MACH_ATSAM is not set
  2020. # CONFIG_MACH_ATSAMD is not set
  2021. # CONFIG_MACH_LPC176X is not set
  2022. CONFIG_MACH_STM32=y
  2023. # CONFIG_MACH_RP2040 is not set
  2024. # CONFIG_MACH_PRU is not set
  2025. # CONFIG_MACH_LINUX is not set
  2026. # CONFIG_MACH_SIMU is not set
  2027. CONFIG_BOARD_DIRECTORY="stm32"
  2028. CONFIG_MCU="stm32g0b1xx"
  2029. CONFIG_CLOCK_FREQ=64000000
  2030. CONFIG_USBSERIAL=y
  2031. CONFIG_FLASH_START=0x8002000
  2032. CONFIG_FLASH_SIZE=0x20000
  2033. CONFIG_RAM_START=0x20000000
  2034. CONFIG_RAM_SIZE=0x24000
  2035. CONFIG_STACK_SIZE=512
  2036. CONFIG_STM32_SELECT=y
  2037. # CONFIG_MACH_STM32F103 is not set
  2038. # CONFIG_MACH_STM32F207 is not set
  2039. # CONFIG_MACH_STM32F401 is not set
  2040. # CONFIG_MACH_STM32F405 is not set
  2041. # CONFIG_MACH_STM32F407 is not set
  2042. # CONFIG_MACH_STM32F429 is not set
  2043. # CONFIG_MACH_STM32F446 is not set
  2044. # CONFIG_MACH_STM32F031 is not set
  2045. # CONFIG_MACH_STM32F042 is not set
  2046. # CONFIG_MACH_STM32F070 is not set
  2047. # CONFIG_MACH_STM32F072 is not set
  2048. CONFIG_MACH_STM32G0B1=y
  2049. # CONFIG_MACH_STM32H743 is not set
  2050. # CONFIG_MACH_STM32H750 is not set
  2051. CONFIG_MACH_STM32G0=y
  2052. CONFIG_HAVE_STM32_USBFS=y
  2053. CONFIG_HAVE_STM32_FDCANBUS=y
  2054. CONFIG_HAVE_STM32_USBCANBUS=y
  2055. CONFIG_STM32_FLASH_START_2000=y
  2056. # CONFIG_STM32_FLASH_START_0000 is not set
  2057. CONFIG_CLOCK_REF_FREQ=8000000
  2058. CONFIG_STM32F0_TRIM=16
  2059. CONFIG_STM32_USB_PA11_PA12=y
  2060. # CONFIG_STM32_SERIAL_USART1 is not set
  2061. # CONFIG_STM32_CANBUS_PA11_PA12 is not set
  2062. # CONFIG_STM32_MMENU_CANBUS_PB0_PB1 is not set
  2063. # CONFIG_STM32_USBCANBUS_PA11_PA12 is not set
  2064. CONFIG_USB_VENDOR_ID=0x1d50
  2065. CONFIG_USB_DEVICE_ID=0x614e
  2066. CONFIG_USB_SERIAL_NUMBER_CHIPID=y
  2067. CONFIG_USB_SERIAL_NUMBER="12345"
  2068. CONFIG_CANBUS_FREQUENCY=500000
  2069. CONFIG_HAVE_GPIO=y
  2070. CONFIG_HAVE_GPIO_ADC=y
  2071. CONFIG_HAVE_GPIO_SPI=y
  2072. CONFIG_HAVE_GPIO_I2C=y
  2073. CONFIG_HAVE_GPIO_BITBANGING=y
  2074. CONFIG_HAVE_STRICT_TIMING=y
  2075. CONFIG_HAVE_CHIPID=y
  2076. CONFIG_HAVE_STEPPER_BOTH_EDGE=y
  2077. CONFIG_INLINE_STEPPER_HACK=y
  2078. =======================
  2079. Build file /home/pi/klipper/klippy/../out/klipper.dict(7149): Thu Oct 13 10:50:21 2022
  2080. Last MCU build version: v0.10.0-515-g24a1b50e
  2081. Last MCU build tools: gcc: (15:8-2019-q3-1+b1) 8.3.1 20190703 (release) [gcc-8-branch revision 273027] binutils: (2.34-4+rpi1+14) 2.34
  2082. Last MCU build config: BUS_PINS_i2c1=PB6,PB7 BUS_PINS_spi2a=PC2,PC3,PB10 BUS_PINS_i2c1a=PF1,PF0 STEPPER_BOTH_EDGE=1 ADC_MAX=4095 RESERVE_PINS_crystal=PF0,PF1 BUS_PINS_spi3=PB4,PB5,PB3 BUS_PINS_spi2=PB14,PB15,PB13 BUS_PINS_spi1=PA6,PA7,PA5 RESERVE_PINS_USB=PA11,PA12 MCU=stm32g0b1xx STATS_SUMSQ_BASE=256 BUS_PINS_spi1a=PB4,PB5,PB3 CLOCK_FREQ=64000000
  2083. Build file /home/pi/klipper/klippy/../out/klipper.elf(1004608): Thu Oct 13 10:50:27 2022
  2084. mcu 'mcu': Wait for identify_response
  2085. Traceback (most recent call last):
  2086. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  2087. params = self.send_with_response(msg, 'identify_response')
  2088. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  2089. return src.get_response([cmd], self.default_cmd_queue)
  2090. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  2091. cmd_queue)
  2092. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  2093. self._error("Serial connection closed")
  2094. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  2095. raise error(self.warn_prefix + (msg % params))
  2096. error: mcu 'mcu': Serial connection closed
  2097. Unable to issue reset command on MCU 'mcu'
  2098. webhooks client 3044308032: Disconnected
  2099. Restarting printer
  2100. Start printer at Thu Oct 13 11:34:56 2022 (1665657296.2 3129.5)
  2101. ===== Config file =====
  2102. [stepper_x]
  2103. step_pin = PB13
  2104. dir_pin = !PB12
  2105. enable_pin = !PB14
  2106. microsteps = 16
  2107. rotation_distance = 40
  2108. endstop_pin = ^PC0
  2109. position_endstop = 0
  2110. position_max = 235
  2111. homing_speed = 50
  2112.  
  2113. [tmc2209 stepper_x]
  2114. uart_pin = PC11
  2115. tx_pin = PC10
  2116. uart_address = 0
  2117. run_current = 0.580
  2118. stealthchop_threshold = 999999
  2119.  
  2120. [stepper_y]
  2121. step_pin = PB10
  2122. dir_pin = !PB2
  2123. enable_pin = !PB11
  2124. microsteps = 16
  2125. rotation_distance = 40
  2126. endstop_pin = ^PC1
  2127. position_endstop = 0
  2128. position_max = 235
  2129. homing_speed = 50
  2130.  
  2131. [tmc2209 stepper_y]
  2132. uart_pin = PC11
  2133. tx_pin = PC10
  2134. uart_address = 2
  2135. run_current = 0.580
  2136. stealthchop_threshold = 999999
  2137.  
  2138. [stepper_z]
  2139. step_pin = PB0
  2140. dir_pin = PC5
  2141. enable_pin = !PB1
  2142. microsteps = 16
  2143. rotation_distance = 8
  2144. endstop_pin = ^PC2
  2145. position_endstop = 0.0
  2146. position_max = 250
  2147.  
  2148. [tmc2209 stepper_z]
  2149. uart_pin = PC11
  2150. tx_pin = PC10
  2151. uart_address = 1
  2152. run_current = 0.580
  2153. stealthchop_threshold = 999999
  2154.  
  2155. [extruder]
  2156. step_pin = PB3
  2157. dir_pin = !PB4
  2158. enable_pin = !PD1
  2159. microsteps = 16
  2160. rotation_distance = 33.500
  2161. nozzle_diameter = 0.400
  2162. filament_diameter = 1.750
  2163. heater_pin = PC8
  2164. sensor_type = EPCOS 100K B57560G104F
  2165. sensor_pin = PA0
  2166. control = pid
  2167. pid_kp = 21.527
  2168. pid_ki = 1.063
  2169. pid_kd = 108.982
  2170. min_temp = 0
  2171. max_temp = 250
  2172.  
  2173. [tmc2209 extruder]
  2174. uart_pin = PC11
  2175. tx_pin = PC10
  2176. uart_address = 3
  2177. run_current = 0.650
  2178. stealthchop_threshold = 999999
  2179.  
  2180. [heater_bed]
  2181. heater_pin = PC9
  2182. sensor_type = ATC Semitec 104GT-2
  2183. sensor_pin = PC4
  2184. control = pid
  2185. pid_kp = 54.027
  2186. pid_ki = 0.770
  2187. pid_kd = 948.182
  2188. min_temp = 0
  2189. max_temp = 130
  2190.  
  2191. [heater_fan nozzle_cooling_fan]
  2192. pin = PC7
  2193.  
  2194. [heater_fan controller_fan]
  2195. pin = PB15
  2196.  
  2197. [fan]
  2198. pin = PC6
  2199.  
  2200. [mcu]
  2201. serial = /dev/ttyAMA0
  2202. restart_method = command
  2203.  
  2204. [printer]
  2205. kinematics = cartesian
  2206. max_velocity = 300
  2207. max_accel = 3000
  2208. max_z_velocity = 5
  2209. max_z_accel = 100
  2210.  
  2211. [board_pins]
  2212. aliases =
  2213. EXP1_1=PB5, EXP1_3=PA9, EXP1_5=PA10, EXP1_7=PB8, EXP1_9=<GND>,
  2214. EXP1_2=PA15, EXP1_4=<RST>, EXP1_6=PB9, EXP1_8=PD6, EXP1_10=<5V>
  2215. =======================
  2216. Extruder max_extrude_ratio=0.266081
  2217. mcu 'mcu': Starting serial connect
  2218. webhooks client 3042392224: New connection
  2219. webhooks client 3042392224: Client info {'program': 'Moonraker', 'version': 'v0.7.1-597-gd37f91c'}
  2220. mcu 'mcu': Timeout on connect
  2221. mcu 'mcu': Wait for identify_response
  2222. Traceback (most recent call last):
  2223. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  2224. params = self.send_with_response(msg, 'identify_response')
  2225. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  2226. return src.get_response([cmd], self.default_cmd_queue)
  2227. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  2228. cmd_queue)
  2229. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  2230. self._error("Serial connection closed")
  2231. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  2232. raise error(self.warn_prefix + (msg % params))
  2233. error: mcu 'mcu': Serial connection closed
  2234. mcu 'mcu': Timeout on connect
  2235. mcu 'mcu': Wait for identify_response
  2236. Traceback (most recent call last):
  2237. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  2238. params = self.send_with_response(msg, 'identify_response')
  2239. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  2240. return src.get_response([cmd], self.default_cmd_queue)
  2241. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  2242. cmd_queue)
  2243. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  2244. self._error("Serial connection closed")
  2245. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  2246. raise error(self.warn_prefix + (msg % params))
  2247. error: mcu 'mcu': Serial connection closed
  2248. mcu 'mcu': Timeout on connect
  2249. mcu 'mcu': Wait for identify_response
  2250. Traceback (most recent call last):
  2251. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  2252. params = self.send_with_response(msg, 'identify_response')
  2253. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  2254. return src.get_response([cmd], self.default_cmd_queue)
  2255. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  2256. cmd_queue)
  2257. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  2258. self._error("Serial connection closed")
  2259. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  2260. raise error(self.warn_prefix + (msg % params))
  2261. error: mcu 'mcu': Serial connection closed
  2262. mcu 'mcu': Timeout on connect
  2263. mcu 'mcu': Wait for identify_response
  2264. Traceback (most recent call last):
  2265. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  2266. params = self.send_with_response(msg, 'identify_response')
  2267. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  2268. return src.get_response([cmd], self.default_cmd_queue)
  2269. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  2270. cmd_queue)
  2271. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  2272. self._error("Serial connection closed")
  2273. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  2274. raise error(self.warn_prefix + (msg % params))
  2275. error: mcu 'mcu': Serial connection closed
  2276. mcu 'mcu': Timeout on connect
  2277. mcu 'mcu': Wait for identify_response
  2278. Traceback (most recent call last):
  2279. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  2280. params = self.send_with_response(msg, 'identify_response')
  2281. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  2282. return src.get_response([cmd], self.default_cmd_queue)
  2283. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  2284. cmd_queue)
  2285. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  2286. self._error("Serial connection closed")
  2287. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  2288. raise error(self.warn_prefix + (msg % params))
  2289. error: mcu 'mcu': Serial connection closed
  2290. mcu 'mcu': Timeout on connect
  2291. mcu 'mcu': Wait for identify_response
  2292. Traceback (most recent call last):
  2293. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  2294. params = self.send_with_response(msg, 'identify_response')
  2295. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  2296. return src.get_response([cmd], self.default_cmd_queue)
  2297. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  2298. cmd_queue)
  2299. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  2300. self._error("Serial connection closed")
  2301. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  2302. raise error(self.warn_prefix + (msg % params))
  2303. error: mcu 'mcu': Serial connection closed
  2304. mcu 'mcu': Timeout on connect
  2305. mcu 'mcu': Wait for identify_response
  2306. Traceback (most recent call last):
  2307. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  2308. params = self.send_with_response(msg, 'identify_response')
  2309. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  2310. return src.get_response([cmd], self.default_cmd_queue)
  2311. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  2312. cmd_queue)
  2313. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  2314. self._error("Serial connection closed")
  2315. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  2316. raise error(self.warn_prefix + (msg % params))
  2317. error: mcu 'mcu': Serial connection closed
  2318. mcu 'mcu': Timeout on connect
  2319. mcu 'mcu': Wait for identify_response
  2320. Traceback (most recent call last):
  2321. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  2322. params = self.send_with_response(msg, 'identify_response')
  2323. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  2324. return src.get_response([cmd], self.default_cmd_queue)
  2325. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  2326. cmd_queue)
  2327. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  2328. self._error("Serial connection closed")
  2329. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  2330. raise error(self.warn_prefix + (msg % params))
  2331. error: mcu 'mcu': Serial connection closed
  2332. mcu 'mcu': Timeout on connect
  2333. mcu 'mcu': Wait for identify_response
  2334. Traceback (most recent call last):
  2335. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  2336. params = self.send_with_response(msg, 'identify_response')
  2337. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  2338. return src.get_response([cmd], self.default_cmd_queue)
  2339. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  2340. cmd_queue)
  2341. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  2342. self._error("Serial connection closed")
  2343. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  2344. raise error(self.warn_prefix + (msg % params))
  2345. error: mcu 'mcu': Serial connection closed
  2346. mcu 'mcu': Timeout on connect
  2347. mcu 'mcu': Wait for identify_response
  2348. Traceback (most recent call last):
  2349. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  2350. params = self.send_with_response(msg, 'identify_response')
  2351. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  2352. return src.get_response([cmd], self.default_cmd_queue)
  2353. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  2354. cmd_queue)
  2355. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  2356. self._error("Serial connection closed")
  2357. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  2358. raise error(self.warn_prefix + (msg % params))
  2359. error: mcu 'mcu': Serial connection closed
  2360. mcu 'mcu': Timeout on connect
  2361. mcu 'mcu': Wait for identify_response
  2362. Traceback (most recent call last):
  2363. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  2364. params = self.send_with_response(msg, 'identify_response')
  2365. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  2366. return src.get_response([cmd], self.default_cmd_queue)
  2367. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  2368. cmd_queue)
  2369. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  2370. self._error("Serial connection closed")
  2371. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  2372. raise error(self.warn_prefix + (msg % params))
  2373. error: mcu 'mcu': Serial connection closed
  2374. mcu 'mcu': Timeout on connect
  2375. mcu 'mcu': Wait for identify_response
  2376. Traceback (most recent call last):
  2377. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  2378. params = self.send_with_response(msg, 'identify_response')
  2379. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  2380. return src.get_response([cmd], self.default_cmd_queue)
  2381. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  2382. cmd_queue)
  2383. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  2384. self._error("Serial connection closed")
  2385. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  2386. raise error(self.warn_prefix + (msg % params))
  2387. error: mcu 'mcu': Serial connection closed
  2388. mcu 'mcu': Timeout on connect
  2389. mcu 'mcu': Wait for identify_response
  2390. Traceback (most recent call last):
  2391. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  2392. params = self.send_with_response(msg, 'identify_response')
  2393. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  2394. return src.get_response([cmd], self.default_cmd_queue)
  2395. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  2396. cmd_queue)
  2397. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  2398. self._error("Serial connection closed")
  2399. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  2400. raise error(self.warn_prefix + (msg % params))
  2401. error: mcu 'mcu': Serial connection closed
  2402. mcu 'mcu': Timeout on connect
  2403. mcu 'mcu': Wait for identify_response
  2404. Traceback (most recent call last):
  2405. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  2406. params = self.send_with_response(msg, 'identify_response')
  2407. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  2408. return src.get_response([cmd], self.default_cmd_queue)
  2409. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  2410. cmd_queue)
  2411. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  2412. self._error("Serial connection closed")
  2413. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  2414. raise error(self.warn_prefix + (msg % params))
  2415. error: mcu 'mcu': Serial connection closed
  2416. mcu 'mcu': Timeout on connect
  2417. mcu 'mcu': Wait for identify_response
  2418. Traceback (most recent call last):
  2419. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  2420. params = self.send_with_response(msg, 'identify_response')
  2421. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  2422. return src.get_response([cmd], self.default_cmd_queue)
  2423. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  2424. cmd_queue)
  2425. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  2426. self._error("Serial connection closed")
  2427. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  2428. raise error(self.warn_prefix + (msg % params))
  2429. error: mcu 'mcu': Serial connection closed
  2430. mcu 'mcu': Timeout on connect
  2431. mcu 'mcu': Wait for identify_response
  2432. Traceback (most recent call last):
  2433. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  2434. params = self.send_with_response(msg, 'identify_response')
  2435. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  2436. return src.get_response([cmd], self.default_cmd_queue)
  2437. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  2438. cmd_queue)
  2439. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  2440. self._error("Serial connection closed")
  2441. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  2442. raise error(self.warn_prefix + (msg % params))
  2443. error: mcu 'mcu': Serial connection closed
  2444. mcu 'mcu': Timeout on connect
  2445. mcu 'mcu': Wait for identify_response
  2446. Traceback (most recent call last):
  2447. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  2448. params = self.send_with_response(msg, 'identify_response')
  2449. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  2450. return src.get_response([cmd], self.default_cmd_queue)
  2451. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  2452. cmd_queue)
  2453. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  2454. self._error("Serial connection closed")
  2455. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  2456. raise error(self.warn_prefix + (msg % params))
  2457. error: mcu 'mcu': Serial connection closed
  2458. mcu 'mcu': Timeout on connect
  2459. MCU error during connect
  2460. Traceback (most recent call last):
  2461. File "/home/pi/klipper/klippy/klippy.py", line 176, in _connect
  2462. self.send_event("klippy:mcu_identify")
  2463. File "/home/pi/klipper/klippy/klippy.py", line 263, in send_event
  2464. return [cb(*params) for cb in self.event_handlers.get(event, [])]
  2465. File "/home/pi/klipper/klippy/mcu.py", line 782, in _mcu_identify
  2466. raise error(str(e))
  2467. error: mcu 'mcu': Unable to connect
  2468. Build file /home/pi/klipper/klippy/../.config(1859): Thu Oct 13 10:49:13 2022
  2469. ========= Last MCU build config =========
  2470. # CONFIG_LOW_LEVEL_OPTIONS is not set
  2471. # CONFIG_MACH_AVR is not set
  2472. # CONFIG_MACH_ATSAM is not set
  2473. # CONFIG_MACH_ATSAMD is not set
  2474. # CONFIG_MACH_LPC176X is not set
  2475. CONFIG_MACH_STM32=y
  2476. # CONFIG_MACH_RP2040 is not set
  2477. # CONFIG_MACH_PRU is not set
  2478. # CONFIG_MACH_LINUX is not set
  2479. # CONFIG_MACH_SIMU is not set
  2480. CONFIG_BOARD_DIRECTORY="stm32"
  2481. CONFIG_MCU="stm32g0b1xx"
  2482. CONFIG_CLOCK_FREQ=64000000
  2483. CONFIG_USBSERIAL=y
  2484. CONFIG_FLASH_START=0x8002000
  2485. CONFIG_FLASH_SIZE=0x20000
  2486. CONFIG_RAM_START=0x20000000
  2487. CONFIG_RAM_SIZE=0x24000
  2488. CONFIG_STACK_SIZE=512
  2489. CONFIG_STM32_SELECT=y
  2490. # CONFIG_MACH_STM32F103 is not set
  2491. # CONFIG_MACH_STM32F207 is not set
  2492. # CONFIG_MACH_STM32F401 is not set
  2493. # CONFIG_MACH_STM32F405 is not set
  2494. # CONFIG_MACH_STM32F407 is not set
  2495. # CONFIG_MACH_STM32F429 is not set
  2496. # CONFIG_MACH_STM32F446 is not set
  2497. # CONFIG_MACH_STM32F031 is not set
  2498. # CONFIG_MACH_STM32F042 is not set
  2499. # CONFIG_MACH_STM32F070 is not set
  2500. # CONFIG_MACH_STM32F072 is not set
  2501. CONFIG_MACH_STM32G0B1=y
  2502. # CONFIG_MACH_STM32H743 is not set
  2503. # CONFIG_MACH_STM32H750 is not set
  2504. CONFIG_MACH_STM32G0=y
  2505. CONFIG_HAVE_STM32_USBFS=y
  2506. CONFIG_HAVE_STM32_FDCANBUS=y
  2507. CONFIG_HAVE_STM32_USBCANBUS=y
  2508. CONFIG_STM32_FLASH_START_2000=y
  2509. # CONFIG_STM32_FLASH_START_0000 is not set
  2510. CONFIG_CLOCK_REF_FREQ=8000000
  2511. CONFIG_STM32F0_TRIM=16
  2512. CONFIG_STM32_USB_PA11_PA12=y
  2513. # CONFIG_STM32_SERIAL_USART1 is not set
  2514. # CONFIG_STM32_CANBUS_PA11_PA12 is not set
  2515. # CONFIG_STM32_MMENU_CANBUS_PB0_PB1 is not set
  2516. # CONFIG_STM32_USBCANBUS_PA11_PA12 is not set
  2517. CONFIG_USB_VENDOR_ID=0x1d50
  2518. CONFIG_USB_DEVICE_ID=0x614e
  2519. CONFIG_USB_SERIAL_NUMBER_CHIPID=y
  2520. CONFIG_USB_SERIAL_NUMBER="12345"
  2521. CONFIG_CANBUS_FREQUENCY=500000
  2522. CONFIG_HAVE_GPIO=y
  2523. CONFIG_HAVE_GPIO_ADC=y
  2524. CONFIG_HAVE_GPIO_SPI=y
  2525. CONFIG_HAVE_GPIO_I2C=y
  2526. CONFIG_HAVE_GPIO_BITBANGING=y
  2527. CONFIG_HAVE_STRICT_TIMING=y
  2528. CONFIG_HAVE_CHIPID=y
  2529. CONFIG_HAVE_STEPPER_BOTH_EDGE=y
  2530. CONFIG_INLINE_STEPPER_HACK=y
  2531. =======================
  2532. Build file /home/pi/klipper/klippy/../out/klipper.dict(7149): Thu Oct 13 10:50:21 2022
  2533. Last MCU build version: v0.10.0-515-g24a1b50e
  2534. Last MCU build tools: gcc: (15:8-2019-q3-1+b1) 8.3.1 20190703 (release) [gcc-8-branch revision 273027] binutils: (2.34-4+rpi1+14) 2.34
  2535. Last MCU build config: BUS_PINS_i2c1=PB6,PB7 BUS_PINS_spi2a=PC2,PC3,PB10 BUS_PINS_i2c1a=PF1,PF0 STEPPER_BOTH_EDGE=1 ADC_MAX=4095 RESERVE_PINS_crystal=PF0,PF1 BUS_PINS_spi3=PB4,PB5,PB3 BUS_PINS_spi2=PB14,PB15,PB13 BUS_PINS_spi1=PA6,PA7,PA5 RESERVE_PINS_USB=PA11,PA12 MCU=stm32g0b1xx STATS_SUMSQ_BASE=256 BUS_PINS_spi1a=PB4,PB5,PB3 CLOCK_FREQ=64000000
  2536. Build file /home/pi/klipper/klippy/../out/klipper.elf(1004608): Thu Oct 13 10:50:27 2022
  2537. mcu 'mcu': Wait for identify_response
  2538. Traceback (most recent call last):
  2539. File "/home/pi/klipper/klippy/serialhdl.py", line 68, in _get_identify_data
  2540. params = self.send_with_response(msg, 'identify_response')
  2541. File "/home/pi/klipper/klippy/serialhdl.py", line 259, in send_with_response
  2542. return src.get_response([cmd], self.default_cmd_queue)
  2543. File "/home/pi/klipper/klippy/serialhdl.py", line 317, in get_response
  2544. cmd_queue)
  2545. File "/home/pi/klipper/klippy/serialhdl.py", line 251, in raw_send_wait_ack
  2546. self._error("Serial connection closed")
  2547. File "/home/pi/klipper/klippy/serialhdl.py", line 61, in _error
  2548. raise error(self.warn_prefix + (msg % params))
  2549. error: mcu 'mcu': Serial connection closed
  2550. Unable to issue reset command on MCU 'mcu'
  2551. webhooks client 3042392224: Disconnected
  2552. Restarting printer
  2553. Start printer at Thu Oct 13 11:40:22 2022 (1665657622.5 3455.7)
  2554. ===== Config file =====
  2555. [stepper_x]
  2556. step_pin = PB13
  2557. dir_pin = !PB12
  2558. enable_pin = !PB14
  2559. microsteps = 16
  2560. rotation_distance = 40
  2561. endstop_pin = ^PC0
  2562. position_endstop = 0
  2563. position_max = 235
  2564. homing_speed = 50
  2565.  
  2566. [tmc2209 stepper_x]
  2567. uart_pin = PC11
  2568. tx_pin = PC10
  2569. uart_address = 0
  2570. run_current = 0.580
  2571. stealthchop_threshold = 999999
  2572.  
  2573. [stepper_y]
  2574. step_pin = PB10
  2575. dir_pin = !PB2
  2576. enable_pin = !PB11
  2577. microsteps = 16
  2578. rotation_distance = 40
  2579. endstop_pin = ^PC1
  2580. position_endstop = 0
  2581. position_max = 235
  2582. homing_speed = 50
  2583.  
  2584. [tmc2209 stepper_y]
  2585. uart_pin = PC11
  2586. tx_pin = PC10
  2587. uart_address = 2
  2588. run_current = 0.580
  2589. stealthchop_threshold = 999999
  2590.  
  2591. [stepper_z]
  2592. step_pin = PB0
  2593. dir_pin = PC5
  2594. enable_pin = !PB1
  2595. microsteps = 16
  2596. rotation_distance = 8
  2597. endstop_pin = ^PC2
  2598. position_endstop = 0.0
  2599. position_max = 250
  2600.  
  2601. [tmc2209 stepper_z]
  2602. uart_pin = PC11
  2603. tx_pin = PC10
  2604. uart_address = 1
  2605. run_current = 0.580
  2606. stealthchop_threshold = 999999
  2607.  
  2608. [extruder]
  2609. step_pin = PB3
  2610. dir_pin = !PB4
  2611. enable_pin = !PD1
  2612. microsteps = 16
  2613. rotation_distance = 33.500
  2614. nozzle_diameter = 0.400
  2615. filament_diameter = 1.750
  2616. heater_pin = PC8
  2617. sensor_type = EPCOS 100K B57560G104F
  2618. sensor_pin = PA0
  2619. control = pid
  2620. pid_kp = 21.527
  2621. pid_ki = 1.063
  2622. pid_kd = 108.982
  2623. min_temp = 0
  2624. max_temp = 250
  2625.  
  2626. [tmc2209 extruder]
  2627. uart_pin = PC11
  2628. tx_pin = PC10
  2629. uart_address = 3
  2630. run_current = 0.650
  2631. stealthchop_threshold = 999999
  2632.  
  2633. [heater_bed]
  2634. heater_pin = PC9
  2635. sensor_type = ATC Semitec 104GT-2
  2636. sensor_pin = PC4
  2637. control = pid
  2638. pid_kp = 54.027
  2639. pid_ki = 0.770
  2640. pid_kd = 948.182
  2641. min_temp = 0
  2642. max_temp = 130
  2643.  
  2644. [heater_fan nozzle_cooling_fan]
  2645. pin = PC7
  2646.  
  2647. [heater_fan controller_fan]
  2648. pin = PB15
  2649.  
  2650. [fan]
  2651. pin = PC6
  2652.  
  2653. [mcu]
  2654. serial = /dev/ttyAMA0
  2655. restart_method = command
  2656.  
  2657. [printer]
  2658. kinematics = cartesian
  2659. max_velocity = 300
  2660. max_accel = 3000
  2661. max_z_velocity = 5
  2662. max_z_accel = 100
  2663.  
  2664. [board_pins]
  2665. aliases =
  2666. EXP1_1=PB5, EXP1_3=PA9, EXP1_5=PA10, EXP1_7=PB8, EXP1_9=<GND>,
  2667. EXP1_2=PA15, EXP1_4=<RST>, EXP1_6=PB9, EXP1_8=PD6, EXP1_10=<5V>
  2668. =======================
  2669. Extruder max_extrude_ratio=0.266081
  2670. mcu 'mcu': Starting serial connect
  2671. webhooks client 3044636672: New connection
  2672. webhooks client 3044636672: Client info {'program': 'Moonraker', 'version': 'v0.7.1-597-gd37f91c'}
  2673.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement