-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
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] EasyThreeD K7 STM32 (mks_robin_lite/mks_robin_lite_maple) - Firmware does not boot after Marlin 2.0.9.3 #25346
Comments
Could you run a git bisect between the 2.0.9.3 and 2.0.9.4 using maple build env Should be easy enough to find what broke it, later can look at non maple Commits id's for these releases.
Please do the following
It will reply with
{starts to repeat here:} <---- just a label. you will loop back to here later. Apply a minimal config and build with environment mks_robin_lite_maple and upload. undo your config changes back to stock code. Ready for the next test If the build works enter
If the build doesn't work enter
git will select a new commit id to test and you go back to {starts to repeat here:} At the end it will tell you what commit id broke it, and we can look more closely at what changed. |
Thanks for the clear instructions. Output below: b6abc76 is the first bad commit
:040000 040000 2cdf2b394dade40584b2f2d2632697de9c15ef79 8d580a4ef28d306e38e14a69d27fb87267240170 M .github |
I was looking around the differences from the old and new binary's and noticed they where very different from 320 onward.. That number rang alarm bells, some mks firmware are encrypted from 320 to 31040 A quick check back. The original 2.0.9.3 code encrypted the firmware edit ini/stm32f1-maple.ini replace
with
I suspect this one line change will fix it for maple. |
Changing "board_build.encrypt_mks" in ini/stm32f1-maple.ini was successful, the printer now boots with the latest firmware (there is one error in easythreed_ui.cpp relating to the use of "card.ls();", but I commented that out for testing). Thank you for your fast and insightful assistance. |
#24679 broke card.ls(); it added a compulsory flag, but not all code was updated.. |
Cannot see any obvious issue with mks_robin_lite, but I also cant find a schematic or even a pins diagram... Try adding to the end of the mks_robin_lite environment build_flags = ${stm32_variant.build_flags} |
The DTIMER changes did not work for mks_robin_lite Here is the board schematic https://github.com/schmttc/EasyThreeD-K7-STM32/blob/Additional-Files/ET4000%2B.pdf |
try
|
No success for this either. I note that in version 2.0.9.1 where the only board option is "mks_robin_lite", it is actually being built with _maple, and is named incorrectly in ini/stm32f1-maple.ini |
Did you test the latest
bugfix-2.1.x
code?Yes, and the problem still exists.
Bug Description
Note: There are two board options for compiling: mks_robin_lite_maple, and mks_robin_lite
Test Matrix
2.0.9.1 (pre-merged build) Only option for mks_robin_lite. This runs
2.0.9.3 (code accepted to main) mks_robin_lite_maple runs, mks_robin_lite does not run
2.0.9.4 mks_robin_lite does not run, mks_robin_lite_maple does not run
2.0.9.5 mks_robin_lite_maple does not run, mks_robin_lite does not run
2.1 mks_robin_lite doesn't run, mks_robin_lite_maple doens't run
2.1-bugfix mks_robin_lite doesn't run, mks_robin_lite_maple doens't run
Bug Timeline
Marlin 2.0.9.4
Expected behavior
Actual behavior
Steps to Reproduce
Version of Marlin Firmware
2.0.9.4
Printer model
EasyThreeD K7
Electronics
Board: ET4000+
Add-ons
No response
Bed Leveling
None
Your Slicer
None
Host Software
Repetier Host
Don't forget to include
Configuration.h
andConfiguration_adv.h
.Additional information & file uploads
No response
The text was updated successfully, but these errors were encountered: