This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

issue to execute Hello world NDK example on C6678EVM.

Other Parts Discussed in Thread: SYSBIOS

Hello

This is Mr. Park.

 

I have issue to use NDK

NDK hello world example named "client_evmc6678l" in MCSDK 2.1.2.6.

 

EVM: TMDSEVM6678LE Rev 3B

IDE: CCS 5.5

MCSDK: version 2.1.2.6

PDK : version 1.1.2.6

NDK: 2.21.2.43

==================================================

in the runtime, CCS show me the log below.

 

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 370: assertion failure: A_invalidFree: Invalid free

xdc.runtime.Error.raise: terminating execution

 

resulted from

nimu_eth.c

    if (j == 100)     {      

                     platform_write ("Timeout waiting for reply from PA to Pa_addMac command\n");       

                     Osal_nimuFree (pCmdDataBuffer, cmdbuf_len);        

                     ret_val = -1;    

                              }

 

Can you help me?

Please let me know how to resolve?

 

Regard

Mr Park.

 

 

  • Park,

    The pre-build under C:\ti\mcsdk_2_01_02_06\examples\ndk\client\evmc6678l\Debug\client_evmc6678l.out should be able to run as it is without any issue.

    - Put DSP in no-boot mode

    - Connect core 0, use GEL to do initialization

    - Load .out and run (my log below).

    Regards, Eric

    =====

    [C66xx_0] QMSS successfully initialized

    CPPI successfully initialized

    PA successfully initialized

    TCP/IP Stack Example Client

    Configuring DHCP client

    PASS successfully initialized

    Ethernet subsystem successfully initialized

    Ethernet eventId : 48 and vectId (Interrupt) : 7

    Registration of the EMAC Successful, waiting for link up ..

    Service Status: DHCPC : Enabled : : 000

    Service Status: Telnet : Enabled : : 000

    Service Status: HTTP : Enabled : : 000

    Service Status: DHCPC : Enabled : Running : 000

    Network Added: If-1:158.218.109.232

    Service Status: DHCPC : Enabled : Running : 017

  • Hello,  

    Thank you for your help.

    I got a problem.

    in the 1st time, it works.

    But from in the 2nd running normally after I make debug session, PA_addMac timeout error occur.

    If I reset target, and attach faster before finishing execution of application.

    then I can check example is running.

    thank you for your care.

    And If i got another question, I will make new post.