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.

Integration of NDK 2.20.06.35 in DM6435

Hello,

after updating my stack.lib of my old NDK 1.93 to the new NDK 2.20.6.35 on my DM6435, my device hang up. After setting some breakpoints, I found the debug error message in pbm.c:

PBM_enq: Invalid Packet

What causes this problem? I only updated the stack.lib, nothing else.

  • Hi Kevin,

    Thanks for your post.

    It is not recommended to replace stack.lib as such of NDK 1.93 to the new NDK 2.20.6.35 since all libraries of NDK 2.20.6.335 release have been compiled to be IPv6 and NIMU compliant. Also, the  low-level (LL) packet driver architecture has been deprecated since NDK v2.0.0 release.

    The NDK stack in this release supports SYS/BIOS 6.30.00.28 (or greater), DSP/BIOS 5.41.05.20 (or greater) and is meant to be used with CCSv4. Do you have all compliant bios version & ccs version specified here?

    Please check the GA release notes of NDK 2.20.6.35 for the known issues, compatibility and upgrade info. from the below:

    http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ndk/2_20_06_35/exports/ndk_2_20_06_35/ndk_2_20_06_35_ReleaseNotes.html#Rebuilding_The_Core

    In my opinion, try to review the source code of stack.lib of old NDK 1.93 and need to analyse what changes need to be identified for the new NDK release 2.20.6.35, rebuild the NDK libraries after source of the corresponding library is modified and it needs to be linked to the NDK application project which you were working. In general, this would be the ideal way of integrating any library of old software release to new one.

    Thanks & regards,

    Sivaraj K

    -------------------------------------------------------------------------------------------------------
    Please click the Verify Answer button on this post if it answers your question.
    -------------------------------------------------------------------------------------------------------

     

  • Thanks for your quick answer!

    I already solved the problem, but you were somehow right. I guess the problem was caused by the structure "typedef struct sockaddr" in socket.h. In NDK 2.20 there is another structure called "typedef struct sockaddr_in", which replaced the use of the old one. The problem was, that in my source code, I only used sockaddr, so I had to change this structs to sockaddr_in. Now it works without error.

    So the solution was to compare the old code with the new code.

  • Hi Kevin,

    Thanks for your update.

    If your issue gets fixed, kinldy close the post by performing the action below;

    -------------------------------------------------------------------------------------------------------
    Please click the Verify Answer button on this post if it answers your question.
    -------------------------------------------------------------------------------------------------------
    Thanks & regards,
    Sivaraj K