Skip to content

stmhal: WDT hangs after programming #2635

Open
@dhylands

Description

@dhylands

I discovered an interesting quirk related to the IWDG.

If I program my pyboard using pydfu, then trying this in the REPL immediately afterwards hangs:

>>> wdt = machine.WDT(0, 5000)

By hangs, I mean it never returns the REPL. I added some debug prints and it seems to stuck in the IWDG->SR & 1 loop and the value of SR is 3.

If I hit the RESET button, then the wdt = machine.WDT(0, 5000) works exactly as expected.

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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy