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.

LAUNCHXL-CC1352P: TI-15.4-STACK-GATEWAY-LINUX-SDK - Custom Linux Collector Application. Setup development and debug env.

Part Number: LAUNCHXL-CC1352P

Tool/software:

Hi, 

After some difficulty we manage to run TI-15.4-STACK-GATEWAY-LINUX-SDK example application, Also manage to get sensor to connected. running that example was not a smooth experience. collector application on Linux gives intermittent issues but we manage to get system working. however this does no fill us with confidence. We do not feel confident just implementing out of box example code with change to accommodate our application specific logic.

Also there is no way to debug example code as it uses make file to build host_collector and then run executable. after spending so much time/effort and money on this solution unable to debug application(CoP/Gateway) is not a practical solution.  

We have been working with Third Party lib, example for years now. its never as difficult as this has been. The point of providing SDK is to be able to implement it in custom project easily. Maybe the idea is to just change example code to suit the need is just like using EVM board in final solution not acceptably. 

If possible we would like to setup a basic c project. link/include sdk lib and ability to debug. we may end up using 70 80% of example code but at least we will be the ability to debug issues and enhance functionality.

  • Hi Bilal,

    If I understand you correctly, you want to debug (be able to step through the code) in the collector example in the Linux GW SDK. (The coprocessor code you can debug as usual with CCS or IAR.)

    I'll discuss with the team. I'll get you some feedback on Thursday.

    Cheers,

    Marie H

  • Hello Marie, 

    That is correct we can debug CC13xx Collector/Co-processor application just like we do sensor. However we can not debug Linux gateway collector application.

    Regards

    Bilal

  • Please provide a makefile or gcc instructions in order to include SDK, mainly common, api and nv. we get undefined reference to `SOCKET_init' during linking despite adding include and library folders. A simple SOCKET_init() for example would suffice.

  • Hi Bilal,

    The Linux GW SDK examples are supported by the Linus Debugger GDB. If you build the projects with the -g option you can use GDB.

    When we develop with the Linux GW SDK examples we find that the easiest way to debug issues is to add print statements.

    Cheers,

    Marie H