Skip to content

microcontroller.ResetReason.SOFTWARE with 7.0.0-rc.2 but no microcontroller.reset() in code #5361

@anecdata

Description

@anecdata

CircuitPython version

Adafruit CircuitPython 7.0.0-rc.2 on 2021-09-15; Adafruit Metro ESP32S2 with ESP32S2

Code/REPL

No known minimum reproducible example.

Behavior

Spurious microcontroller.ResetReason.SOFTWARE during operation, but there is no microcontroller.reset() in either boot.py or code.py.

No unusual serial activity prior to rebooting. No tracebacks detected after restart.

I can't reproduce it on demand, only observed once in the 24 hours since installing rc.2.

Thought it worth noting that there seems to be some path for this to occur.

Description

No response

Additional information

[tio 19:32:24] Disconnected
[tio 19:32:28] Connected
boot_out.txt:
Adafruit CircuitPython 7.0.0-rc.2 on 2021-09-15; Adafruit Metro ESP32S2 with ESP32S2
Board ID:adafruit_metro_esp32s2
boot.py output:
{"ns": 3102386486, "run_reason": "supervisor.RunReason.STARTUP", "traceback": "None", "reset_flag": [0, 1], "boot_py_ver": "3.14.6", "ms": 536808478, "reset_reason": "microcontroller.ResetReason.SOFTWARE", "s": 3.102}

boot.py traceback:
None

code.py traceback:
None

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugespressifapplies to multiple Espressif chips

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions