Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Starting Klippy...
- Args: ['/home/pi/klipper/klippy/klippy.py', '/home/pi/klipper_config/printer.cfg', '-I', '/tmp/printer', '-l', '/home/pi/klipper_logs/klippy.log', '-a', '/tmp/klippy_uds']
- Git version: 'v0.10.0-494-gd3c4ba48'
- CPU: 4 core ARMv7 Processor rev 3 (v7l)
- Python: '2.7.18 (default, Jul 14 2021, 08:11:37) \n[GCC 10.2.1 20210110]'
- Building C code module c_helper.so
- Start printer at Tue Jun 21 14:23:08 2022 (1655846588.3 486.8)
- ===== Config file =====
- [mcu]
- serial = /dev/serial/by-id/<your-mcu-id>
- [printer]
- kinematics = none
- max_velocity = 1000
- max_accel = 1000
- =======================
- mcu 'mcu': Starting serial connect
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/<your-mcu-id>: [Errno 2] No such file or directory: '/dev/serial/by-id/<your-mcu-id>'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/<your-mcu-id>: [Errno 2] No such file or directory: '/dev/serial/by-id/<your-mcu-id>'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/<your-mcu-id>: [Errno 2] No such file or directory: '/dev/serial/by-id/<your-mcu-id>'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/<your-mcu-id>: [Errno 2] No such file or directory: '/dev/serial/by-id/<your-mcu-id>'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/<your-mcu-id>: [Errno 2] No such file or directory: '/dev/serial/by-id/<your-mcu-id>'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/<your-mcu-id>: [Errno 2] No such file or directory: '/dev/serial/by-id/<your-mcu-id>'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/<your-mcu-id>: [Errno 2] No such file or directory: '/dev/serial/by-id/<your-mcu-id>'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/<your-mcu-id>: [Errno 2] No such file or directory: '/dev/serial/by-id/<your-mcu-id>'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/<your-mcu-id>: [Errno 2] No such file or directory: '/dev/serial/by-id/<your-mcu-id>'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/<your-mcu-id>: [Errno 2] No such file or directory: '/dev/serial/by-id/<your-mcu-id>'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/<your-mcu-id>: [Errno 2] No such file or directory: '/dev/serial/by-id/<your-mcu-id>'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/<your-mcu-id>: [Errno 2] No such file or directory: '/dev/serial/by-id/<your-mcu-id>'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/<your-mcu-id>: [Errno 2] No such file or directory: '/dev/serial/by-id/<your-mcu-id>'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/<your-mcu-id>: [Errno 2] No such file or directory: '/dev/serial/by-id/<your-mcu-id>'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/<your-mcu-id>: [Errno 2] No such file or directory: '/dev/serial/by-id/<your-mcu-id>'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/<your-mcu-id>: [Errno 2] No such file or directory: '/dev/serial/by-id/<your-mcu-id>'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/<your-mcu-id>: [Errno 2] No such file or directory: '/dev/serial/by-id/<your-mcu-id>'
- mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/<your-mcu-id>: [Errno 2] No such file or directory: '/dev/serial/by-id/<your-mcu-id>'
- MCU error during connect
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/klippy.py", line 176, in _connect
- self.send_event("klippy:mcu_identify")
- File "/home/pi/klipper/klippy/klippy.py", line 264, in send_event
- return [cb(*params) for cb in self.event_handlers.get(event, [])]
- File "/home/pi/klipper/klippy/mcu.py", line 779, in _mcu_identify
- raise error(str(e))
- error: mcu 'mcu': Unable to connect
- No build file /home/pi/klipper/klippy/../.config
- No build file /home/pi/klipper/klippy/../out/klipper.dict
- No build file /home/pi/klipper/klippy/../out/klipper.elf
- webhooks client 3042978792: New connection
- webhooks client 3042978792: Client info {'program': 'Moonraker', 'version': 'v0.7.1-589-g4bed314'}
- Attempting MCU 'mcu' reset
- Unhandled exception during post run
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/klippy.py", line 235, in run
- m.microcontroller_restart()
- File "/home/pi/klipper/klippy/mcu.py", line 922, in microcontroller_restart
- self._restart_arduino()
- File "/home/pi/klipper/klippy/mcu.py", line 884, in _restart_arduino
- serialhdl.arduino_reset(self._serialport, self._reactor)
- File "/home/pi/klipper/klippy/serialhdl.py", line 376, in arduino_reset
- ser = serial.Serial(serialport, 2400, timeout=0, exclusive=True)
- File "/home/pi/klippy-env/lib/python2.7/site-packages/serial/serialutil.py", line 240, in __init__
- self.open()
- File "/home/pi/klippy-env/lib/python2.7/site-packages/serial/serialposix.py", line 268, in open
- raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
- SerialException: [Errno 2] could not open port /dev/serial/by-id/<your-mcu-id>: [Errno 2] No such file or directory: '/dev/serial/by-id/<your-mcu-id>'
- Restarting printer
- Start printer at Tue Jun 21 14:31:54 2022 (1655847114.1 1012.6)
- ===== Config file =====
- [virtual_sdcard]
- path = /home/pi/gcode_files
- [pause_resume]
- [display_status]
- [gcode_macro CANCEL_PRINT]
- description = Cancel the actual running print
- rename_existing = CANCEL_PRINT_BASE
- gcode =
- TURN_OFF_HEATERS
- CANCEL_PRINT_BASE
- [gcode_macro PAUSE]
- description = Pause the actual running print
- rename_existing = PAUSE_BASE
- variable_extrude = 1.0
- gcode =
- {% set E = printer["gcode_macro PAUSE"].extrude|float %}
- {% set x_park = printer.toolhead.axis_maximum.x|float - 5.0 %}
- {% set y_park = printer.toolhead.axis_maximum.y|float - 5.0 %}
- {% set max_z = printer.toolhead.axis_maximum.z|float %}
- {% set act_z = printer.toolhead.position.z|float %}
- {% if act_z < (max_z - 2.0) %}
- {% set z_safe = 2.0 %}
- {% else %}
- {% set z_safe = max_z - act_z %}
- {% endif %}
- PAUSE_BASE
- G91
- {% if printer.extruder.can_extrude|lower == 'true' %}
- G1 E-{E} F2100
- {% else %}
- {action_respond_info("Extruder not hot enough")}
- {% endif %}
- {% if "xyz" in printer.toolhead.homed_axes %}
- G1 Z{z_safe} F900
- G90
- G1 X{x_park} Y{y_park} F6000
- {% else %}
- {action_respond_info("Printer not homed")}
- {% endif %}
- [gcode_macro RESUME]
- description = Resume the actual running print
- rename_existing = RESUME_BASE
- gcode =
- {% set E = printer["gcode_macro PAUSE"].extrude|float %}
- {% if 'VELOCITY' in params|upper %}
- {% set get_params = ('VELOCITY=' + params.VELOCITY) %}
- {%else %}
- {% set get_params = "" %}
- {% endif %}
- {% if printer.extruder.can_extrude|lower == 'true' %}
- G91
- G1 E{E} F2100
- {% else %}
- {action_respond_info("Extruder not hot enough")}
- {% endif %}
- RESUME_BASE {get_params}
- [mcu]
- serial = /dev/ttyAMA0
- [printer]
- kinematics = none
- max_velocity = 1000
- max_accel = 1000
- =======================
- mcu 'mcu': Starting serial connect
- Starting Klippy...
- Args: ['/home/pi/klipper/klippy/klippy.py', '/home/pi/klipper_config/printer.cfg', '-I', '/tmp/printer', '-l', '/home/pi/klipper_logs/klippy.log', '-a', '/tmp/klippy_uds']
- Git version: 'v0.10.0-494-gd3c4ba48'
- CPU: 4 core ARMv7 Processor rev 3 (v7l)
- Python: '2.7.18 (default, Jul 14 2021, 08:11:37) \n[GCC 10.2.1 20210110]'
- Start printer at Tue Jun 21 14:33:24 2022 (1655847204.2 9.0)
- ===== Config file =====
- [virtual_sdcard]
- path = /home/pi/gcode_files
- [pause_resume]
- [display_status]
- [gcode_macro CANCEL_PRINT]
- description = Cancel the actual running print
- rename_existing = CANCEL_PRINT_BASE
- gcode =
- TURN_OFF_HEATERS
- CANCEL_PRINT_BASE
- [gcode_macro PAUSE]
- description = Pause the actual running print
- rename_existing = PAUSE_BASE
- variable_extrude = 1.0
- gcode =
- {% set E = printer["gcode_macro PAUSE"].extrude|float %}
- {% set x_park = printer.toolhead.axis_maximum.x|float - 5.0 %}
- {% set y_park = printer.toolhead.axis_maximum.y|float - 5.0 %}
- {% set max_z = printer.toolhead.axis_maximum.z|float %}
- {% set act_z = printer.toolhead.position.z|float %}
- {% if act_z < (max_z - 2.0) %}
- {% set z_safe = 2.0 %}
- {% else %}
- {% set z_safe = max_z - act_z %}
- {% endif %}
- PAUSE_BASE
- G91
- {% if printer.extruder.can_extrude|lower == 'true' %}
- G1 E-{E} F2100
- {% else %}
- {action_respond_info("Extruder not hot enough")}
- {% endif %}
- {% if "xyz" in printer.toolhead.homed_axes %}
- G1 Z{z_safe} F900
- G90
- G1 X{x_park} Y{y_park} F6000
- {% else %}
- {action_respond_info("Printer not homed")}
- {% endif %}
- [gcode_macro RESUME]
- description = Resume the actual running print
- rename_existing = RESUME_BASE
- gcode =
- {% set E = printer["gcode_macro PAUSE"].extrude|float %}
- {% if 'VELOCITY' in params|upper %}
- {% set get_params = ('VELOCITY=' + params.VELOCITY) %}
- {%else %}
- {% set get_params = "" %}
- {% endif %}
- {% if printer.extruder.can_extrude|lower == 'true' %}
- G91
- G1 E{E} F2100
- {% else %}
- {action_respond_info("Extruder not hot enough")}
- {% endif %}
- RESUME_BASE {get_params}
- [mcu]
- serial = /dev/ttyAMA0
- [printer]
- kinematics = none
- max_velocity = 1000
- max_accel = 1000
- =======================
- mcu 'mcu': Starting serial connect
- webhooks client 3042954256: New connection
- webhooks client 3042954256: Client info {'program': 'Moonraker', 'version': 'v0.7.1-589-g4bed314'}
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- Got error -1 in read: (11)Resource temporarily unavailable
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- MCU error during connect
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/klippy.py", line 176, in _connect
- self.send_event("klippy:mcu_identify")
- File "/home/pi/klipper/klippy/klippy.py", line 264, in send_event
- return [cb(*params) for cb in self.event_handlers.get(event, [])]
- File "/home/pi/klipper/klippy/mcu.py", line 779, in _mcu_identify
- raise error(str(e))
- error: mcu 'mcu': Unable to connect
- Build file /home/pi/klipper/klippy/../.config(2447): Tue Jun 21 14:30:10 2022
- ========= Last MCU build config =========
- CONFIG_LOW_LEVEL_OPTIONS=y
- # CONFIG_MACH_AVR is not set
- # CONFIG_MACH_ATSAM is not set
- # CONFIG_MACH_ATSAMD is not set
- # CONFIG_MACH_LPC176X is not set
- CONFIG_MACH_STM32=y
- # CONFIG_MACH_RP2040 is not set
- # CONFIG_MACH_PRU is not set
- # CONFIG_MACH_LINUX is not set
- # CONFIG_MACH_SIMU is not set
- CONFIG_BOARD_DIRECTORY="stm32"
- CONFIG_MCU="stm32f446xx"
- CONFIG_CLOCK_FREQ=180000000
- CONFIG_SERIAL=y
- CONFIG_FLASH_START=0x8008000
- CONFIG_FLASH_SIZE=0x80000
- CONFIG_RAM_START=0x20000000
- CONFIG_RAM_SIZE=0x20000
- CONFIG_STACK_SIZE=512
- CONFIG_STM32_SELECT=y
- # CONFIG_MACH_STM32F103 is not set
- # CONFIG_MACH_STM32F207 is not set
- # CONFIG_MACH_STM32F401 is not set
- # CONFIG_MACH_STM32F405 is not set
- # CONFIG_MACH_STM32F407 is not set
- # CONFIG_MACH_STM32F429 is not set
- CONFIG_MACH_STM32F446=y
- # CONFIG_MACH_STM32F031 is not set
- # CONFIG_MACH_STM32F042 is not set
- # CONFIG_MACH_STM32F070 is not set
- # CONFIG_MACH_STM32F072 is not set
- # CONFIG_MACH_STM32G0B1 is not set
- # CONFIG_MACH_STM32H743 is not set
- # CONFIG_MACH_STM32H750 is not set
- CONFIG_MACH_STM32F4=y
- CONFIG_HAVE_STM32_USBOTG=y
- CONFIG_HAVE_STM32_CANBUS=y
- CONFIG_STM32_FLASH_START_8000=y
- # CONFIG_STM32_FLASH_START_10000 is not set
- # CONFIG_STM32_FLASH_START_0000 is not set
- # CONFIG_STM32_CLOCK_REF_8M is not set
- CONFIG_STM32_CLOCK_REF_12M=y
- # CONFIG_STM32_CLOCK_REF_16M is not set
- # CONFIG_STM32_CLOCK_REF_25M is not set
- # CONFIG_STM32_CLOCK_REF_INTERNAL is not set
- CONFIG_CLOCK_REF_FREQ=12000000
- CONFIG_STM32F0_TRIM=16
- # CONFIG_STM32_USB_PA11_PA12 is not set
- # CONFIG_STM32_SERIAL_USART1 is not set
- # CONFIG_STM32_SERIAL_USART1_ALT_PB7_PB6 is not set
- # CONFIG_STM32_SERIAL_USART2 is not set
- CONFIG_STM32_SERIAL_USART2_ALT_PD6_PD5=y
- # CONFIG_STM32_SERIAL_USART3 is not set
- # CONFIG_STM32_SERIAL_USART3_ALT_PD9_PD8 is not set
- # CONFIG_STM32_CANBUS_PA11_PA12 is not set
- # CONFIG_STM32_CANBUS_PB8_PB9 is not set
- # CONFIG_STM32_CANBUS_PI9_PH13 is not set
- # CONFIG_STM32_CANBUS_PB5_PB6 is not set
- # CONFIG_STM32_CANBUS_PB12_PB13 is not set
- # CONFIG_STM32_CANBUS_PD0_PD1 is not set
- CONFIG_SERIAL_BAUD=250000
- CONFIG_USB_VENDOR_ID=0x1d50
- CONFIG_USB_DEVICE_ID=0x614e
- CONFIG_USB_SERIAL_NUMBER="12345"
- CONFIG_CANBUS_FREQUENCY=500000
- CONFIG_INITIAL_PINS=""
- CONFIG_HAVE_GPIO=y
- CONFIG_HAVE_GPIO_ADC=y
- CONFIG_HAVE_GPIO_SPI=y
- CONFIG_HAVE_GPIO_I2C=y
- CONFIG_HAVE_GPIO_HARD_PWM=y
- CONFIG_HAVE_GPIO_BITBANGING=y
- CONFIG_HAVE_STRICT_TIMING=y
- CONFIG_HAVE_CHIPID=y
- CONFIG_HAVE_STEPPER_BOTH_EDGE=y
- CONFIG_INLINE_STEPPER_HACK=y
- =======================
- Build file /home/pi/klipper/klippy/../out/klipper.dict(7769): Tue Jun 21 14:30:26 2022
- Last MCU build version: v0.10.0-494-gd3c4ba48
- 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
- Last MCU build config: BUS_PINS_i2c1=PB6,PB7 RECEIVE_WINDOW=192 BUS_PINS_i2c3=PA8,PC9 BUS_PINS_i2c2=PB10,PB11 BUS_PINS_spi3a=PC11,PC12,PC10 RESERVE_PINS_serial=PD6,PD5 BUS_PINS_spi2a=PC2,PC3,PB10 BUS_PINS_i2c1a=PB8,PB9 RESERVE_PINS_crystal=PH0,PH1 STEPPER_BOTH_EDGE=1 SERIAL_BAUD=250000 ADC_MAX=4095 BUS_PINS_spi4=PE13,PE14,PE12 BUS_PINS_spi3=PB4,PB5,PB3 BUS_PINS_spi2=PB14,PB15,PB13 BUS_PINS_spi1=PA6,PA7,PA5 PWM_MAX=255 MCU=stm32f446xx STATS_SUMSQ_BASE=256 BUS_PINS_spi1a=PB4,PB5,PB3 CLOCK_FREQ=180000000
- Build file /home/pi/klipper/klippy/../out/klipper.elf(1189532): Tue Jun 21 14:30:33 2022
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- Attempting MCU 'mcu' reset
- webhooks client 3042954256: Disconnected
- Restarting printer
- Start printer at Tue Jun 21 14:39:18 2022 (1655847558.6 234.7)
- ===== Config file =====
- [virtual_sdcard]
- path = /home/pi/gcode_files
- [pause_resume]
- [display_status]
- [gcode_macro CANCEL_PRINT]
- description = Cancel the actual running print
- rename_existing = CANCEL_PRINT_BASE
- gcode =
- TURN_OFF_HEATERS
- CANCEL_PRINT_BASE
- [gcode_macro PAUSE]
- description = Pause the actual running print
- rename_existing = PAUSE_BASE
- variable_extrude = 1.0
- gcode =
- {% set E = printer["gcode_macro PAUSE"].extrude|float %}
- {% set x_park = printer.toolhead.axis_maximum.x|float - 5.0 %}
- {% set y_park = printer.toolhead.axis_maximum.y|float - 5.0 %}
- {% set max_z = printer.toolhead.axis_maximum.z|float %}
- {% set act_z = printer.toolhead.position.z|float %}
- {% if act_z < (max_z - 2.0) %}
- {% set z_safe = 2.0 %}
- {% else %}
- {% set z_safe = max_z - act_z %}
- {% endif %}
- PAUSE_BASE
- G91
- {% if printer.extruder.can_extrude|lower == 'true' %}
- G1 E-{E} F2100
- {% else %}
- {action_respond_info("Extruder not hot enough")}
- {% endif %}
- {% if "xyz" in printer.toolhead.homed_axes %}
- G1 Z{z_safe} F900
- G90
- G1 X{x_park} Y{y_park} F6000
- {% else %}
- {action_respond_info("Printer not homed")}
- {% endif %}
- [gcode_macro RESUME]
- description = Resume the actual running print
- rename_existing = RESUME_BASE
- gcode =
- {% set E = printer["gcode_macro PAUSE"].extrude|float %}
- {% if 'VELOCITY' in params|upper %}
- {% set get_params = ('VELOCITY=' + params.VELOCITY) %}
- {%else %}
- {% set get_params = "" %}
- {% endif %}
- {% if printer.extruder.can_extrude|lower == 'true' %}
- G91
- G1 E{E} F2100
- {% else %}
- {action_respond_info("Extruder not hot enough")}
- {% endif %}
- RESUME_BASE {get_params}
- [mcu]
- serial = /dev/ttyAMA0
- restart_method = command
- [printer]
- kinematics = none
- max_velocity = 1000
- max_accel = 1000
- =======================
- mcu 'mcu': Starting serial connect
- webhooks client 3042786880: New connection
- webhooks client 3042786880: Client info {'program': 'Moonraker', 'version': 'v0.7.1-589-g4bed314'}
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- Starting Klippy...
- Args: ['/home/pi/klipper/klippy/klippy.py', '/home/pi/klipper_config/printer.cfg', '-I', '/tmp/printer', '-l', '/home/pi/klipper_logs/klippy.log', '-a', '/tmp/klippy_uds']
- Git version: 'v0.10.0-494-gd3c4ba48'
- CPU: 4 core ARMv7 Processor rev 3 (v7l)
- Python: '2.7.18 (default, Jul 14 2021, 08:11:37) \n[GCC 10.2.1 20210110]'
- Start printer at Tue Jun 21 14:37:23 2022 (1655847443.3 9.0)
- ===== Config file =====
- [virtual_sdcard]
- path = /home/pi/gcode_files
- [pause_resume]
- [display_status]
- [gcode_macro CANCEL_PRINT]
- description = Cancel the actual running print
- rename_existing = CANCEL_PRINT_BASE
- gcode =
- TURN_OFF_HEATERS
- CANCEL_PRINT_BASE
- [gcode_macro PAUSE]
- description = Pause the actual running print
- rename_existing = PAUSE_BASE
- variable_extrude = 1.0
- gcode =
- {% set E = printer["gcode_macro PAUSE"].extrude|float %}
- {% set x_park = printer.toolhead.axis_maximum.x|float - 5.0 %}
- {% set y_park = printer.toolhead.axis_maximum.y|float - 5.0 %}
- {% set max_z = printer.toolhead.axis_maximum.z|float %}
- {% set act_z = printer.toolhead.position.z|float %}
- {% if act_z < (max_z - 2.0) %}
- {% set z_safe = 2.0 %}
- {% else %}
- {% set z_safe = max_z - act_z %}
- {% endif %}
- PAUSE_BASE
- G91
- {% if printer.extruder.can_extrude|lower == 'true' %}
- G1 E-{E} F2100
- {% else %}
- {action_respond_info("Extruder not hot enough")}
- {% endif %}
- {% if "xyz" in printer.toolhead.homed_axes %}
- G1 Z{z_safe} F900
- G90
- G1 X{x_park} Y{y_park} F6000
- {% else %}
- {action_respond_info("Printer not homed")}
- {% endif %}
- [gcode_macro RESUME]
- description = Resume the actual running print
- rename_existing = RESUME_BASE
- gcode =
- {% set E = printer["gcode_macro PAUSE"].extrude|float %}
- {% if 'VELOCITY' in params|upper %}
- {% set get_params = ('VELOCITY=' + params.VELOCITY) %}
- {%else %}
- {% set get_params = "" %}
- {% endif %}
- {% if printer.extruder.can_extrude|lower == 'true' %}
- G91
- G1 E{E} F2100
- {% else %}
- {action_respond_info("Extruder not hot enough")}
- {% endif %}
- RESUME_BASE {get_params}
- [mcu]
- serial = /dev/ttyAMA0
- restart_method = command
- [printer]
- kinematics = none
- max_velocity = 1000
- max_accel = 1000
- =======================
- mcu 'mcu': Starting serial connect
- webhooks client 3043497904: New connection
- webhooks client 3043497904: Client info {'program': 'Moonraker', 'version': 'v0.7.1-589-g4bed314'}
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- MCU error during connect
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/klippy.py", line 176, in _connect
- self.send_event("klippy:mcu_identify")
- File "/home/pi/klipper/klippy/klippy.py", line 264, in send_event
- return [cb(*params) for cb in self.event_handlers.get(event, [])]
- File "/home/pi/klipper/klippy/mcu.py", line 779, in _mcu_identify
- raise error(str(e))
- error: mcu 'mcu': Unable to connect
- Build file /home/pi/klipper/klippy/../.config(2447): Tue Jun 21 14:30:10 2022
- ========= Last MCU build config =========
- CONFIG_LOW_LEVEL_OPTIONS=y
- # CONFIG_MACH_AVR is not set
- # CONFIG_MACH_ATSAM is not set
- # CONFIG_MACH_ATSAMD is not set
- # CONFIG_MACH_LPC176X is not set
- CONFIG_MACH_STM32=y
- # CONFIG_MACH_RP2040 is not set
- # CONFIG_MACH_PRU is not set
- # CONFIG_MACH_LINUX is not set
- # CONFIG_MACH_SIMU is not set
- CONFIG_BOARD_DIRECTORY="stm32"
- CONFIG_MCU="stm32f446xx"
- CONFIG_CLOCK_FREQ=180000000
- CONFIG_SERIAL=y
- CONFIG_FLASH_START=0x8008000
- CONFIG_FLASH_SIZE=0x80000
- CONFIG_RAM_START=0x20000000
- CONFIG_RAM_SIZE=0x20000
- CONFIG_STACK_SIZE=512
- CONFIG_STM32_SELECT=y
- # CONFIG_MACH_STM32F103 is not set
- # CONFIG_MACH_STM32F207 is not set
- # CONFIG_MACH_STM32F401 is not set
- # CONFIG_MACH_STM32F405 is not set
- # CONFIG_MACH_STM32F407 is not set
- # CONFIG_MACH_STM32F429 is not set
- CONFIG_MACH_STM32F446=y
- # CONFIG_MACH_STM32F031 is not set
- # CONFIG_MACH_STM32F042 is not set
- # CONFIG_MACH_STM32F070 is not set
- # CONFIG_MACH_STM32F072 is not set
- # CONFIG_MACH_STM32G0B1 is not set
- # CONFIG_MACH_STM32H743 is not set
- # CONFIG_MACH_STM32H750 is not set
- CONFIG_MACH_STM32F4=y
- CONFIG_HAVE_STM32_USBOTG=y
- CONFIG_HAVE_STM32_CANBUS=y
- CONFIG_STM32_FLASH_START_8000=y
- # CONFIG_STM32_FLASH_START_10000 is not set
- # CONFIG_STM32_FLASH_START_0000 is not set
- # CONFIG_STM32_CLOCK_REF_8M is not set
- CONFIG_STM32_CLOCK_REF_12M=y
- # CONFIG_STM32_CLOCK_REF_16M is not set
- # CONFIG_STM32_CLOCK_REF_25M is not set
- # CONFIG_STM32_CLOCK_REF_INTERNAL is not set
- CONFIG_CLOCK_REF_FREQ=12000000
- CONFIG_STM32F0_TRIM=16
- # CONFIG_STM32_USB_PA11_PA12 is not set
- # CONFIG_STM32_SERIAL_USART1 is not set
- # CONFIG_STM32_SERIAL_USART1_ALT_PB7_PB6 is not set
- # CONFIG_STM32_SERIAL_USART2 is not set
- CONFIG_STM32_SERIAL_USART2_ALT_PD6_PD5=y
- # CONFIG_STM32_SERIAL_USART3 is not set
- # CONFIG_STM32_SERIAL_USART3_ALT_PD9_PD8 is not set
- # CONFIG_STM32_CANBUS_PA11_PA12 is not set
- # CONFIG_STM32_CANBUS_PB8_PB9 is not set
- # CONFIG_STM32_CANBUS_PI9_PH13 is not set
- # CONFIG_STM32_CANBUS_PB5_PB6 is not set
- # CONFIG_STM32_CANBUS_PB12_PB13 is not set
- # CONFIG_STM32_CANBUS_PD0_PD1 is not set
- CONFIG_SERIAL_BAUD=250000
- CONFIG_USB_VENDOR_ID=0x1d50
- CONFIG_USB_DEVICE_ID=0x614e
- CONFIG_USB_SERIAL_NUMBER="12345"
- CONFIG_CANBUS_FREQUENCY=500000
- CONFIG_INITIAL_PINS=""
- CONFIG_HAVE_GPIO=y
- CONFIG_HAVE_GPIO_ADC=y
- CONFIG_HAVE_GPIO_SPI=y
- CONFIG_HAVE_GPIO_I2C=y
- CONFIG_HAVE_GPIO_HARD_PWM=y
- CONFIG_HAVE_GPIO_BITBANGING=y
- CONFIG_HAVE_STRICT_TIMING=y
- CONFIG_HAVE_CHIPID=y
- CONFIG_HAVE_STEPPER_BOTH_EDGE=y
- CONFIG_INLINE_STEPPER_HACK=y
- =======================
- Build file /home/pi/klipper/klippy/../out/klipper.dict(7769): Tue Jun 21 14:30:26 2022
- Last MCU build version: v0.10.0-494-gd3c4ba48
- 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
- Last MCU build config: BUS_PINS_i2c1=PB6,PB7 RECEIVE_WINDOW=192 BUS_PINS_i2c3=PA8,PC9 BUS_PINS_i2c2=PB10,PB11 BUS_PINS_spi3a=PC11,PC12,PC10 RESERVE_PINS_serial=PD6,PD5 BUS_PINS_spi2a=PC2,PC3,PB10 BUS_PINS_i2c1a=PB8,PB9 RESERVE_PINS_crystal=PH0,PH1 STEPPER_BOTH_EDGE=1 SERIAL_BAUD=250000 ADC_MAX=4095 BUS_PINS_spi4=PE13,PE14,PE12 BUS_PINS_spi3=PB4,PB5,PB3 BUS_PINS_spi2=PB14,PB15,PB13 BUS_PINS_spi1=PA6,PA7,PA5 PWM_MAX=255 MCU=stm32f446xx STATS_SUMSQ_BASE=256 BUS_PINS_spi1a=PB4,PB5,PB3 CLOCK_FREQ=180000000
- Build file /home/pi/klipper/klippy/../out/klipper.elf(1189532): Tue Jun 21 14:30:33 2022
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- Starting Klippy...
- Args: ['/home/pi/klipper/klippy/klippy.py', '/home/pi/klipper_config/printer.cfg', '-I', '/tmp/printer', '-l', '/home/pi/klipper_logs/klippy.log', '-a', '/tmp/klippy_uds']
- Git version: 'v0.10.0-494-gd3c4ba48'
- CPU: 4 core ARMv7 Processor rev 3 (v7l)
- Python: '2.7.18 (default, Jul 14 2021, 08:11:37) \n[GCC 10.2.1 20210110]'
- Start printer at Tue Jun 21 14:41:47 2022 (1655847707.8 9.0)
- ===== Config file =====
- [virtual_sdcard]
- path = /home/pi/gcode_files
- [pause_resume]
- [display_status]
- [gcode_macro CANCEL_PRINT]
- description = Cancel the actual running print
- rename_existing = CANCEL_PRINT_BASE
- gcode =
- TURN_OFF_HEATERS
- CANCEL_PRINT_BASE
- [gcode_macro PAUSE]
- description = Pause the actual running print
- rename_existing = PAUSE_BASE
- variable_extrude = 1.0
- gcode =
- {% set E = printer["gcode_macro PAUSE"].extrude|float %}
- {% set x_park = printer.toolhead.axis_maximum.x|float - 5.0 %}
- {% set y_park = printer.toolhead.axis_maximum.y|float - 5.0 %}
- {% set max_z = printer.toolhead.axis_maximum.z|float %}
- {% set act_z = printer.toolhead.position.z|float %}
- {% if act_z < (max_z - 2.0) %}
- {% set z_safe = 2.0 %}
- {% else %}
- {% set z_safe = max_z - act_z %}
- {% endif %}
- PAUSE_BASE
- G91
- {% if printer.extruder.can_extrude|lower == 'true' %}
- G1 E-{E} F2100
- {% else %}
- {action_respond_info("Extruder not hot enough")}
- {% endif %}
- {% if "xyz" in printer.toolhead.homed_axes %}
- G1 Z{z_safe} F900
- G90
- G1 X{x_park} Y{y_park} F6000
- {% else %}
- {action_respond_info("Printer not homed")}
- {% endif %}
- [gcode_macro RESUME]
- description = Resume the actual running print
- rename_existing = RESUME_BASE
- gcode =
- {% set E = printer["gcode_macro PAUSE"].extrude|float %}
- {% if 'VELOCITY' in params|upper %}
- {% set get_params = ('VELOCITY=' + params.VELOCITY) %}
- {%else %}
- {% set get_params = "" %}
- {% endif %}
- {% if printer.extruder.can_extrude|lower == 'true' %}
- G91
- G1 E{E} F2100
- {% else %}
- {action_respond_info("Extruder not hot enough")}
- {% endif %}
- RESUME_BASE {get_params}
- [mcu]
- serial = /dev/ttyAMA0
- restart_method = command
- [printer]
- kinematics = none
- max_velocity = 1000
- max_accel = 1000
- =======================
- mcu 'mcu': Starting serial connect
- webhooks client 3042879088: New connection
- webhooks client 3042879088: Client info {'program': 'Moonraker', 'version': 'v0.7.1-589-g4bed314'}
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- MCU error during connect
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/klippy.py", line 176, in _connect
- self.send_event("klippy:mcu_identify")
- File "/home/pi/klipper/klippy/klippy.py", line 264, in send_event
- return [cb(*params) for cb in self.event_handlers.get(event, [])]
- File "/home/pi/klipper/klippy/mcu.py", line 779, in _mcu_identify
- raise error(str(e))
- error: mcu 'mcu': Unable to connect
- Build file /home/pi/klipper/klippy/../.config(2447): Tue Jun 21 14:30:10 2022
- ========= Last MCU build config =========
- CONFIG_LOW_LEVEL_OPTIONS=y
- # CONFIG_MACH_AVR is not set
- # CONFIG_MACH_ATSAM is not set
- # CONFIG_MACH_ATSAMD is not set
- # CONFIG_MACH_LPC176X is not set
- CONFIG_MACH_STM32=y
- # CONFIG_MACH_RP2040 is not set
- # CONFIG_MACH_PRU is not set
- # CONFIG_MACH_LINUX is not set
- # CONFIG_MACH_SIMU is not set
- CONFIG_BOARD_DIRECTORY="stm32"
- CONFIG_MCU="stm32f446xx"
- CONFIG_CLOCK_FREQ=180000000
- CONFIG_SERIAL=y
- CONFIG_FLASH_START=0x8008000
- CONFIG_FLASH_SIZE=0x80000
- CONFIG_RAM_START=0x20000000
- CONFIG_RAM_SIZE=0x20000
- CONFIG_STACK_SIZE=512
- CONFIG_STM32_SELECT=y
- # CONFIG_MACH_STM32F103 is not set
- # CONFIG_MACH_STM32F207 is not set
- # CONFIG_MACH_STM32F401 is not set
- # CONFIG_MACH_STM32F405 is not set
- # CONFIG_MACH_STM32F407 is not set
- # CONFIG_MACH_STM32F429 is not set
- CONFIG_MACH_STM32F446=y
- # CONFIG_MACH_STM32F031 is not set
- # CONFIG_MACH_STM32F042 is not set
- # CONFIG_MACH_STM32F070 is not set
- # CONFIG_MACH_STM32F072 is not set
- # CONFIG_MACH_STM32G0B1 is not set
- # CONFIG_MACH_STM32H743 is not set
- # CONFIG_MACH_STM32H750 is not set
- CONFIG_MACH_STM32F4=y
- CONFIG_HAVE_STM32_USBOTG=y
- CONFIG_HAVE_STM32_CANBUS=y
- CONFIG_STM32_FLASH_START_8000=y
- # CONFIG_STM32_FLASH_START_10000 is not set
- # CONFIG_STM32_FLASH_START_0000 is not set
- # CONFIG_STM32_CLOCK_REF_8M is not set
- CONFIG_STM32_CLOCK_REF_12M=y
- # CONFIG_STM32_CLOCK_REF_16M is not set
- # CONFIG_STM32_CLOCK_REF_25M is not set
- # CONFIG_STM32_CLOCK_REF_INTERNAL is not set
- CONFIG_CLOCK_REF_FREQ=12000000
- CONFIG_STM32F0_TRIM=16
- # CONFIG_STM32_USB_PA11_PA12 is not set
- # CONFIG_STM32_SERIAL_USART1 is not set
- # CONFIG_STM32_SERIAL_USART1_ALT_PB7_PB6 is not set
- # CONFIG_STM32_SERIAL_USART2 is not set
- CONFIG_STM32_SERIAL_USART2_ALT_PD6_PD5=y
- # CONFIG_STM32_SERIAL_USART3 is not set
- # CONFIG_STM32_SERIAL_USART3_ALT_PD9_PD8 is not set
- # CONFIG_STM32_CANBUS_PA11_PA12 is not set
- # CONFIG_STM32_CANBUS_PB8_PB9 is not set
- # CONFIG_STM32_CANBUS_PI9_PH13 is not set
- # CONFIG_STM32_CANBUS_PB5_PB6 is not set
- # CONFIG_STM32_CANBUS_PB12_PB13 is not set
- # CONFIG_STM32_CANBUS_PD0_PD1 is not set
- CONFIG_SERIAL_BAUD=250000
- CONFIG_USB_VENDOR_ID=0x1d50
- CONFIG_USB_DEVICE_ID=0x614e
- CONFIG_USB_SERIAL_NUMBER="12345"
- CONFIG_CANBUS_FREQUENCY=500000
- CONFIG_INITIAL_PINS=""
- CONFIG_HAVE_GPIO=y
- CONFIG_HAVE_GPIO_ADC=y
- CONFIG_HAVE_GPIO_SPI=y
- CONFIG_HAVE_GPIO_I2C=y
- CONFIG_HAVE_GPIO_HARD_PWM=y
- CONFIG_HAVE_GPIO_BITBANGING=y
- CONFIG_HAVE_STRICT_TIMING=y
- CONFIG_HAVE_CHIPID=y
- CONFIG_HAVE_STEPPER_BOTH_EDGE=y
- CONFIG_INLINE_STEPPER_HACK=y
- =======================
- Build file /home/pi/klipper/klippy/../out/klipper.dict(7769): Tue Jun 21 14:30:26 2022
- Last MCU build version: v0.10.0-494-gd3c4ba48
- 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
- Last MCU build config: BUS_PINS_i2c1=PB6,PB7 RECEIVE_WINDOW=192 BUS_PINS_i2c3=PA8,PC9 BUS_PINS_i2c2=PB10,PB11 BUS_PINS_spi3a=PC11,PC12,PC10 RESERVE_PINS_serial=PD6,PD5 BUS_PINS_spi2a=PC2,PC3,PB10 BUS_PINS_i2c1a=PB8,PB9 RESERVE_PINS_crystal=PH0,PH1 STEPPER_BOTH_EDGE=1 SERIAL_BAUD=250000 ADC_MAX=4095 BUS_PINS_spi4=PE13,PE14,PE12 BUS_PINS_spi3=PB4,PB5,PB3 BUS_PINS_spi2=PB14,PB15,PB13 BUS_PINS_spi1=PA6,PA7,PA5 PWM_MAX=255 MCU=stm32f446xx STATS_SUMSQ_BASE=256 BUS_PINS_spi1a=PB4,PB5,PB3 CLOCK_FREQ=180000000
- Build file /home/pi/klipper/klippy/../out/klipper.elf(1189532): Tue Jun 21 14:30:33 2022
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
Advertisement
Add Comment
Please, Sign In to add comment