NDK on evmc6678l err : ti.sysbios.heaps.HeapMem: line 354: assertion failure: A_invalidFree: Invalid

徘徊边缘 提交于 2020-08-08 21:00:17

NC_NetStart abort

问题:

Hi, I am running a client example in NDK on evmc6678l. The project abort and the console print:

QMSS successfully initialized
CPPI successfully initialized
PA successfully initialized

TCP/IP Stack Example Client
PASS successfully initialized
Ethernet subsystem successfully initialized
Ethernet eventId : 48 and vectId (Interrupt) : 7
Timeout waiting for reply from PA to Pa_addMac command
ti.
sysbios.heaps.HeapMem: line 354: assertion failure: A_invalidFree: Invalid free
xdc.runtime.Error.raise: terminating execution




I debuged and found it's abort at NC_NetStart(), as show below:

do
{
rc = NC_NetStart( hCfg, NetworkOpen, NetworkClose, NetworkIPAddr );
} while( rc > 0 );


I never modify the source code which TI provide.

 

解决方法:

Can you try the following:

  1. pause the core(s) running the code
  2. Do a system reset
  3. Run global default setup from the GEL script
  4. reload and re-run your program

This will do a SOC reset in-between runs. Without doing an SOC reset, the next program run will take on the previously-initialized hardware settings.

System Reset:

Global Default Setup (note that you must have loaded the GEL script beforehand. Refer to "Loading and Setting up the EVM with the Gel File" section in the GSG http://processors.wiki.ti.com/index.php/BIOS_MCSDK_2.0_Getting_Started_Guide#Use_JTAG_to_Load_the_Application)

Let me know if this works.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!