KW45-SDK 2_16_000 assert check failed when Host_TaskHandler() call MSG_Free()

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

KW45-SDK 2_16_000 assert check failed when Host_TaskHandler() call MSG_Free()

445 次查看
BLEDev
Contributor II

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:

BLEDev_3-1721968110634.png

Where the assertion error occurs:

BLEDev_2-1721968078460.png

Thanks!

0 项奖励
回复
4 回复数

424 次查看
nxf77486
NXP TechSupport
NXP TechSupport

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.

nxf77486_1-1722016107027.png

 

 

0 项奖励
回复

386 次查看
BLEDev
Contributor II

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() ?

BLEDev_0-1722482579895.png

Thanks

0 项奖励
回复

384 次查看
BLEDev
Contributor II

Hi,

I meant Host_TaskHandler_8

Thanks

0 项奖励
回复

361 次查看
nxf77486
NXP TechSupport
NXP TechSupport

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.

0 项奖励
回复