-
-
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] bugfix-2.0.x: "Init KILL, SUICIDE, PSU earlier (#20810)" [ b9ed1395] results in boot loop on LPC1768 platform. #21297
Comments
It's not clear from your report since the referenced commits are from January, but have you tried the latest |
Yes sir, in fact, that's why I reverted to a known good and spent quite a while applying, reverting and compiling commits until I narrowed it down to the aforementioned culprit. Upon closer inspection I might have found a lead: in MarlinCore.cpp moving
so it sits before the PSU_CONTROL init seems to fix it. Maybe someone with a similar setup can verify that. I vaguely remember having the TMC in the wrong order and breaking the boot sequence a year or so ago. If I can be of more help, please let me know. |
I'm now on the latest commit and the issue did not reappear. To confirm the suspicion I placed
which results in getting stuck in the boot loop again. |
Great news! |
I added a proposed fix for the issue: b7f0391 |
So this issue isn't resolved? |
I'm sorry, I didn't word that right: |
Got it. Since you've provided a fix, it'd be faster if you submitted a Pull Request so it can be reviewed. |
Merged. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Bug Description
bugfix-2.0.x commit b9ed139 "Init KILL, SUICIDE, PSU earlier (#20810)" results in boot loop on LPC1768 + RAMPS platform.
My stepper drivers are TMC2208.
Configuration Files
Conf_files_b9ed1395.zip
Just to be sure, here's my pins_RAMPS_RE_ARM.h file for my modified RAMPS 1.4 board.
pins_RAMPS_RE_ARM.zip
Steps to Reproduce
Have a LPC1768 + RAMPS 1.4 setup and flash bugfix-2.0.x b9ed139
Expected behavior:
after a reset the controller fan should start up and stop again for about ~0.4s 3 times in a row before stopping again. The bed would start heating during that short time period. Then the marlin logo should appear in display and the printer should go to idle with all IO pins including bed heater having their respective level set.
Actual behavior:
Controller fan spins up and doesn't stop. Heating bed keeps on heating and display stays blank forever.
Additional Information
Reverting the commit and going back to 85d61de fixes the issue again.
The text was updated successfully, but these errors were encountered: