-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
hc32f460: Add app address 0x10000 #6269
Conversation
Required for the Anycubic Kobra 2. Signed-off-by: Falk Höppner <falk@hoppner.se>
Thank you for your contribution to Klipper. Unfortunately, a reviewer has not assigned themselves to this GitHub Pull Request. All Pull Requests are reviewed before merging, and a reviewer will need to volunteer. Further information is available at: https://www.klipper3d.org/CONTRIBUTING.html There are some steps that you can take now:
Unfortunately, if a reviewer does not assign themselves to this GitHub Pull Request then it will be automatically closed. If this happens, then it is a good idea to move further discussion to the Klipper Discourse server. Reviewers can reach out on that forum to let you know if they are interested and when they are available. Best regards, PS: I'm just an automated script, not a human being. |
@SteveGotthardt - any comments on this? -Kevin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully tested on Kobra2.
What settings did you use for building the firmware |
I'm not entirely sure that these settings are correct (especially the clock speed), but these are the last settings I used before I went back to the stock firmware. I ended up going back because I wasn't able to figure out which pins to use to talk to the stepper drivers over UART. Anycubic's source code seems to run the stepper drivers in standalone mode, without UART communication, but they have only released the source code for v2.9.3 of the firmware at the time of writing. v3.0.2 has linear advance and input shaping, which iirc can't work without talking to the stepper drivers over UART, but the source for v3.0.2 isn't released yet. I'm currently waiting for them to release that source before I continue trying to get Klipper to work on my printer. |
I used 168mhz speed |
@AleksB27 I think I had figured out most of the pins by looking at Anycubic's source (and some trial and error), but I'd very much appreciate a map :) |
Thanks. -Kevin |
@AleksB27 Could you share the full printer.cfg you used? I'm trying to get my Kobra 2 working with Klipper but so far have been stumped by many unfamiliar settings. Here's the incomplete starting point I'm working from: https://drive.google.com/file/d/1pM1Jqvb7u2QWBPVBMnJPBVq0YINx-xez/view |
Never mind, I found this tutorial included the configs I needed; here's a direct link to them for posterity: https://drive.google.com/file/d/1b9xOY9zppay2TfVpMH0pkc6hTFPuR4Y5/view?usp=drive_link |
This is required for the Anycubic Kobra 2. See this definition in Anycubic's newly released source code.