Here is the Klippy Log.
===== Config file =====
[virtual_sdcard]
path = /home/pi/printer_data/gcodes
[display_status]
[pause_resume]
[gcode_macro CANCEL_PRINT]
description = Cancel the actual running print
rename_existing = CANCEL_PRINT_BASE
gcode =
TURN_OFF_HEATERS
CANCEL_PRINT_BASE
[gcode_macro M0]
gcode =
PAUSE
[safe_z_home]
home_xy_position = 125, 125
speed = 250
z_hop = 10.0
z_hop_speed = 100.0
[stepper_x]
step_pin = PC2
dir_pin = PB9
enable_pin = !PC3
microsteps = 16
rotation_distance = 40
endstop_pin = ^PA5
position_endstop = 220
position_max = 220
homing_speed = 50
[stepper_y]
step_pin = PB8
dir_pin = PB7
enable_pin = !PC3
microsteps = 16
rotation_distance = 40
endstop_pin = ^PA6
position_endstop = 220
position_max = 220
homing_speed = 50
[stepper_z]
step_pin = PB6
dir_pin = PB5
enable_pin = !PC3
microsteps = 16
rotation_distance = 4
endstop_pin = ^PA7
position_max = 300
position_min = -2.0
position_endstop = 0.0
[extruder]
max_extrude_only_distance = 100.0
step_pin = PB4
dir_pin = PB3
enable_pin = !PC3
microsteps = 16
rotation_distance = 33.63568
nozzle_diameter = 0.400
filament_diameter = 1.750
heater_pin = PA1
sensor_type = EPCOS 100K B57560G104F
sensor_pin = PC5
control = pid
pid_kp = 29.03
pid_ki = 1.57
pid_kd = 134.12
min_temp = 0
max_temp = 260
[heater_bed]
heater_pin = PA2
sensor_type = EPCOS 100K B57560G104F
sensor_pin = PC4
min_temp = 0
max_temp = 135
control = pid
pid_kp = 75.516
pid_ki = 1.176
pid_kd = 1212.037
[fan]
pin = PA0
[mcu]
serial = /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
restart_method = command
[printer]
kinematics = cartesian
max_velocity = 400
max_accel = 5000
max_z_velocity = 5
max_z_accel = 100
square_corner_velocity = 5
[bed_screws]
screw1 = 30.5, 37
screw2 = 30.5, 207
screw3 = 204.5, 207
screw4 = 204.5, 37
screw5 = 120, 120
[display]
lcd_type = st7920
cs_pin = PB12
sclk_pin = PB13
sid_pin = PB15
encoder_pins = ^PB14, ^PB10
click_pin = ^!PB2
[input_shaper]
shaper_freq_x = 56.179
shaper_type_x = mzv
shaper_freq_y = 23.148
shaper_type_y = mzv
Loaded MCU ‘mcu’ 106 commands (v0.12.0-143-g01c7befa / 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)
MCU ‘mcu’ config: ADC_MAX=4095 BUS_PINS_i2c1=PB6,PB7 BUS_PINS_i2c1a=PB8,PB9 BUS_PINS_i2c2=PB10,PB11 BUS_PINS_spi1=PA6,PA7,PA5 BUS_PINS_spi1a=PB4,PB5,PB3 BUS_PINS_spi2=PB14,PB15,PB13 BUS_PINS_spi3=PB4,PB5,PB3 CLOCK_FREQ=72000000 MCU=stm32f103xe PWM_MAX=255 RECEIVE_WINDOW=192 RESERVE_PINS_serial=PA10,PA9 SERIAL_BAUD=250000 STATS_SUMSQ_BASE=256 STEPPER_BOTH_EDGE=1
Configured MCU ‘mcu’ (1024 moves)
Args: [‘/home/pi/klipper/klippy/klippy.py’, ‘/home/pi/printer_data/config/printer.cfg’, ‘-I’, ‘/home/pi/printer_data/comms/klippy.serial’, ‘-l’, ‘/home/pi/printer_data/logs/klippy.log’, ‘-a’, ‘/home/pi/printer_data/comms/klippy.sock’]
Git version: ‘v0.12.0-179-g434770ea’
Branch: master
Remote: origin
Tracked URL: GitHub - Klipper3d/klipper: Klipper is a 3d-printer firmware
CPU: 4 core ?
Python: ‘3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0]’
webhooks client 140732967740752: {‘program’: ‘Moonraker’, ‘version’: ‘v0.8.0-352-g326d23a’}
=============== Log rollover at Tue May 7 06:42:48 2024 ===============
b’Got EOF when reading from device’
Timeout with MCU ‘mcu’ (eventtime=144773.499562)
Transition to shutdown state: Lost communication with MCU ‘mcu’
Dumping gcode input 0 blocks
Dumping 20 requests for client 140732967740752
Received 102236.499408: b’{“id”: 140732890602448, “method”: “list_endpoints”, “params”: {}}’
Received 102236.499771: b’{“id”: 140732890098000, “method”: “objects/subscribe”, “params”: {“objects”: {“webhooks”: null, “print_stats”: null}, “response_template”: {“method”: “process_status_update”}}}’
Received 102236.749425: b’{“id”: 140733214916176, “method”: “objects/list”, “params”: {}}’
Received 102236.749811: b’{“id”: 140733214916176, “method”: “objects/query”, “params”: {“objects”: {“configfile”: null}}}’
Received 102237.000199: b’{“id”: 140732862877008, “method”: “register_remote_method”, “params”: {“response_template”: {“method”: “shutdown_machine”}, “remote_method”: “shutdown_machine”}}’
Received 102237.000418: b’{“id”: 140733194497296, “method”: “register_remote_method”, “params”: {“response_template”: {“method”: “reboot_machine”}, “remote_method”: “reboot_machine”}}’
Received 102237.000568: b’{“id”: 140732889545872, “method”: “register_remote_method”, “params”: {“response_template”: {“method”: “pause_job_queue”}, “remote_method”: “pause_job_queue”}}’
Received 102237.000702: b’{“id”: 140732889545872, “method”: “register_remote_method”, “params”: {“response_template”: {“method”: “start_job_queue”}, “remote_method”: “start_job_queue”}}’
Received 102237.001335: b’{“id”: 140733194494672, “method”: “objects/query”, “params”: {“objects”: {“heaters”: null}}}’
Received 102237.001391: b’{“id”: 140733194492752, “method”: “objects/query”, “params”: {“objects”: {“heaters”: null}}}’
Received 102237.250964: b’{“id”: 140733194501264, “method”: “objects/subscribe”, “params”: {“objects”: {“webhooks”: null, “print_stats”: null, “heater_bed”: null, “extruder”: null}, “response_template”: {“method”: “process_status_update”}}}’
Received 102237.320664: b’{“id”: 140732862899664, “method”: “info”, “params”: {}}’
Received 102237.322940: b’{“id”: 140732862886864, “method”: “objects/list”, “params”: {}}’
Received 102237.383022: b’{“id”: 140732890101584, “method”: “info”, “params”: {}}’
Received 102237.391737: b’{“id”: 140732890814352, “method”: “objects/list”, “params”: {}}’
Received 102237.501662: b’{“id”: 140733194494672, “method”: “objects/subscribe”, “params”: {“objects”: {“webhooks”: null, “print_stats”: null, “heater_bed”: null, “extruder”: null}, “response_template”: {“method”: “process_status_update”}}}’
Received 102237.752461: b’{“id”: 140733194494480, “method”: “objects/subscribe”, “params”: {“objects”: {“gcode”: null, “webhooks”: null, “configfile”: null, “mcu”: null, “gcode_move”: null, “print_stats”: null, “virtual_sdcard”: null, “display_status”: null, “pause_resume”: null, “gcode_macro CANCEL_PRINT”: null, “gcode_macro M0”: null, “heaters”: null, “heater_bed”: null, “fan”: null, “bed_screws”: null, “stepper_enable”: null, “motion_report”: null, “query_endstops”: null, “idle_timeout”: null, “system_stats”: null, “manual_probe”: null, “toolhead”: null, “extruder”: null}, “response_template”: {“method”: “process_status_update”}}}’
Received 102238.004429: b’{“id”: 140732890600464, “method”: “objects/subscribe”, “params”: {“objects”: {“gcode”: null, “webhooks”: null, “configfile”: null, “mcu”: null, “gcode_move”: null, “print_stats”: null, “virtual_sdcard”: null, “display_status”: null, “pause_resume”: null, “gcode_macro CANCEL_PRINT”: null, “gcode_macro M0”: null, “heaters”: null, “heater_bed”: null, “fan”: null, “bed_screws”: null, “stepper_enable”: null, “motion_report”: null, “query_endstops”: null, “idle_timeout”: null, “system_stats”: null, “manual_probe”: null, “toolhead”: null, “extruder”: null}, “response_template”: {“method”: “process_status_update”}}}’
Received 102238.061851: b’{“id”: 140732890092816, “method”: “gcode/help”, “params”: {}}’
Received 102238.409187: b’{“id”: 140732890809680, “method”: “gcode/help”, “params”: {}}’
gcode state: absolute_coord=True absolute_extrude=True base_position=[0.0, 0.0, 0.0, 0.0] last_position=[0.0, 0.0, 0.0, 0.0] homing_position=[0.0, 0.0, 0.0, 0.0] speed_factor=0.016666666666666666 extrude_factor=1.0 speed=25.0
Reactor garbage collection: (102377.610343552, 0.0, 0.0)