Closed JamesHagerman closed 4 years ago
After poking around at this more, I found what seems to be the primary issue! The following config values need to be set to false in Configuration.h
:
#define DISABLE_X false
#define DISABLE_Y false
#define DISABLE_Z false
Once that was set, I had to flash a few times to get the stepper motor directions set correctly. My MPMS V2 ended up using:
#define INVERT_X_DIR true
#define INVERT_Y_DIR false
#define INVERT_Z_DIR false
Again, just to be clear, I also had to uncomment/enable the NOZZLE_PARK_FEATURE
to enable it or the compile would fail:
#define NOZZLE_PARK_FEATURE
After all of that, PlatformIO (Core 4.3.4
, Home 3.2.2
, ST STM32: 6.1.0
) was able to compile a working firmware.bin
by clicking Build
on the env:STM32F070RB_malyan
config! Again, I used the bugfix-2.0.x
branch of both repos as a starting point (Marlin: 84c43e9ee799bdbaa1e5d53f73b63cca85a57d40
, Configurations: 38e200587e26d339e4960a7abad77c728e3812f9
).
Oddly, the Fan on
and Fan off
buttons in Octoprint didn't seem to control either fan but the hotend fan did come on when it started heating so I'm not worried.
I'm running a test print now. So far, the extruder stepper seems to be having a more difficult time (clicking) while running Marlin than it did with the stock firmware...
Test print worked! A few clicks from the extruder, but other than that, it went well!
I've had a hard time getting a working M200 build. Could you ZIP up your project and drop it on a reply so I can compare to my non-working situation?
I'm not sure about the stepper direction inverting settings, since it's so easy to have the plugs flipped backwards on one printer vs. another. We'll need to get feedback from more people in the M200 user groups so we have a larger sample size.
Bug Description
PlatformIO builds of Marlin's
bugfix-2.0.x
branch fail when using the latest Malyan M200Configuration.h
and Configuration_adv.h` files from this repo.Enabling
#define NOZZLE_PARK_FEATURE
allows the compile to succeed, but the resultingfirmware.bin
does not operate as expected on a M200 V2 printer.My Configurations
Exact copies of the latest
Configuration.h
and Configuration_adv.h` files from this point in history: https://github.com/MarlinFirmware/Configurations/tree/8f4c32893feecbf1246cddd963ec5032e1d24c2c/config/examples/Malyan/M200Steps to Reproduce
git checkout bugfix-2.0.x
Configuration.h
andConfiguration_adv.h
from the above linkenv:STM32F070RB_malyan
section in thePROJECT TASKS
listClean
, verify clean operation succeedsBuild
#define NOZZLE_PARK_FEATURE
inConfiguration.h
Build
againExpected behavior: Successful build that has close to working configurations for this printer
Actual behavior: Build fails and simple modification to get the build to pass still has multiple issues on the printer.
Additional Information
I understand that recent work has been underway to get Marlin working on these printers... but the state of that work is not fully discover-able.
I'm using Octoprint connected over USB to control the printer for testing. Here is the current status of the build output by these configurations after flashing it to the printer:
I'm willing to help test changes, I just don't know where to being in a way that is actually helpful.
Error output from building without
NOZZLE_PARK_FEATURE
enabled: