Skip to content
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

Conjoin Katapult and Klipper images for single flash? #90

Open
WayneManion opened this issue Sep 26, 2023 · 1 comment
Open

Conjoin Katapult and Klipper images for single flash? #90

WayneManion opened this issue Sep 26, 2023 · 1 comment

Comments

@WayneManion
Copy link

I bought a whole stack of EBB42s when they were on sale on AliExpress. I can't even remember how many. Like 10-15 units. I have flashed a couple and they work, but I want to flash all of them at once and be done with it.

Is it possible to somehow conjoin a Katapult image and a Klipper image built for the same target device and flash them both at once over USB? As it stands it seems like the workflow is to flash Katapult to them, set up a temporary Can network, connect the EBB42s to this temporary can net, get the uuid, then flash Klipper to it.

It would be neat to compile Katapule, compile Klipper, cat the two images together, flash once, and be done.

@NAPCAL
Copy link

NAPCAL commented Sep 26, 2023

Yes,

If they have matching STM32
Flash Katapult, then Klipper.

Use STM32CubeProgramer (STM32CP) to dump (there might be a way with dfu-util) flash memory for the space both take up together.

Then, use STM32CP to flash multiple (Auto); as STM32CP sees a board in DFU mode on the USB connection, it will automatically flash your file. Make sure to enable wipe flash before flashing your file.

As each is successful, disconnect and connect the next one in DFU mode.

STM32CubeProgramer is made for doing this for production.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants