Hello NXP,
After migrating SDK 2_16_000 when starting ble advertising, my SW crashed, it seems to be heap memory problem. How to fix this? please help check!
Note: I have tested my software with SDK 2_12_0 and 2_12_7 and did not see this problem.
Call stack:
Where the assertion error occurs:
Thanks!
Hello,
Thank you for contacting NXP support.
Can you please help me by using the RTOS tool of MCUXpresso, this is located on the Tool Bar, click on RTOS and Heap Usage, this would help us to know which task could be the problem. Please share with me a screenshot of this.
Also if it is possible can you please test with an SDK example.
Hello,
I don't use MCU Xpresso IDE. I used MEM_GetFreeHeapSize() and found that the free heap is ok (MinimalHeapSize_c = 66000) and when I run only Host task the error still happen. It's possible a problem of Host_TaskHandler() ?
Thanks
Hi,
I meant Host_TaskHandler_8
Thanks
Hello,
I understand, can you please help me with the SDK example you are currently using, if you are running a custom example, I will recommend for purposes of testing to use and SDK example in order to determine if there is any trouble related to the SDK software version, as you mention you don’t face this troubles with previous SDK software versions.