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.

LP-EM-CC1354P10: Externally Built Executable, FreeRTOS, ROV cannot access necessary global variable(s)

Part Number: LP-EM-CC1354P10

I'm working with a customer to deploy the workaround described here:

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/1289079/lp-em-cc1354p10-externally-built-executable-rov-and-freertos

In particular, the workaround option chosen is to provide a pseudo custom syscfg_c.rov.xs file in the same directory as the *.out executable, which includes absolute paths to the necessary metafiles from the SDK. I've also tried placing it in a sub-directory called "syscfg" with no observable difference in the results. The workaround appears to only partially work. All of the expected "viewable Modules" show up not now, they did not before, but if you click into certain ones, task for example, I still get an error:

Error: Variable 'pxCurrentTCB' does not exist, or it is not a global variable.

I have verified in the same active debug session that pxCurrentTCB does indeed exist, and is global, by adding it to the watch expressions. I'm using:

  • GCC
  • CC13xx/CC26xx SimpleLink SDK 7.10.00.98
  • Linux host system
  • CCS 12.7.0
  • Executable is a command line (CMake) build of ot-ti (OpenThread)

The customer has also confirmed the exact same issue on earlier versions of CCS. I believe they may be using a Windows system, possibly with WSL to build their OpenThread application.

Thanks,

Stuart

  • Hi Stuart,

    Sounds like you are using the "dummy" project workaround.

    All of the expected "viewable Modules" show up not now, they did not before, but if you click into certain ones, task for example, I still get an error:

    Just to confirm, the modules now appear but selecting some of them causes an error to appear? I assume the others work fine? Do the majority work fine except for a select few?

    Please note that there of many variables here, some of the variables are not officially supported. I only tried this with an executable built with a standard CCS project using our compiler. If you can share your dummy project with me, I'd like to try it in my environment sometime. Please note that I can only propose workaround (if any exist) since CCS Eclipse and the ROV that comes with it is being deprecated in support.

    Thanks

    ki 

  • Ki,

    There is no dummy project. I tried that method, but did not even get this far. What I'm using is this option:

    Place the *.xs file at the same location as the *.out and manually replace all the relative paths with absolute ones.

    I then launch a target configuration manually and download the *out.

    Thanks,

    Stuart

  • Can you share the xs and out file?

  • ot-cli-mtd.out

    syscfg_c.rov.xs

    I can also support a live debug session if you think it might help.

    Thanks,

    Stuart

  • Thanks. I can reproduce the issues.

    I will need to follow up with engineering.