This is similar (not enough details to say if it is the same) as my issue. The solution that worked for me was:
adding the line
dtoverlay=dwc2
to the end of the /boot/firmware/config.txt then reboot.
The long original thread:
https://klipper.discourse.group/t/help-klipper-crashes-mid-print/24434/44?u=michaelbrock