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

Cartographer over Canbus #6

Open
WayneManion opened this issue Feb 13, 2025 · 1 comment
Open

Cartographer over Canbus #6

WayneManion opened this issue Feb 13, 2025 · 1 comment

Comments

@WayneManion
Copy link

I could not get binaries built from this repo built to work on my Cartographer, which is connected via Canbus.

It took much trial and error, but I was able to build, flash, and communicate with my Cartographer after I built the binary using these menuconfig options:

Image

The key was adding "Set pin PA1 at microcontroller startup." I also had to add this to the menuconfig for Katapult.

Note: if you want to build Katapult from source you will need to use Cartographer's Katapult fork. The required 24MHz crystal clock speed option is not present in mainline Katapult.

I don't know yet if eddy-ng works on a Canbus Cartographer, but I was at least able to build the binary, flash it, and communicate with the MCU.

@vvuk
Copy link
Owner

vvuk commented Feb 15, 2025

Yeah, apologies -- Cartographer needs to be much better documented. It's also a very tiny device (stm32f042) that requires some hacks. Specifically, there's hard-pwm support for the f042 that's not present in mainline Klipper that's required -- you can get them from this commit (the changes in the stm32 directory).

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