forked from micropython/micropython
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
adafruit/Adafruit_CircuitPython_DotStar
#71Closed
Copy link
Labels
Milestone
Description
This basic reproducer code seems to consistently cause a hard crash on the Fun House. It is a very pared down version of this project: https://learn.adafruit.com/funhouse-mail-slot-detector code
from adafruit_funhouse import FunHouse
funhouse = FunHouse(default_bg=None, scale=3)
def send_io_data(mail_value):
funhouse.network.push_to_io("mail", mail_value)
print("before send to io")
send_io_data(1)
print("after send to io")
I have tested on both of these versions and behavior is the same on both.
Adafruit CircuitPython 9.2.8 on 2025-05-28; Adafruit FunHouse with ESP32S2
Adafruit CircuitPython 10.0.0-beta.0 on 2025-07-15; Adafruit FunHouse with ESP32S2
When the code runs it prints
before send to io
Connecting to AP NetworkName
Then seems to get stuck. The USB serial and file connection disconnect after a few seconds. After several more seconds eventually the device reboots and comes in safe mode with this hard crash message:
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.
Press any key to enter the REPL. Use CTRL-D to reload.