-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Serial Flashing broken: Error sending command [SEND_BLOCK] to Can Device #128
Comments
Try flashing with FWIW, I can't reproduce on a BTT Kraken, which is also an STM32H723 based device. |
Did not work for me:
Revision Katapult : 42909f8 (HEAD -> master, origin/master, origin/HEAD) stm32: dfu-util "make flash" rules for stm32 mcu So both should be up-to-date. Dominik |
@DrKlipper do you have the latest Katapult & Python serial code installed on your RPi? |
I installed pyserial with this command: Katapult was the latest revision as shown above. |
I've been having the same issue for awhile now.
Same error using the
|
Just tried this on a Raspberry Pi 5 with a new Fysetc Spider H7 board (STM32H723). So it seems that there is a problem with the BTT Image for CB1/CB2 SBCs ... |
When running Try building the Katapult binary on your Pi 5, then copy it to the Manta and flash it. This will tell us if there is a problem with the build on the CB1/2/etc. If it still doesn't work then its likely related to a Kernel issue. In addition, I have an pushed updated version of |
You have a different issue. You are attempting to flash over CANBUS rather than USB and the CAN interface is not available. I would suggest asking for assistance in how to install/setup your |
Building Katapult on the Pi5 results in a working version.
Tried this before with Katapult compiled on the CB2 ... Did not work. |
One addition ... |
What is the output from the following command on the
I pushed the updated
The Makefile was updated to support newer versions of gcc. Katapult's build is derived from Klipper, and this change is keeping in sync with it. Older versions should work. Once I know the version of gcc on your CB2 I'll see if I can reproduce. |
I know. I tested with the latest version:
Hope that was the correct version. |
This is a very old version of the gnu toolkit, and it looks like the package may be a beta. I can't think of any good reason for a recent linux distribution to ship with this toolkit. I couldn't reproduce with an older release. I'm going to download the closest release and see if I can repro. This may be a situation where the Distribution Maintainer (BTT?) need to resolve the issue. I can't revert the Makefile changes, as its imperative that Katapult support the latest gcc release for Raspberry Pis and Desktop class PCs. |
Ok I will ask my contact at BTT for that topic. So I think it is a workaround to use an older katapult revision for the moment. |
FWIW, I was able to download the exact version of the gnu utils and the binary worked fine. Its possible that there is something wrong with the build provided in the repo. If the OS is aarch64 another potential workaround is to download a new version of the toolchain. If its 32-bit then the following instructions won't work. https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads You will specifically want the aarch64 toolchain with an aarch32 bare metal target. Extract it, and you will find a
Replace |
Getting a new version of the toolchain is a hassel. It results in a lot new errors because libs and includes are at the wrong place and / or missing. Would be a real pain to get this up and running by hand. |
Hi! juj@3DP: [INFO:root:Command 'SEND_BLOCK': Received NACK Any ideas? |
Hi!
Just tried to flash a Manta M8P (V2.0) with Katapult / Klipper. It uses a STM32H723 controller.
Compiling and flashing Katapult was no big deal. And since I enabled the Status LED I can see that Katapult is running.
But problems start rising when I try to install Klipper:
It seems that a lot of other people struggle with the same error.
So I tried an old Katapult version from February:
git checkout 3e23332
Flashing Katapult again followed by Klipper results in a running system. No more SEND_BLOCK Errors.
So there must be any change in the last 7 month which results in a non working Katapult version.
Btw ... I flashed klipper over the serial Katapult connection.
regards
Dominik
The text was updated successfully, but these errors were encountered: