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

NC_NetStart abort

問題:php

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

QMSS successfully initialized
CPPI successfully initialized
PA successfully initialized

ide

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




ui

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

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


spa

I never modify the source code which TI provide.debug

 

解決方法:code

Can you try the following:component

  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.server

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.

相關文章
相關標籤/搜索