Skip to content

[BUG] PID Autotune in combination with hybrid USB causes lockup #19187

@swilkens

Description

@swilkens

Update

See #19187 (comment) for new insights

For now, it seems the lockups with the PID autotune are related to the use of the Hybrid USB mode.


Bug Description

Using Marlin 2.0.6.1, initiating PID autotune over a serial connection will lock up the control board until said serial connection is interrupted (USB cable removed), resulting in thermal protection (constant beeping)

Considering the only commit after 2.0.6.1 at the moment is a date change, this can be considered current bugfix.

My Configurations

2.0.6.1.sw.zip

STM32F103RC_btt_512K_USB

Steps to Reproduce

  1. M303 C3 S200 over Serial
  2. Watch temperature on LCD increase
  3. Notice LCD interface locks up
  4. Remove UBS cable from computer
  5. Notice LCD interface resumes as expected

If the USB cable is left attached (serial connection left active), the printer will eventually go into thermal protection.

Additional Information

LCD interface will eventually lock up as well, regardless of serial connectivity. Will stop responding to button input and stop updating temperature values.

Nothing is fed back trough the serial connection;

M303 E0 S200 C3
SENDING:M303 E0 S200 C3
PID Autotune start

And nothing follows.

Confirmed to also happen on 2.0.6.0 by user Skorpi on Discord.

Possibly related

#19148
#19186

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions