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.

AM437X: NDK or lwIP example

Other Parts Discussed in Thread: SYSBIOS

Does anyone know of any sample code or if this is possible?

Thanks

Mark

  • Hi Mark,

    SYSBIOS Industrial SDK for AM437x doesnot have lwip or NDK example as if now. We are expecting to add these support in Q2 2015.

    Regards,
    Prajith
  • Hi Prajith,

    Thanks so much for your response. Would it be possible to know when the Q2 release will be? (i.e towards the beginning or end of Q2?s)

    Thanks
    Mark
  • Mark,

    I am afraid I dont have information on the exact release dates

    Regards,
    Prajith
  • What about Ethernet/IP support for AM437x? It looks that is not yet available in the latest SDK.

    Thanks,

    Adrian

  • Adrian,

    Ethernet/IP adapter support will be added in the next ISDK release (Q2 2015)

    Regards,
    Prajith
  • Thanks Prajith! Looking forward for next ISDK release.

    Adrian

  • Hi,

    Any updates on the next ISDK release?

    Best Regards
    Kummi
  • SYSBIOS Industrial SDK 2.1.0.1 is released. Please find the download link here

    Regards,

    Prajith

  • Hello,
    I am also looking for NDK examples for the AM335x, specifically the BeagleBoneBlack. I downloaded the PDK 4.00.00.04, however I cannot get it to build (fork error nested in all those gmake/sh calls). I hope the binaries in it are adequate.

    Also, it looks like the ISDK is too old (2015) and focused on Industrial control only, I'm not sure it has "Berkley" style sockets.

    Also, looking through the directories, I did not see any simple examples for using the NDK, such as an Echo example, an HTTP Client, or other things.

    When I try to bring in the NDK to a simple project, and add a simple HTTP server, I get a linker error that it cannot find the NIMUDeviceTable... I can find no documentation on it, whether it is something I am supposed to provide, or I am missing another library to link to, or...?

    Can anyone point me to a current example (1Q or 2Q 2017) which will compile and link with CCS 6.2, 7.1 or 7.2? I don't need examples of how to do sockets, I have read the NDK user and ref guides (SPRU 523 and 524) . I just need a way to get a project to link.

    (Maybe, after that, I find I do need help and will be back... but for now it's just how to build using the NDK)

    Thanks.

    -CSW
  • Chris,

    You can start from the nimu or nimu_icss example in the pdk_am335x_1_0_x\packages\ti\transport\ndk.

    Here is the build instruction - processors.wiki.ti.com/.../Rebuilding_The_PDK

    Regards,
    Garrett
  • Garrett,

    Can you be more specific?

    I had already build the PDK, per those instructions. Deep under "C:\ti\pdk_am335x_1_0_7\packages\ti\transport\ndk\nimu" there is a lib folder, am335x, a8, releaase with a file "ti.transport.ndk.nimu.aa8fg" ... which appears to be a library to link to. I included the file in my project, and have the exact same error.

    I can't add the library by name to the linker, the linker is complaining that it can't find the file, despite the full name being set, and the full path being set.

    So clearly this is not a library that resolves the missing external.

    I then used CCS to try to do an "Import" of CCS projects. I navigate to that folder, and CCS shows an empty box of "projects to import". I even backed up a few direcotries, in the hopes that it can find some example projects anywhere in that tree. Nothing.

    So clearly, this isn't a CCS project to import.

    I am still left with :

    undefined first referenced 
    symbol in file 
    --------- ---------------- 
    NIMUDeviceTable C:\ti\ndk_2_25_01_11\packages\ti\ndk\stack\lib\stk6.aea8fnv<nimu.oea8fnv>
    
    error #10234-D: unresolved symbols remain

    Any other suggestions?

    -CSW

  • Chris,

    You should not need re-build PDK library, instead, you need to follow the wiki section "PDK Example and Test Project Creation"

    to create the sample project 'NIMU_BasicExample_bbbAM335x_armExampleproject' which will be under pdk_am335x_1_0_x\packages\MyExampleProjects\ and can be imported to CCS.

    see main_bbbAM335x.c for NIMUDeeviceTable,

    #define MAX_TABLE_ENTRIES 3
    NIMU_DEVICE_TABLE_ENTRY NIMUDeviceTable[MAX_TABLE_ENTRIES];

    The NIMUDeviceTable will be referenced by ndk_x/packages/ti/ndk/stack/nimu/nimu.c.

    The thread is quite old and titled 'AM437x', can we discuss in a new thread if any more questions?

    Regards, Garrett

  • Garrett,
    Yes, I will start a new thread if needed. However, I found that example. And I can get it to link, so I assume it will all work fine. No more issues for now.

    I came across this thread while searching and preparing to start my own thread. I honestly didn't expect a reply, and was going to start my own thread in a few days.

    ( I *may* return to ask more questions - on a new thread... a while ago I tried to directly link to NDK libs, rather that use XDC, and it snowballed into hundreds of things I could not resolve in the linker. Including conflicts related to this table, and running out of RAM... I gave in and will use XDC to manage it now )

    -CSW