-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
[BUG] Unable to build Malyan/M200 v1 example configuration according to its README.md #900
Comments
add |
Thanks, I'll give that a go and report back. Is figuring out the correct clockspeed a matter of trial and error, or can I otherwise verify it? |
It something broken/wrong/different in arduino ide.. works fine in platformio, and breaks if you add the define. so currently you cannot win. |
I can confirm adding the line at least completes the build in Arduino IDE (with the deprecated STM32 Cores 1.9.0 at least, 2.4.0 completed the build too but overshoots the flash size), I'll test the resulting build once my brother's awake in a few hours and I can access the printer.
From what I saw there were attempts to make this build with platformio in the past, but I can't find if they ever ended up fully working. |
Well, the firmware installs, and beyond that I have no idea. It doesn't show up over serial and it doesn't seem to connect to the LCD over serial either. Could this be related to the CPU frequency being wrong? I have no idea what it is used for. I tried both the instructions from the README.md and the ones from @xC0000005's original repo, both with just the unmodified (except for the |
If you are trying to flash a V1 and not getting USB serial, be absolutely certain the board overrides to toggle that pull-up
are present, t’s required to signal USB bus enumeration on the V1.
… On Mar 6, 2023, at 9:33 AM, Sebastiaan ***@***.***> wrote:
Well, the firmware installs, and beyond that I have no idea. It doesn't show up over serial and it doesn't seem to connect to the LCD over serial either. Could this be related to the CPU frequency being wrong? I have no idea what it is used for.
Interestingly, if I change the board version to v2 (despite the board being a v1 pretty sure, no back fan), the sensors do start working, briefly, before bootlooping.
Either way it seems like there's more not (longer) accurate about this example config, at least for the v1.
I tried both the instructions from the README.md and the ones from @xC0000005 <https://github.com/xC0000005>'s original repo, both with just the unmodified (except for the F_CPU line) config files from this repo, and neither seem to produce a working build for the v1 (anymore).
—
Reply to this email directly, view it on GitHub <#900 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AHVGS4IOCB36OUEGUT5UJ6TW2YNWBANCNFSM6AAAAAAVQSRW3U>.
You are receiving this because you were mentioned.
|
I... hm. Okay, so I was sure I was working with a V1 here since it matched all exterior descriptions AFAICT, and this especially sounded pretty definitive:
Well, after I couldn't get v1 firmware working I flashed v2, and as mentioned it bootlooped. Then I came across Marlin#23716, tried the mentioned workaround, and it... just worked? So apparently this printer (a new 2nd hand aquisition) is a v2 despite visually matching the v1. Anyway, to get back to the actual issue at hand, aside from me picking the wrong version, the example config seems to work, with 2 changes:
Should I create a PR to update the documentation reflecting this? |
Bug Description
Exactly following the instructions from the README.md, without any changes to the example configs, I am unable to finish the building process due to the following error:
This error happens on both the suggested (now deprecated) STM32 Cores versions 1.8 and 1.9 (1.7 fails on a different error) and on the latest STM32 2.4.0.
I have tested both the 2.1 stable and 2.1 bugfix/nightly branches/configs.
Configuration Files
Required: Include a ZIP file containing
Configuration.h
andConfiguration_adv.h
.Unmodified configs straight from the repo, repacked into a zip:
Marlin.zip
Steps to Reproduce
Simply follow the installation instructions from the Maylan/M200 v1 README.md.
Expected behavior:
A completed build.
Actual behavior:
No completed build.
Additional Information
Full build log:
marlinfull.log
EDIT: The same issue also happens in 2.0.9.5 it seems.
The text was updated successfully, but these errors were encountered: