-
Notifications
You must be signed in to change notification settings - Fork 3k
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
UBLOX_EVK_ODIN_W2 - IAR - hard faults with mbed-os-example-client & Mbed OS 5.9 #7137
Comments
@ARMmbed/team-ublox |
CC: @KariHaapalehto please study. |
Tried to reproduce with the driver source code but didn't get the hard fault. We will look it soon. |
ARM Internal Ref: MBOTRIAGE-434 |
Internal u-blox ref: TE_OM2-197. |
Running out of memory. I did say from the heap traces that in this case heap allocation did fail. |
Made a pull request to increase the heap on IAR. #7289 @asifrizwanubx We are seeing an increase on heap usage on Odin wlan driver during initialization from 5.8 to 5.9. Are e.g. the thread stack sizes allocated by driver optimized? |
@mikaleppanen there is no change/update in drivers related to thread stack sizes. |
But there are changes related to memory allocation, static memory allocation mostly changed in drivers. @mikaleppanen |
@mikaleppanen @asifrizwanubx Is the #7289 PR fixing this issue? |
Yes, tested mbed-os-example-client with the changes and error does now occur anymore. |
yes, I have verifed it. |
Thanks for the verification ! |
Not yet merged, too fast closing :) |
When will this get merged? Known issue list with the Mbed OS boards is just getting longer and longer... |
Correction has been merged: |
Decreased stack size from 24kB to 1kB (stack is used on boot-up/interrupt handler). Increased heap size from 65kB to 89kB. Change is related to issue #7137 where UBLOX_EVK_ODIN_W2 runs out of heap on WLAN.
Decreased stack size from 24kB to 1kB (stack is used on boot-up/interrupt handler). Increased heap size from 65kB to 89kB. Change is related to issue #7137 where UBLOX_EVK_ODIN_W2 runs out of heap on WLAN.
Description
Code in: https://github.com/ARMmbed/mbed-os-example-client/tree/mbed-os-5.9.0-oob
Put in your WiFi SSID/password to
mbed_app.json
.Replace
security.h
with the downloadedsecurity.h
from Mbed Connector.Flash to device, start it.
Issue request type
More details in; ARMmbed/mbed-os-example-client#405 (comment)
The text was updated successfully, but these errors were encountered: