Skip to content
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] Marlin freezes on boot screen on Archim 2 except when serial connection is made at startup #23991

Closed
marciot opened this issue Apr 3, 2022 · 2 comments · Fixed by #24182

Comments

@marciot
Copy link
Contributor

marciot commented Apr 3, 2022

Did you test the latest bugfix-2.0.x code?

Yes, and the problem still exists.

Bug Description

When using a RepRapDiscount screen on an Archim 2, Marlin is locking up on the screen with the Marlin logo before reaching the main menu.

While attempting to troubleshoot this, I noticed that if I quickly opened a Putty serial console to the board right after pushing reset, I would see serial output and the board would boot correctly to the main menu and be fully useable. However, if I did not open the serial connection, the board would freeze at startup.

The board will also freeze if no serial cable is attached.

Bug Timeline

This seem to have begun somewhere after January 22nd, which was the last time I pulled from upstream and everything worked.

Expected behavior

I should be able to boot the board without an USB cable or without making a serial connection to it.

Actual behavior

The only way to make the board useable is to quickly connect to it using Putty right after pushing reset. Since pushing reset causes any pre-existing serial connection to be dropped, this requires quite a bit of precise timing to get to work.

Steps to Reproduce

  1. Reset board with out serial cable.
  2. Board freezes on Marlin logo
  3. Connect serial cable to computer
  4. Push reset
  5. Board freezes on Marlin logo
  6. Open Putty and configure it to connect to Marlin
  7. Push reset and immediately hit the "Open" button in Putty
  8. See text on Putty console and watch board successfully boot

Version of Marlin Firmware

bugfix-2.0.x

Printer model

Bare controller with display (reported by user with TAZ 6)

Electronics

Ultimachine Archim 2

Add-ons

No response

Bed Leveling

No response

Your Slicer

No response

Host Software

No response

Additional information & file uploads

Configuration.zip

marciot added a commit to drunken-octopus/drunken-octopus-marlin that referenced this issue May 16, 2022
- Fixes regression on Due due to refractoring work in commit MarlinFirmware#23357
- Fixes MarlinFirmware#23991
@thisiskeithb
Copy link
Member

Closing since PR has been created.

@github-actions
Copy link

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.

@github-actions github-actions bot locked and limited conversation to collaborators Jul 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants