Dave811 / ATSG

MIT License
4 stars 0 forks source link

Errors and stuck printer on MPC #13

Open systemerror-codenotfound opened 11 months ago

systemerror-codenotfound commented 11 months ago

Hi,

I just flashed the firmware on my Genius Pro using STM32CubeProgrammer and after that i flashed the TFT firmware over a sd card (AT-GP-fil-lev)

It works, but there are some "problems"

If i try to make a PID (this doesn't work, it's disabled on firmware) from console. Also MPC autotune from the TFT the printer stucks on "busy processing, please wait" and it doesn't doo nothing at all, i tried letting the printer 1 hour and it was stuck on the same.

The LED change to red and never works.

IF i try to launch the calibration from console it isn't starting

Send: M306 T Recv: M306 E0 P40.00 C16.70 R0.2200 A0.0680 F0.0970 H0.0056 Recv: ok P15 B31

But it should no? https://marlinfw.org/docs/features/model_predictive_control.html

I tried the BED PID and that looks fine (it got stuck first time but it worked after that)

Also when doing the auto level (ABL) it's using 120ºC on the hotend only?

Dave811 commented 11 months ago

I will have a look but the biggest problem is, that I am now using klipper, if I find something I can bring out an update, but I can't test it myself.

PID for the Nozzle should be disabled, because it should use MPC, because it should be more accurate.

On ABL when the Nozzle gets hotter, it could let the nozzle to leak some filament. If you only do ABL without printing, then you wouldn't need a heated nozzle, but if you do a ABL before printing, the time to start the print should be reduced.

I will look at the config for MPC

In my memory, the led displays the heating procedure. It should start white or green and if it is red all components should be hot.

Dave811 commented 11 months ago

Did you reset the flash after you flashed it?

systemerror-codenotfound commented 11 months ago

Did you reset the flash after you flashed it?

HI,

Yes, i made a M502 + M500 right after flashing

systemerror-codenotfound commented 11 months ago

For the TFT i used 01-MKS_TFT28_NEW_GENIUS.27.x.bin but with the 3 options it booted 03-MKS_TFT28_V4.0.27.x.bin and also with 02-MKS_TFT28_V3.0.27.x.bin

Dave811 commented 11 months ago

With that I am not as experienced... I assumed that only one firmware works. Do you have the problems with both versions of the firmware, or did you only test it with the other one.

The MPC should work on both not, if you can't get it to work even with the console. In this github repo is the Marlin configuration file. If you have experience with it, you can have a look if I made a mistake. I will have only time at the evening :/

Dave811 commented 11 months ago

Do you know how to build the firmware? Because #define MPC_AUTOTUNE this line is commented out. So if you would clone my Marlin version from my github repo https://github.com/Dave811/Marlin-Artillery and checkout SW2 you then only need to change these settings in Marlin/Configuration.h:

systemerror-codenotfound commented 11 months ago

Hi

So i think it's done

I actually added 2 more lines that looked nice to have?

define MPC_EDIT_MENU // Add MPC editing to the "Advanced Settings" menu. (~1300 bytes of flash)

define MPC_AUTOTUNE_MENU // Add MPC auto-tuning to the "Advanced Settings" menu. (~350 bytes of flash)

But i guess it won't appear on the genius screen? firmware.zip

I didn't flashed it yet