#(SOLVED) Klipper crash with longboi.cfg

1 messages · Page 1 of 1 (latest)

rain dove
#

So if I put the config from the longboi in the mcu dir , klipper crash. If I put the "standard" AFC-Lite.cfg, no problem. Afc add-on is up to date normaly. Attached is the klippy.log

eager flame
#

@pale parcel you have any ideas?

pale parcel
#

That's a pretty generic error for the initial connection. Is the Longboi running the same Klipper/Kalico build as the main MCU? CAN cabling is solid and bus is terminated correctly?

#

Just to eliminate that possibility, try and connect it via USB.

upbeat bramble
#

When I looked through the log, I was looking for the versions. They all appear to be 0.13.0-320-gc8032494.

Can we get the longboi and afc-lite configuration files?

eager flame
upbeat bramble
#

Pretty sure it's Traceback (most recent call last): File "/home/trident/klipper/klippy/klippy.py", line 135, in _connect cb() File "/home/trident/klipper/klippy/mcu.py", line 959, in _connect config_params = self._send_get_config() ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/trident/klipper/klippy/mcu.py", line 955, in _send_get_config raise error("Can not update MCU '%s' config as it is shutdown" % ( mcu.error: Can not update MCU 'mcu' config as it is shutdown Can not update MCU 'mcu' config as it is shutdown Once the underlying issue is corrected, use the "FIRMWARE_RESTART" command to reset the firmware, reload the config, and restart the host software. Error configuring printer

But usually there's another error somewhere, but I'm not seeing one.

eager flame
#

That's for his main MCU, I normally get this when just restarting klipper service. And then hitting restart klipper fixes everything(for me). But I have a feeling that there was another error that's not in this log, but I could be wrong

rain dove
rain dove
fair perch
#

How are your CAN terminations configured?

#

FWIW, I looked through your configs and the pin aliases for your longboi.cfg and that all checks out. So this is more likely some kind of physical/electrical issue

olive rapidsBOT
teal dawn
#

@rain dove

rain dove
pale parcel
#

For me personally my first path of action would be to start with a minimal MCU entry and then work my way up with pin definitions

fair perch
teal dawn
#

i think the issue is that the longboi.cfg won’t work but using the afc-lite cfg will work for longboi from my understanding

pale parcel
#

@marsh narwhal could you share your working longboi.cfg? I'm honestly not sure if I sent Dylan the most up to date one

#

I really need to put that in the repo. My own BTs still run with raw pin definitions and no alias file

marsh narwhal
rain dove
#

So I did a complet reinstal from all with the longboi config from @marsh narwhal and it's work again

#

(SOLVED) Klipper crash with longboi.cfg

fair perch
#

These two configs have a the assignments swapped for HUB and TN_TRL, otherwise they are the same in all but name (more aliases in Akash's config). PD3 = HUB = SW9 in the new config.

pale parcel
#

Well it's the nuclear option but I'm glad it's working now 😄

rain dove