-
Notifications
You must be signed in to change notification settings - Fork 1.3k
After 15 min or so my FeatherS3 crashes unexpectedly #7405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Could you try CircuitPython 8.0.0-beta.6 and see if the problem is still present? |
This is superficially similar to #6791 which also has an S3 and a BME280 sensor. |
Oh that's right Jepler it is very similar, thank you so much for reaching out to me I've been reading his thread and I think there's a solution already for this, I'll finish reading it and update this Hope you're having a good day! |
Of course! I'll tried it out and update this on a moment Thanks for your help |
@xav-e Is it still happening? |
Hello is happening for me in my
try:
while True:
x, y, z = [
value / adafruit_lis3dh.STANDARD_GRAVITY for value in lis3dh.acceleration
]
movement = abs(y * 10)
output = {
"movx": movement,
}
print("Publishing to %s" % mqtt_topic)
print(movement)
client.publish(mqtt_topic, json.dumps(output))
time.sleep(300)
except Exception as e:
print("Error:\n", str(e))
print("Resetting microcontroller in 10 seconds")
time.sleep(10)
microcontroller.reset()
|
Eligible for a retest with 8.0.5 stable. I'm at 2 hours stable on the UM FeatherS3 currently. |
Please re-test once we've merged IDF 5 support into CircuitPython 9. |
Is there a build where this can be tested now? |
Not quite. I'm working on it now. |
Could you now test with a 9.0.0-alpha release? Thanks. |
Please comment if this is still an issue and we'll reopen. (Or file a new issue.) |
CircuitPython version
Code/REPL
Behavior
soft reboot
Auto-reload is off.
Running in safe mode! Not running saved code.
You are in safe mode because:
CircuitPython core code crashed hard. Whoops!
Crash into the HardFault_Handler.
Please file an issue with the contents of your CIRCUITPY drive at
https://github.com/adafruit/circuitpython/issues
Press any key to enter the REPL. Use CTRL-D to reload.
Adafruit CircuitPython 7.3.3 on 2022-08-29; FeatherS3 with ESP32S3
FeatherS3DriveContents.zip
Description
The board is the FeatherS3 by Unexpected Maker, it runs okay for like 15min or so and everything works in the server side too, but then it crashes and I do not know why. I've tried to increase the delays, commented out the unsubscribe and disconnect blocks and moved out the connect and subscribe blocks outside the infinite loop. Prior to this changes, all these blocks were run sequentially, but it still crashed after a while.
I admit I'm still getting the hang of all this, but I honestly see no error in neither the wiring nor the code. The only thing I can think of its maybe one of the sensors crashes after a while so everything then crashes.
Or maybe is my internet connection, I've seen that when my UPS internal relays switch to stabilize the power grid voltage of my house this happens too, but as of writing this has happened without that happening
Additional information
The board is the FeatherS3 by Unexpected Maker, it runs okay for like 15min or so and everything works in the server side too, but then it crashes and I do not know why. I've tried to increase the delays, commented out the unsubscribe and disconnect blocks and moved out the connect and subscribe blocks outside the infinite loop. Prior to this changes, all these blocks were run sequentially, but it still crashed after a while.
I admit I'm still getting the hang of all this, but I honestly see no error in neither the wiring nor the code. The only thing I can think of its maybe one of the sensors crashes after a while so everything then crashes.
Or maybe is my internet connection, I've seen that when my UPS internal relays switch to stabilize the power grid voltage of my
The text was updated successfully, but these errors were encountered: