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.

Add_MACAddress problem

I think there might be a bug in Add_MACAddress in C:\ti\pdk_C6678_1_1_0_3\packages\ti\transport\ndk\nimu\src\nimu_eth.c

On line 2124, there is an extra free that is causing an assert in the heap system...you can see if execution hits the line in blue, it drops through and tries to free the same memory pointer again...

 

    if (j == 100)
    {
        platform_write ("Timeout waiting for reply from PA to Pa_addMac command\n");
        Osal_nimuFree (pCmdDataBuffer, cmdbuf_len);
        ret_val = -1;
    }

return_fail:

    Osal_nimuFree (pCmdDataBuffer, cmdbuf_len);

    return (ret_val);
}

  • Thanks for bringing this to our attention.

    We will try to recreate the issue and if an error is found, we will fix in the future release. In the meanwhile, could you please describe your setup. Like - the version number of MCSDK, NDK and PDK, EVM-bootmode . Are you using any of the tests that come packaged in MCSDK ?

    Thanks
    Varada