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

Marlin 2.1.x for MPMDv2 #9

Open
TheThomasD opened this issue Dec 2, 2022 · 7 comments
Open

Marlin 2.1.x for MPMDv2 #9

TheThomasD opened this issue Dec 2, 2022 · 7 comments

Comments

@TheThomasD
Copy link

TheThomasD commented Dec 2, 2022

Hi,

I already tested your firmware sucessfully. Now, the newest Marlin release has some more interesting features that I would like to use. I created a branch with a first try to adapt the newest Marlin version with an ExtUI approach (wherever possible). Would someone like to take part in testing some of the stuff?

The code can be found here: https://github.com/TheThomasD/Marlin/tree/2.1.x-MPMDv2
You will need this framework: https://github.com/TheThomasD/Arduino_STM32_MPMDv2/tree/changes_MPMDv2 as described here: #6

Note, however, the current status is untested and I have not tried installing the compiled firmware to the printer.

@hitn
Copy link

hitn commented Dec 10, 2022

Hi,

I did already some custom builds for my MPMDv2, tweaking some configuration and enabling additional features.

Also thought a while of either cherry picking commits important for me (mainly improvements linked to ArcWelder) or creating an up-to-date release by adapting all the changes WeeDo did to the firmware (to my understanding mainly linked to the proprietary display). In the end, it looked like too much work for my time budget.

Since my MPMDv2 is my only printer and it's quite loaded, especially before Christmas, I wouldn't jump in for early alpha testing - at least now. But when your project is going to somewhat usable Beta, I'll be for sure very interested and try out your firmware.

@TheThomasD
Copy link
Author

TheThomasD commented Dec 10, 2022

Hi @hitn!

I'm already a step further, but still figuring out some small details. Connection via USB works and temperatures already work fine. However, I didn't push any of the changes, yet, because currently there is still an issue with the steppers. Also, I completely disabled the display for now as I want to ensure that the general setup works first. I also want to try whether not using DMA transfer for communication via the serial interfaces also works (EDIT: works also without DMA, at least with the display beeing disabled). That would allow to stay closer to the original Marlin code.

Anyway, thank you for your reply. It's good to see that I'm not the only one looking into the MPMDv2 :) I'll keep you posted here whenever I have an updated version available that works at least via the USB interface. UI will follow then.

BR
Thomas

@TheThomasD
Copy link
Author

Good news everyone! My stepper problem was just a misconfiguration of the delta radius. The printer can now be controlled over the USB interface. I completely disabled the UI for now and also did not test SD card stuff, yet, because I saw some fiddeling with the pins in the UI code.

Next steps will be to enable the UI stuff step by step and also make the SD card work. I'll post updates here.

NB: I had to update base framework a little bit because a script was missing. The changes can be found in https://github.com/TheThomasD/Arduino_STM32_MPMDv2/tree/changes_MPMDv2

@TheThomasD
Copy link
Author

Next update: The display is basically working. Though, not all features implemented, yet. I disabled the starting animation (I didn't like it anyways) because it would (and did already in the past) interfere with the USB connection from Repetier Server (resulting in not beeing able to connect to the printer unless power is cycled).

Several things are still missing, e.g. setting the language, storing the settings, implementing the POST check (does anyone really need this?), ...

The code can be found here (as before) and I'll post more updates here whenever I have news.
https://github.com/TheThomasD/Marlin/tree/2.1.x-MPMDv2

@TheThomasD
Copy link
Author

Another update: I added some more features like storing the settings, the POST check and the SD print timer. For me, all necessary features are there. The only thing missing is the factory test. I've never used it in the past, but currently it will possibly break some things.

If you need this feature or if you found a bug in the firmware, please create an issue in my fork of the Marlin repo. Thanks!

@CheetahPixie
Copy link

You're not very reachable @TheThomasD . I wanted to test this out, since I'm having issues with the stock firmware, and all I had to go off was your repo's commit history, and its age.

@TheThomasD
Copy link
Author

TheThomasD commented Feb 13, 2023

Hi @CheetahPixie! I‘m currently using the firmware without issues. What do you need to start? Have you built Marlin before? Are you aware of the changes you need to do to compile the MPMDv2 (i.e. adding the patched framework to you local PIO folder)? If you need more help, you can reach me via Telegram (join this group: https://t.me/+tdilIBaitJZjYzhi).

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

3 participants