MarlinFirmware / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.

Home Page:https://marlinfw.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] [bugfix-2.0.x] FILAMENT_WIDTH_SENSOR causes controller to freeze

klcjr89 opened this issue · comments

Description

Enabling the FILAMENT_WIDTH_SENSOR feature causes my Azteeg X5 mini v3 controller board to hang/freeze and is nonresponsive.

Steps to Reproduce

• Uncomment the FILAMENT_WIDTH_SENSOR definition to enable the feature.
• Compile firmware and place on SD card.
• Turn power switch on to controller and let it flash the new firmware.
• Firmware/controller freezes after Marlin boots and after a few seconds have passed (5 or less seconds).

Expected behavior:

I expect the controller board to not freeze.

Actual behavior:

The controller board freezes and is unusable. The screen freezes, and the encoder is unresponsive to clicks.

Additional Information

Zip file attached of config and board pin files.
ConfigFiles.zip

Do you get any output from the serial monitor via your host software?

Do you get any output from the serial monitor via your host software?

I don't use host software.

Any update on fixing this?

Using Host software will provide more information than what we have now.

Any update on the full set of error messages being produced?

I don't see how host software will report anything if the controller freezes. Regardless, I will hook it up if you want me to.

I just connected it to my computer, and it doesn't report anything of use before the controller freezes and disconnects from the computer..

Image

Do I need to send M111 before the controller hangs? If so, what gcode mask bit do I need to send appended to M111?

Any update on how to fix this and debug?

@Bob-the-Kuhn Any tips?

@thinkyhead What can be done? I'm struggling to figure this out.

Discussed with the user on Discord and we found the issue. @klcjr89 can you close this once the above PR is merged?

closing as the PR has been 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.