Skip to content

[BUG + FIX] USE_USB_COMPOSITE on STM32F103RC while using serial causes firmware to freeze #16509

@Loafdude

Description

@Loafdude

Bug Description

Using SKR 1.2 Mini E3 (STM32F103RC) on Ender 3 Pro.
When using STM32F103RC_bigtree_512K everything is OK
When using STM32F103RC_bigtree_512K_USB firmware can freeze and cause overheat.
Using 2.0.x-bugfix branch

config files attached.

Steps to Reproduce

  1. Flash Merlin 2.0.x-bugfix using enviroment STM32F103RC_bigtree_512K_USB
  2. Connect USB (tried with and without 5v supply from USB host)
  3. Connect to Serial Port (I used Pronterface)
  4. Issue a command (I used M303 S240 C10 to start PID autotune)
  5. Serial will perform normally for a time (60sec perhaps)
  6. LCD will freeze, Serial traffic will stop. Hotend continues to heat.
  7. If you reconnect to the serial port the LCD display will start working and serial will respond again. It will freeze up again around 60 sec later. You can repeat this process to keep the firmware running

I have overtemp protection on which is still functional and causes alarm on the printer.
Switching to non USE_USB_COMPOSITE environment appears to be OK

Loafdude Config.zip

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