Starting Klippy...
Args: ['/home/octoprint/klipper/klippy/klippy.py', '/home/octoprint/printer.cfg', '-l', '/tmp/klippy.log']
Git version: 'v0.10.0-451-gada571ec'
CPU: 4 core ARMv7 Processor rev 5 (v7l)
Python: '2.7.16 (default, Oct 10 2019, 22:02:15) \n[GCC 8.3.0]'
Start printer at Tue Jun  7 18:21:14 2022 (1654626074.8 7262.4)
===== Config file =====
[mcu]
serial = /dev/serial/by-path/platform-1c1c000.usb-usb-0:1:1.0

[tmc2209 stepper_x]
uart_pin = ar15
run_current = 1.15
hold_current = 0.85

[tmc2209 stepper_y]
uart_pin = ar19
run_current = 1.15
hold_current = 0.85

[stepper_x]
step_pin = ar54
dir_pin = ar55
enable_pin = !ar38
rotation_distance = 16384000
endstop_pin = ^!ar14
position_endstop = 0
position_min = 0
position_max = 210
homing_speed = 15
homing_positive_dir = false
microsteps = 128

[stepper_y]
step_pin = ar60
dir_pin = !ar61
enable_pin = !ar56
rotation_distance = 16384000
microsteps = 128
endstop_pin = ^!ar18
position_endstop = 0
position_max = 210
homing_speed = 15
homing_positive_dir = false

[stepper_z]
step_pin = ar36
dir_pin = ar34
enable_pin = !ar30
rotation_distance = 5120000
endstop_pin = probe:z_virtual_endstop
position_min = -2
position_max = 210
homing_speed = 10
homing_positive_dir = false
microsteps = 32

[probe]
pin = ^ar3
x_offset = 0.0
y_offset = 0.0
z_offset = -1.0
speed = 4.0
samples = 1
sample_retract_dist = 2.0

[bed_mesh]
speed = 50
horizontal_move_z = 5
mesh_min = 50,50
mesh_max = 160, 160
probe_count = 3,3

[adc_temperature my_thermistor]
temperature1 = 20
resistance1 = 94000
temperature2 = 50
resistance2 = 36800
temperature3 = 70
resistance3 = 15400
temperature4 = 90
resistance4 = 8270
temperature5 = 100
resistance5 = 6920
temperature6 = 110
resistance6 = 5690
temperature7 = 120
resistance7 = 4990
temperature8 = 130
resistance8 = 4285
temperature9 = 140
resistance9 = 3700
temperature10 = 150
resistance10 = 3370
temperature11 = 170
resistance11 = 2840
temperature12 = 190
resistance12 = 2555
temperature13 = 210
resistance13 = 2410
temperature14 = 230
resistance14 = 2300
temperature15 = 250
resistance15 = 2220

[adc_temperature my_thermistor2]
temperature1 = 20
resistance1 = 125245
temperature2 = 50
resistance2 = 35899
temperature3 = 70
resistance3 = 17550
temperature4 = 90
resistance4 = 9100
temperature5 = 100
resistance5 = 9710
temperature6 = 110
resistance6 = 5070
temperature7 = 120
resistance7 = 3850
temperature8 = 130
resistance8 = 3600
temperature9 = 140
resistance9 = 3100
temperature10 = 150
resistance10 = 2800
temperature11 = 170
resistance11 = 2600
temperature12 = 190
resistance12 = 2385
temperature13 = 210
resistance13 = 2232
temperature14 = 230
resistance14 = 2183
temperature15 = 250
resistance15 = 2100

[adc_temperature my_thermistor3]
temperature1 = 20
resistance1 = 225245
temperature2 = 250
resistance2 = 90000

[extruder]
step_pin = ar26
dir_pin = !ar28
enable_pin = !ar24
rotation_distance = 1149556
microsteps = 32
nozzle_diameter = 0.300
filament_diameter = 1.7500
instantaneous_corner_velocity = 1.000
max_extrude_only_distance = 500
max_extrude_only_velocity = 50
max_extrude_only_accel = 3000
pressure_advance = 0.0
heater_pin = ar59
sensor_type = my_thermistor2
sensor_pin = analog9
pullup_resistor = 4700
control = pid
pid_kp = 30.081
pid_ki = 1.543
pid_kd = 146.644
pwm_cycle_time = 0.100
min_extrude_temp = 170
min_temp = 0
max_temp = 235

[heater_bed]
heater_pin = ar66
sensor_type = EPCOS 100K B57560G104F
sensor_pin = analog10
control = watermark
min_temp = 0
max_temp = 110

[fan]
pin = ar9

[input_shaper]
shaper_freq_x = 60
shaper_freq_y = 60

[skew_correction]

[printer]
kinematics = corexy
max_velocity = 150
max_accel = 3000
max_accel_to_decel = 1500
max_z_velocity = 15
max_z_accel = 150
square_corner_velocity = 5.0

[display]
lcd_type = hd44780
rs_pin = ar16
e_pin = ar17
d4_pin = ar23
d5_pin = ar25
d6_pin = ar27
d7_pin = ar29
encoder_pins = ^ar33, ^ar31
click_pin = ^!ar35
kill_pin = ^!ar41

[output_pin BEEPER_pin]
pin = ar37
pwm = True
value = 0
shutdown_value = 0
cycle_time = 0.001
scale = 1000

[virtual_sdcard]
path = /home/octoprint/.octoprint/uploads

[firmware_retraction]
retract_length = 1.5
retract_speed = 30
unretract_extra_length = 0
unretract_speed = 30

[gcode_arcs]
resolution = 0.5

[gcode_macro SEARCH_VARS]
gcode = 
	{% set search = params.S|lower %}
	{% set ns = namespace() %}
	{% for item in printer  %}
	{% if ' ' in item %}
	{% set ns.path = ['printer', "['%s']" % (item), ''] %}
	{% else %}
	{% set ns.path = ['printer.', item, ''] %}
	{% endif %}
	{% if search in ns.path|lower %}
	{ action_respond_info(ns.path|join) }
	{% endif %}
	{% if printer[item].items() %}
	{% for childkey, child in printer[item].items() recursive %}
	{% set ns.path = ns.path[:loop.depth|int + 1] %}
	{% if ' ' in childkey %}
	{% set null = ns.path.append("['%s']" % (childkey)) %}
	{% else %}
	{% set null = ns.path.append(".%s" % (childkey)) %}
	{% endif %}
	{% if child is mapping  %}
	{ loop(child.items()) }
	{% else %}
	{% if search in ns.path|lower %}
	{ action_respond_info("%s : %s" % (ns.path|join, child)) }
	{% endif %}
	{% endif %}
	{% endfor %}
	{% endif %}
	{% endfor %}

[gcode_macro BEEP]
gcode = 
	{% set frequency = params.S|default(1000)|float %}
	{% set duration = params.P|default(100)|float %}
	SET_PIN PIN=BEEPER_pin VALUE={frequency}
	G4 P{duration}
	SET_PIN PIN=BEEPER_pin VALUE=0

[gcode_macro START_PRINT]
variable_retract = 3
gcode = 
	{% if not params.PA %}
	{% set PA = printer.configfile.settings.extruder.pressure_advance %}
	{% endif %}
	SET_PRESSURE_ADVANCE ADVANCE={PA}
	{% set extruder_temp = params.EXTRUDER_TEMP|default(185)|float %}
	{% set bed_temp = params.BED_TEMP|default(90)|float %}
	{% set E = printer["gcode_macro START_PRINT"].retract|float %}
	CLEAR_PAUSE
	M220 S100
	M221 S100
	{% if printer.heater_bed.temperature < bed_temp %}
	SET_HEATER_TEMPERATURE HEATER=heater_bed TARGET={bed_temp}
	TEMPERATURE_WAIT SENSOR=heater_bed MINIMUM={bed_temp * 0.75}
	{% endif %}
	{% if printer.homed_axes != 'XYZ' %}
	BEEP
	G28 X0 Y0
	G1  X10 Y10
	G28 Z0
	G1 Z5
	{% endif %}
	{% if printer.extruder.temperature < extruder_temp %}
	goto_brush
	SET_HEATER_TEMPERATURE HEATER=extruder TARGET={extruder_temp}
	TEMPERATURE_WAIT SENSOR=extruder MINIMUM={extruder_temp}
	cleaning_nozzle
	G1 X105 Y105
	G28 Z0
	G1 Z2
	goto_brush
	{% endif %}
	G90
	M82
	G92 E0
	G1 E{E} F1500
	G92 E0

[gcode_macro goto_brush]
gcode = 
	G1   X202  Y140 F5000

[gcode_macro cleaning_nozzle]
gcode = 
	{% if printer.homed_axes != 'XYZ' %}
	BEEP
	G28 X0 Y0
	G1  X10 Y10
	G28 Z0
	G1 Z5
	{% endif %}
	G1   X202  Y140 F5000
	G10
	G1 Z1      Y150
	G1         Y125
	G1         Y150
	G1         Y125
	G1         Y150
	G1         Y125
	G1         Y150
	G1         Y125
	G1 Z3
	G1         Y150 F2000
	G1         Y125
	G1         Y150
	G1         Y125
	G1         Y150
	G1         Y125
	G1  X204   Y135 Z3
	G1  X198
	G1  X204
	G1  X198
	G1  X204
	G1  X198
	G1  X204
	G1  X198
	G1  X202   Y125 Z3
	G10

[gcode_macro END_PRINT]
gcode = 
	G10
	{% set axismax = printer.toolhead.axis_maximum %}
	{% set pos     = printer.toolhead.position     %}
	{% if pos.z <= ( axismax.z - 40 ) %}
	G1 X10 Y10 Z{ pos.z + 40 }
	{% else %}
	G1 X10 Y10 Z{ axismax.z }
	{% endif %}
	M84
	M140 S0
	M104 S0
	M106 S0

[gcode_macro M17]
gcode = 
	{% if 'X' in params %}
	SET_STEPPER_ENABLE STEPPER=stepper_x ENABLE=1
	{% endif %}
	{% if 'Y' in params %}
	SET_STEPPER_ENABLE STEPPER=stepper_y ENABLE=1
	{% endif %}
	{% if 'Z' in params %}
	SET_STEPPER_ENABLE STEPPER=stepper_z ENABLE=1
	{% endif %}
	{% if 'E' in params %}
	SET_STEPPER_ENABLE STEPPER=extruder ENABLE=1
	{% endif %}
	{% if   not 'X' in params
	and not 'Y' in params
	and not 'Z' in params
	and not 'E' in params %}
	SET_STEPPER_ENABLE STEPPER=stepper_x ENABLE=1
	SET_STEPPER_ENABLE STEPPER=stepper_y ENABLE=1
	SET_STEPPER_ENABLE STEPPER=stepper_z ENABLE=1
	SET_STEPPER_ENABLE STEPPER=extruder ENABLE=1
	{% endif %}

[gcode_macro M18]
rename_existing = M18.1
gcode = 
	{% if 'X' in params %}
	SET_STEPPER_ENABLE STEPPER=stepper_x ENABLE=0
	{% endif %}
	{% if  'Y' in params %}
	SET_STEPPER_ENABLE STEPPER=stepper_y ENABLE=0
	{% endif %}
	{% if 'Z' in params %}
	SET_STEPPER_ENABLE STEPPER=stepper_z ENABLE=0
	{% endif %}
	{% if 'E' in params %}
	SET_STEPPER_ENABLE STEPPER=extruder ENABLE=0
	{% endif %}
	{% if   not 'X' in params
	and not 'Y' in params
	and not 'Z' in params
	and not 'E' in params %}
	M84
	{% endif %}

[gcode_macro G29]
gcode = 
	{% if printer.homed_axes != 'XYZ' %}
	G28
	g1 z10
	{% endif %}
	BED_MESH_CALIBRATE
	BED_MESH_PROFILE SAVE=p1

[gcode_macro M204]
rename_existing = M204.1
gcode = 
	{% set factor = params.F|default(0.5)|float %}
	{% if 'S' in params %}
	SET_VELOCITY_LIMIT ACCEL={S} ACCEL_TO_DECEL={ S|float * factor }
	{% else %}
	{% if 'P' in params %}
	{% if 'T' in params %}
	{% if P|int < T|int %}
	SET_VELOCITY_LIMIT ACCEL={P} ACCEL_TO_DECEL={ P|float * factor }
	{% else %}
	SET_VELOCITY_LIMIT ACCEL={T} ACCEL_TO_DECEL={ T|float * factor }
	{% endif %}
	{% else %}
	SET_VELOCITY_LIMIT ACCEL={P} ACCEL_TO_DECEL={ P|float * factor }
	{% endif %}
	{% elif 'T' in params %}
	SET_VELOCITY_LIMIT ACCEL={T} ACCEL_TO_DECEL={ T|float * factor }
	{% endif %}
	{% endif %}

[gcode_macro M207]
gcode = 
	{% if params.S is not defined %}
	{% set S = printer.configfile.settings.firmware_retraction.retract_length|float %}
	{% endif %}
	{% if params.F is not defined %}
	{% set F = printer.configfile.settings.firmware_retraction.retract_speed|float %}
	{% endif %}
	SET_RETRACTION RETRACT_LENGTH={S} RETRACT_SPEED={F}

[gcode_macro M208]
gcode = 
	{% if params.S is not defined %}
	{% set S = printer.configfile.settings.firmware_retraction.unretract_extra_length|float %}
	{% endif %}
	{% if params.F is not defined %}
	{% set F = printer.configfile.settings.firmware_retraction.unretract_speed|float %}
	{% endif %}
	SET_RETRACTION UNRETRACT_EXTRA_LENGTH={S} UNRETRACT_SPEED={F}

[gcode_macro M300]
gcode = 
	BEEP
=======================
Extruder max_extrude_ratio=0.149671
mcu 'mcu': Starting serial connect
mcu 'mcu': Timeout on connect
mcu 'mcu': Wait for identify_response
Traceback (most recent call last):
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
    params = self.send_with_response(msg, 'identify_response')
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 258, in send_with_response
    return src.get_response([cmd], self.default_cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 316, in get_response
    cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
    self._error("Serial connection closed")
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 62, in _error
    raise error(self.warn_prefix + (msg % params))
error: mcu 'mcu': Serial connection closed

Printer is not ready
The klippy host software is attempting to connect.  Please
retry in a few moments.

mcu 'mcu': Timeout on connect
mcu 'mcu': Wait for identify_response
Traceback (most recent call last):
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
    params = self.send_with_response(msg, 'identify_response')
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 258, in send_with_response
    return src.get_response([cmd], self.default_cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 316, in get_response
    cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
    self._error("Serial connection closed")
  File "/home/octoprint/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/octoprint/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
    params = self.send_with_response(msg, 'identify_response')
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 258, in send_with_response
    return src.get_response([cmd], self.default_cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 316, in get_response
    cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
    self._error("Serial connection closed")
  File "/home/octoprint/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/octoprint/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
    params = self.send_with_response(msg, 'identify_response')
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 258, in send_with_response
    return src.get_response([cmd], self.default_cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 316, in get_response
    cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
    self._error("Serial connection closed")
  File "/home/octoprint/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/octoprint/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
    params = self.send_with_response(msg, 'identify_response')
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 258, in send_with_response
    return src.get_response([cmd], self.default_cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 316, in get_response
    cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
    self._error("Serial connection closed")
  File "/home/octoprint/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/octoprint/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
    params = self.send_with_response(msg, 'identify_response')
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 258, in send_with_response
    return src.get_response([cmd], self.default_cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 316, in get_response
    cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
    self._error("Serial connection closed")
  File "/home/octoprint/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/octoprint/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
    params = self.send_with_response(msg, 'identify_response')
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 258, in send_with_response
    return src.get_response([cmd], self.default_cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 316, in get_response
    cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
    self._error("Serial connection closed")
  File "/home/octoprint/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/octoprint/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
    params = self.send_with_response(msg, 'identify_response')
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 258, in send_with_response
    return src.get_response([cmd], self.default_cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 316, in get_response
    cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
    self._error("Serial connection closed")
  File "/home/octoprint/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/octoprint/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
    params = self.send_with_response(msg, 'identify_response')
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 258, in send_with_response
    return src.get_response([cmd], self.default_cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 316, in get_response
    cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
    self._error("Serial connection closed")
  File "/home/octoprint/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/octoprint/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
    params = self.send_with_response(msg, 'identify_response')
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 258, in send_with_response
    return src.get_response([cmd], self.default_cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 316, in get_response
    cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
    self._error("Serial connection closed")
  File "/home/octoprint/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/octoprint/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
    params = self.send_with_response(msg, 'identify_response')
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 258, in send_with_response
    return src.get_response([cmd], self.default_cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 316, in get_response
    cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
    self._error("Serial connection closed")
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 62, in _error
    raise error(self.warn_prefix + (msg % params))
error: mcu 'mcu': Serial connection closed
Restarting printer
Start printer at Tue Jun  7 18:22:17 2022 (1654626137.8 7325.4)
===== Config file =====
[mcu]
serial = /dev/serial/by-id/usb-03eb_6124-if00

[tmc2209 stepper_x]
uart_pin = ar15
run_current = 1.15
hold_current = 0.85

[tmc2209 stepper_y]
uart_pin = ar19
run_current = 1.15
hold_current = 0.85

[stepper_x]
step_pin = ar54
dir_pin = ar55
enable_pin = !ar38
rotation_distance = 16384000
endstop_pin = ^!ar14
position_endstop = 0
position_min = 0
position_max = 210
homing_speed = 15
homing_positive_dir = false
microsteps = 128

[stepper_y]
step_pin = ar60
dir_pin = !ar61
enable_pin = !ar56
rotation_distance = 16384000
microsteps = 128
endstop_pin = ^!ar18
position_endstop = 0
position_max = 210
homing_speed = 15
homing_positive_dir = false

[stepper_z]
step_pin = ar36
dir_pin = ar34
enable_pin = !ar30
rotation_distance = 5120000
endstop_pin = probe:z_virtual_endstop
position_min = -2
position_max = 210
homing_speed = 10
homing_positive_dir = false
microsteps = 32

[probe]
pin = ^ar3
x_offset = 0.0
y_offset = 0.0
z_offset = -1.0
speed = 4.0
samples = 1
sample_retract_dist = 2.0

[bed_mesh]
speed = 50
horizontal_move_z = 5
mesh_min = 50,50
mesh_max = 160, 160
probe_count = 3,3

[adc_temperature my_thermistor]
temperature1 = 20
resistance1 = 94000
temperature2 = 50
resistance2 = 36800
temperature3 = 70
resistance3 = 15400
temperature4 = 90
resistance4 = 8270
temperature5 = 100
resistance5 = 6920
temperature6 = 110
resistance6 = 5690
temperature7 = 120
resistance7 = 4990
temperature8 = 130
resistance8 = 4285
temperature9 = 140
resistance9 = 3700
temperature10 = 150
resistance10 = 3370
temperature11 = 170
resistance11 = 2840
temperature12 = 190
resistance12 = 2555
temperature13 = 210
resistance13 = 2410
temperature14 = 230
resistance14 = 2300
temperature15 = 250
resistance15 = 2220

[adc_temperature my_thermistor2]
temperature1 = 20
resistance1 = 125245
temperature2 = 50
resistance2 = 35899
temperature3 = 70
resistance3 = 17550
temperature4 = 90
resistance4 = 9100
temperature5 = 100
resistance5 = 9710
temperature6 = 110
resistance6 = 5070
temperature7 = 120
resistance7 = 3850
temperature8 = 130
resistance8 = 3600
temperature9 = 140
resistance9 = 3100
temperature10 = 150
resistance10 = 2800
temperature11 = 170
resistance11 = 2600
temperature12 = 190
resistance12 = 2385
temperature13 = 210
resistance13 = 2232
temperature14 = 230
resistance14 = 2183
temperature15 = 250
resistance15 = 2100

[adc_temperature my_thermistor3]
temperature1 = 20
resistance1 = 225245
temperature2 = 250
resistance2 = 90000

[extruder]
step_pin = ar26
dir_pin = !ar28
enable_pin = !ar24
rotation_distance = 1149556
microsteps = 32
nozzle_diameter = 0.300
filament_diameter = 1.7500
instantaneous_corner_velocity = 1.000
max_extrude_only_distance = 500
max_extrude_only_velocity = 50
max_extrude_only_accel = 3000
pressure_advance = 0.0
heater_pin = ar59
sensor_type = my_thermistor2
sensor_pin = analog9
pullup_resistor = 4700
control = pid
pid_kp = 30.081
pid_ki = 1.543
pid_kd = 146.644
pwm_cycle_time = 0.100
min_extrude_temp = 170
min_temp = 0
max_temp = 235

[heater_bed]
heater_pin = ar66
sensor_type = EPCOS 100K B57560G104F
sensor_pin = analog10
control = watermark
min_temp = 0
max_temp = 110

[fan]
pin = ar9

[input_shaper]
shaper_freq_x = 60
shaper_freq_y = 60

[skew_correction]

[printer]
kinematics = corexy
max_velocity = 150
max_accel = 3000
max_accel_to_decel = 1500
max_z_velocity = 15
max_z_accel = 150
square_corner_velocity = 5.0

[display]
lcd_type = hd44780
rs_pin = ar16
e_pin = ar17
d4_pin = ar23
d5_pin = ar25
d6_pin = ar27
d7_pin = ar29
encoder_pins = ^ar33, ^ar31
click_pin = ^!ar35
kill_pin = ^!ar41

[output_pin BEEPER_pin]
pin = ar37
pwm = True
value = 0
shutdown_value = 0
cycle_time = 0.001
scale = 1000

[virtual_sdcard]
path = /home/octoprint/.octoprint/uploads

[firmware_retraction]
retract_length = 1.5
retract_speed = 30
unretract_extra_length = 0
unretract_speed = 30

[gcode_arcs]
resolution = 0.5

[gcode_macro SEARCH_VARS]
gcode = 
	{% set search = params.S|lower %}
	{% set ns = namespace() %}
	{% for item in printer  %}
	{% if ' ' in item %}
	{% set ns.path = ['printer', "['%s']" % (item), ''] %}
	{% else %}
	{% set ns.path = ['printer.', item, ''] %}
	{% endif %}
	{% if search in ns.path|lower %}
	{ action_respond_info(ns.path|join) }
	{% endif %}
	{% if printer[item].items() %}
	{% for childkey, child in printer[item].items() recursive %}
	{% set ns.path = ns.path[:loop.depth|int + 1] %}
	{% if ' ' in childkey %}
	{% set null = ns.path.append("['%s']" % (childkey)) %}
	{% else %}
	{% set null = ns.path.append(".%s" % (childkey)) %}
	{% endif %}
	{% if child is mapping  %}
	{ loop(child.items()) }
	{% else %}
	{% if search in ns.path|lower %}
	{ action_respond_info("%s : %s" % (ns.path|join, child)) }
	{% endif %}
	{% endif %}
	{% endfor %}
	{% endif %}
	{% endfor %}

[gcode_macro BEEP]
gcode = 
	{% set frequency = params.S|default(1000)|float %}
	{% set duration = params.P|default(100)|float %}
	SET_PIN PIN=BEEPER_pin VALUE={frequency}
	G4 P{duration}
	SET_PIN PIN=BEEPER_pin VALUE=0

[gcode_macro START_PRINT]
variable_retract = 3
gcode = 
	{% if not params.PA %}
	{% set PA = printer.configfile.settings.extruder.pressure_advance %}
	{% endif %}
	SET_PRESSURE_ADVANCE ADVANCE={PA}
	{% set extruder_temp = params.EXTRUDER_TEMP|default(185)|float %}
	{% set bed_temp = params.BED_TEMP|default(90)|float %}
	{% set E = printer["gcode_macro START_PRINT"].retract|float %}
	CLEAR_PAUSE
	M220 S100
	M221 S100
	{% if printer.heater_bed.temperature < bed_temp %}
	SET_HEATER_TEMPERATURE HEATER=heater_bed TARGET={bed_temp}
	TEMPERATURE_WAIT SENSOR=heater_bed MINIMUM={bed_temp * 0.75}
	{% endif %}
	{% if printer.homed_axes != 'XYZ' %}
	BEEP
	G28 X0 Y0
	G1  X10 Y10
	G28 Z0
	G1 Z5
	{% endif %}
	{% if printer.extruder.temperature < extruder_temp %}
	goto_brush
	SET_HEATER_TEMPERATURE HEATER=extruder TARGET={extruder_temp}
	TEMPERATURE_WAIT SENSOR=extruder MINIMUM={extruder_temp}
	cleaning_nozzle
	G1 X105 Y105
	G28 Z0
	G1 Z2
	goto_brush
	{% endif %}
	G90
	M82
	G92 E0
	G1 E{E} F1500
	G92 E0

[gcode_macro goto_brush]
gcode = 
	G1   X202  Y140 F5000

[gcode_macro cleaning_nozzle]
gcode = 
	{% if printer.homed_axes != 'XYZ' %}
	BEEP
	G28 X0 Y0
	G1  X10 Y10
	G28 Z0
	G1 Z5
	{% endif %}
	G1   X202  Y140 F5000
	G10
	G1 Z1      Y150
	G1         Y125
	G1         Y150
	G1         Y125
	G1         Y150
	G1         Y125
	G1         Y150
	G1         Y125
	G1 Z3
	G1         Y150 F2000
	G1         Y125
	G1         Y150
	G1         Y125
	G1         Y150
	G1         Y125
	G1  X204   Y135 Z3
	G1  X198
	G1  X204
	G1  X198
	G1  X204
	G1  X198
	G1  X204
	G1  X198
	G1  X202   Y125 Z3
	G10

[gcode_macro END_PRINT]
gcode = 
	G10
	{% set axismax = printer.toolhead.axis_maximum %}
	{% set pos     = printer.toolhead.position     %}
	{% if pos.z <= ( axismax.z - 40 ) %}
	G1 X10 Y10 Z{ pos.z + 40 }
	{% else %}
	G1 X10 Y10 Z{ axismax.z }
	{% endif %}
	M84
	M140 S0
	M104 S0
	M106 S0

[gcode_macro M17]
gcode = 
	{% if 'X' in params %}
	SET_STEPPER_ENABLE STEPPER=stepper_x ENABLE=1
	{% endif %}
	{% if 'Y' in params %}
	SET_STEPPER_ENABLE STEPPER=stepper_y ENABLE=1
	{% endif %}
	{% if 'Z' in params %}
	SET_STEPPER_ENABLE STEPPER=stepper_z ENABLE=1
	{% endif %}
	{% if 'E' in params %}
	SET_STEPPER_ENABLE STEPPER=extruder ENABLE=1
	{% endif %}
	{% if   not 'X' in params
	and not 'Y' in params
	and not 'Z' in params
	and not 'E' in params %}
	SET_STEPPER_ENABLE STEPPER=stepper_x ENABLE=1
	SET_STEPPER_ENABLE STEPPER=stepper_y ENABLE=1
	SET_STEPPER_ENABLE STEPPER=stepper_z ENABLE=1
	SET_STEPPER_ENABLE STEPPER=extruder ENABLE=1
	{% endif %}

[gcode_macro M18]
rename_existing = M18.1
gcode = 
	{% if 'X' in params %}
	SET_STEPPER_ENABLE STEPPER=stepper_x ENABLE=0
	{% endif %}
	{% if  'Y' in params %}
	SET_STEPPER_ENABLE STEPPER=stepper_y ENABLE=0
	{% endif %}
	{% if 'Z' in params %}
	SET_STEPPER_ENABLE STEPPER=stepper_z ENABLE=0
	{% endif %}
	{% if 'E' in params %}
	SET_STEPPER_ENABLE STEPPER=extruder ENABLE=0
	{% endif %}
	{% if   not 'X' in params
	and not 'Y' in params
	and not 'Z' in params
	and not 'E' in params %}
	M84
	{% endif %}

[gcode_macro G29]
gcode = 
	{% if printer.homed_axes != 'XYZ' %}
	G28
	g1 z10
	{% endif %}
	BED_MESH_CALIBRATE
	BED_MESH_PROFILE SAVE=p1

[gcode_macro M204]
rename_existing = M204.1
gcode = 
	{% set factor = params.F|default(0.5)|float %}
	{% if 'S' in params %}
	SET_VELOCITY_LIMIT ACCEL={S} ACCEL_TO_DECEL={ S|float * factor }
	{% else %}
	{% if 'P' in params %}
	{% if 'T' in params %}
	{% if P|int < T|int %}
	SET_VELOCITY_LIMIT ACCEL={P} ACCEL_TO_DECEL={ P|float * factor }
	{% else %}
	SET_VELOCITY_LIMIT ACCEL={T} ACCEL_TO_DECEL={ T|float * factor }
	{% endif %}
	{% else %}
	SET_VELOCITY_LIMIT ACCEL={P} ACCEL_TO_DECEL={ P|float * factor }
	{% endif %}
	{% elif 'T' in params %}
	SET_VELOCITY_LIMIT ACCEL={T} ACCEL_TO_DECEL={ T|float * factor }
	{% endif %}
	{% endif %}

[gcode_macro M207]
gcode = 
	{% if params.S is not defined %}
	{% set S = printer.configfile.settings.firmware_retraction.retract_length|float %}
	{% endif %}
	{% if params.F is not defined %}
	{% set F = printer.configfile.settings.firmware_retraction.retract_speed|float %}
	{% endif %}
	SET_RETRACTION RETRACT_LENGTH={S} RETRACT_SPEED={F}

[gcode_macro M208]
gcode = 
	{% if params.S is not defined %}
	{% set S = printer.configfile.settings.firmware_retraction.unretract_extra_length|float %}
	{% endif %}
	{% if params.F is not defined %}
	{% set F = printer.configfile.settings.firmware_retraction.unretract_speed|float %}
	{% endif %}
	SET_RETRACTION UNRETRACT_EXTRA_LENGTH={S} UNRETRACT_SPEED={F}

[gcode_macro M300]
gcode = 
	BEEP
=======================
Extruder max_extrude_ratio=0.149671
mcu 'mcu': Starting serial connect

Printer is not ready
The klippy host software is attempting to connect.  Please
retry in a few moments.
Klipper state: Not ready

Printer is not ready
The klippy host software is attempting to connect.  Please
retry in a few moments.
Klipper state: Not ready
mcu 'mcu': Timeout on connect
mcu 'mcu': Wait for identify_response
Traceback (most recent call last):
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
    params = self.send_with_response(msg, 'identify_response')
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 258, in send_with_response
    return src.get_response([cmd], self.default_cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 316, in get_response
    cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
    self._error("Serial connection closed")
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 62, in _error
    raise error(self.warn_prefix + (msg % params))
error: mcu 'mcu': Serial connection closed

Printer is not ready
The klippy host software is attempting to connect.  Please
retry in a few moments.

mcu 'mcu': Timeout on connect
mcu 'mcu': Wait for identify_response
Traceback (most recent call last):
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
    params = self.send_with_response(msg, 'identify_response')
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 258, in send_with_response
    return src.get_response([cmd], self.default_cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 316, in get_response
    cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
    self._error("Serial connection closed")
  File "/home/octoprint/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/octoprint/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
    params = self.send_with_response(msg, 'identify_response')
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 258, in send_with_response
    return src.get_response([cmd], self.default_cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 316, in get_response
    cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
    self._error("Serial connection closed")
  File "/home/octoprint/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/octoprint/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
    params = self.send_with_response(msg, 'identify_response')
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 258, in send_with_response
    return src.get_response([cmd], self.default_cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 316, in get_response
    cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
    self._error("Serial connection closed")
  File "/home/octoprint/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/octoprint/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
    params = self.send_with_response(msg, 'identify_response')
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 258, in send_with_response
    return src.get_response([cmd], self.default_cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 316, in get_response
    cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
    self._error("Serial connection closed")
  File "/home/octoprint/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/octoprint/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
    params = self.send_with_response(msg, 'identify_response')
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 258, in send_with_response
    return src.get_response([cmd], self.default_cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 316, in get_response
    cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
    self._error("Serial connection closed")
  File "/home/octoprint/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/octoprint/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
    params = self.send_with_response(msg, 'identify_response')
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 258, in send_with_response
    return src.get_response([cmd], self.default_cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 316, in get_response
    cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
    self._error("Serial connection closed")
  File "/home/octoprint/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/octoprint/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
    params = self.send_with_response(msg, 'identify_response')
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 258, in send_with_response
    return src.get_response([cmd], self.default_cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 316, in get_response
    cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
    self._error("Serial connection closed")
  File "/home/octoprint/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/octoprint/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
    params = self.send_with_response(msg, 'identify_response')
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 258, in send_with_response
    return src.get_response([cmd], self.default_cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 316, in get_response
    cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
    self._error("Serial connection closed")
  File "/home/octoprint/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/octoprint/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
    params = self.send_with_response(msg, 'identify_response')
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 258, in send_with_response
    return src.get_response([cmd], self.default_cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 316, in get_response
    cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
    self._error("Serial connection closed")
  File "/home/octoprint/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/octoprint/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
    params = self.send_with_response(msg, 'identify_response')
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 258, in send_with_response
    return src.get_response([cmd], self.default_cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 316, in get_response
    cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
    self._error("Serial connection closed")
  File "/home/octoprint/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/octoprint/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
    params = self.send_with_response(msg, 'identify_response')
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 258, in send_with_response
    return src.get_response([cmd], self.default_cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 316, in get_response
    cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
    self._error("Serial connection closed")
  File "/home/octoprint/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/octoprint/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
    params = self.send_with_response(msg, 'identify_response')
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 258, in send_with_response
    return src.get_response([cmd], self.default_cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 316, in get_response
    cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
    self._error("Serial connection closed")
  File "/home/octoprint/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/octoprint/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
    params = self.send_with_response(msg, 'identify_response')
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 258, in send_with_response
    return src.get_response([cmd], self.default_cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 316, in get_response
    cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
    self._error("Serial connection closed")
  File "/home/octoprint/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/octoprint/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
    params = self.send_with_response(msg, 'identify_response')
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 258, in send_with_response
    return src.get_response([cmd], self.default_cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 316, in get_response
    cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
    self._error("Serial connection closed")
  File "/home/octoprint/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/octoprint/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
    params = self.send_with_response(msg, 'identify_response')
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 258, in send_with_response
    return src.get_response([cmd], self.default_cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 316, in get_response
    cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
    self._error("Serial connection closed")
  File "/home/octoprint/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/octoprint/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
    params = self.send_with_response(msg, 'identify_response')
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 258, in send_with_response
    return src.get_response([cmd], self.default_cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 316, in get_response
    cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
    self._error("Serial connection closed")
  File "/home/octoprint/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/octoprint/klipper/klippy/klippy.py", line 176, in _connect
    self.send_event("klippy:mcu_identify")
  File "/home/octoprint/klipper/klippy/klippy.py", line 264, in send_event
    return [cb(*params) for cb in self.event_handlers.get(event, [])]
  File "/home/octoprint/klipper/klippy/mcu.py", line 779, in _mcu_identify
    raise error(str(e))
error: mcu 'mcu': Unable to connect
Build file /home/octoprint/klipper/klippy/../.config(1247): Tue Jun  7 18:06:26 2022
========= Last MCU build config =========
CONFIG_LOW_LEVEL_OPTIONS=y
# CONFIG_MACH_AVR is not set
CONFIG_MACH_ATSAM=y
# CONFIG_MACH_ATSAMD is not set
# CONFIG_MACH_LPC176X is not set
# CONFIG_MACH_STM32 is not set
# 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="atsam"
CONFIG_MCU="sam3x8e"
CONFIG_CLOCK_FREQ=84000000
CONFIG_USBSERIAL=y
CONFIG_ATSAM_SELECT=y
CONFIG_MACH_SAM3X8E=y
# CONFIG_MACH_SAM3X8C is not set
# CONFIG_MACH_SAM4S8C is not set
# CONFIG_MACH_SAM4E8E is not set
# CONFIG_MACH_SAME70Q20B is not set
CONFIG_MACH_SAM3X=y
CONFIG_FLASH_START=0x80000
CONFIG_FLASH_SIZE=0x80000
CONFIG_RAM_START=0x20000000
CONFIG_RAM_SIZE=0x18000
CONFIG_STACK_SIZE=512
CONFIG_ATSAM_USB=y
# CONFIG_ATSAM_SERIAL is not set
CONFIG_USB_VENDOR_ID=0x1d50
CONFIG_USB_DEVICE_ID=0x614e
# CONFIG_USB_SERIAL_NUMBER_CHIPID is not set
CONFIG_USB_SERIAL_NUMBER="12345"
CONFIG_CANBUS_FREQUENCY=500000

#
# USB ids
#
# end of USB ids

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/octoprint/klipper/klippy/../out/klipper.dict(7209): Tue Jun  7 18:15:35 2022
Last MCU build version: v0.10.0-451-gada571ec
Last MCU build tools: gcc: (15:7-2018-q2-6) 7.3.1 20180622 (release) [ARM/embedded-7-branch revision 261907] binutils: (2.31.1-12+11) 2.31.1
Last MCU build config: BUS_PINS_twi1=PB13,PB12 BUS_PINS_twi0=PA18,PA17 BUS_PINS_usart0=PA10,PA11,PA17 STEPPER_BOTH_EDGE=1 BUS_PINS_usart2=PB21,PB20,PB24 ADC_MAX=4095 BUS_PINS_usart1=PA12,PA13,PA16 PWM_MAX=255 CLOCK_FREQ=84000000 BUS_PINS_spi0=PA25,PA26,PA27 MCU=sam3x8e STATS_SUMSQ_BASE=256
Build file /home/octoprint/klipper/klippy/../out/klipper.elf(356888): Tue Jun  7 18:15:46 2022
mcu 'mcu': Wait for identify_response
Traceback (most recent call last):
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
    params = self.send_with_response(msg, 'identify_response')
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 258, in send_with_response
    return src.get_response([cmd], self.default_cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 316, in get_response
    cmd_queue)
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
    self._error("Serial connection closed")
  File "/home/octoprint/klipper/klippy/serialhdl.py", line 62, in _error
    raise error(self.warn_prefix + (msg % params))
error: mcu 'mcu': Serial connection closed
