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

330件の閲覧回数
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 返答(返信)

309件の閲覧回数
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 件の賞賛
返信

271件の閲覧回数
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 件の賞賛
返信

269件の閲覧回数
BLEDev
Contributor II

Hi,

I meant Host_TaskHandler_8

Thanks

0 件の賞賛
返信

246件の閲覧回数
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 件の賞賛
返信