Skip to content

FeatherS3 Hard Crash When Setting RTC #10771

@sco1

Description

@sco1

CircuitPython version and board name

Adafruit CircuitPython 10.0.3 on 2025-10-17; FeatherS3 with ESP32S3

Code/REPL

import rtc
import time
from adafruit_featherwing import tft_featherwing_35


r = rtc.RTC()
r.datetime = time.struct_time((2019, 5, 29, 15, 14, 15, 0, -1, -1))
print("set RTC")

print("pre-init")
fw = tft_featherwing_35.TFTFeatherWing35V2()
print("post-init")

Behavior

Auto-reload is off.
Running in safe mode! Not running saved code.

You are in safe mode because:
CircuitPython core code crashed hard. Whoops!
Hard fault: memory access or instruction error.
Please file an issue with your program at github.com/adafruit/circuitpython/issues.
Press reset to exit safe mode.

Description

I've been working on bumping my Skyportal lib from CP 9.2.2 to 10.0.3 and have run into this hard fault during initialization of the device. I believe I have narrowed it down to the initialization step where the RTC is set from a timestamp provided by AIO, but seems to be reproduced with the simpler example above.

Other hopefully relevant information:

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions