-
Notifications
You must be signed in to change notification settings - Fork 56
memory allocation error in simpletest #182
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
Do you see the same memory issues on nRF52840 in the second case? Development on the BLE support on ESP32-S3 got stalled because we couldn't add services dynamically. We are considering how to fix this but it's a big job. I wonder if this is a core bug. |
I see it on both the esp32s3 and on the nrf52840 with both programs. It is intermittent - sometimes it occurs frequently and sometimes it takes a 10s of seconds.
Could it be reacting to a particularly odd packet? |
It is working - with the try/except - on both the esp32s3 and on the nrf52840. |
Do you see this on 7.3.3 as well, on nRF52840? |
So far, I have not been able to reproduce it on the nrf52840 with 7.3.3 |
Is it always 60k bytes to allocate? |
I have this issue on a nRF52840DK too, running a slightly modified BLE UART example:
I eventually get the memory allocation error:
Where line 21 was |
I have been testing BLE on both a feather_esp32s3 no-psram and on an itsybitsy_nrf52840 and I am seeing the same failure when running the ble_simplest.py. It scans for awhile, then crashes with a memory failure. The failure can happen immediately or after some time.
Is this a known issue?
this was run with
Adafruit CircuitPython 8.0.3 on 2023-02-23; Adafruit Feather ESP32S3 No PSRAM with ESP32S3
with the example from the bundle
results
I also have a test program to receive beacon packets and it has the same issue. I have implemented a try/except workaround, but is there something else I should be doing?
using this code
The text was updated successfully, but these errors were encountered: