STM32H743 Micropython V1.23 Coroutine Error: 'SingletonGenerator' object has no attribute 'exc' after long runtime #18360
Answered
by
peterhinch
chiyu-Charon
asked this question in
Core Development
-
Beta Was this translation helpful? Give feedback.
Answered by
peterhinch
Nov 7, 2025
Replies: 1 comment 8 replies
-
|
Given that the error is occurring in |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Calling gc every 5s is fine. In asynchronous applications this easily done and is the approach I use. If you have 50MB of free RAM it seems unlikely that fragmentation is the problem unless you're creating and destroying large (>1MB) objects.
I'm stumped for answers here, except to re-iterate that missing attributes do suggest a RAM issue. Could there be a hardware problem with your extra RAM?