Skip to content
This repository was archived by the owner on Mar 7, 2026. It is now read-only.
This repository was archived by the owner on Mar 7, 2026. It is now read-only.

Target hangs after several software resets, not possible to attach afterwards #970

@pavel-kirienko

Description

@pavel-kirienko

This ticket is split from #968 (comment). The target is STM32F446, GDB version GNU gdb (GNU Arm Embedded Toolchain 10.3-2021.10) 10.2.90.20210621-git.

  1. Define a catchpoint as follows:
catch signal SIGTRAP
commands
    continue
end
  1. Attach, load, run.

  2. Make the firmware execute a soft reset at one point by calling NVIC_SystemReset().

  3. Observe the notification from GDB that the catchpoint was hit on reset. Execution will continue as expected.

  4. Go to step 3. At approx. 3rd-6th iteration the target hangs and it is no longer possible to attach (see error messages below) until the target is power cycled.

Ignoring packet error, continuing...
warning: unrecognized item "timeout" in "qSupported" response

This problem can be reproduced reliably with #969 and never with v1.7.1-131-g560a046 (i.e., the latest release).

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugConfirmed bug

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions