SWCU194 March 2023 CC1314R10 , CC1354P10 , CC1354R10 , CC2674P10 , CC2674R10
Sensor Controller Studio provides tools for testing, debugging, evaluating and tuning Sensor Controller tasks. Common for these tools is that they run the task code on the actual Sensor Controller on the target chip, and provide generic support for displaying the data structure variables in real-time. The data structure values can also be saved to file for external analysis.
Table 20-3 summarizes and compares the most important properties of the available tools.
Task Testing and Task Debugging | Run-Time Logging | |
---|---|---|
Purpose | Evaluation, systematic testing and debugging. | Performance evaluation and optimization. |
Selected task iterations can be debugged at instruction level. | ||
Execution speed | All code within a task code block runs at full speed. | Timing matches actual application. |
Timing between task code blocks cannot be controlled precisely, and depends on communication with PC. | ||
Preparations | Specify a sequence of actions for each task iteration. | Enable the Run-Time Logging resource and use the associated procedures in task code to control logging. |
Communication interface(s) | JTAG | UART + JTAG, UART only, or TCP/IP |
Task count supported | One task at a time. | One or more tasks within one project. |
Data structure logging | All data structures are logged. | Selected data structures are logged. |
No overflow. | Overflow can occur, data discarded silently. | |
Data structure editing | All data structure values can be modified, but only while the target is stopped. | Data structures that are not logged can be modified at any time. |
New data structure member values can be loaded from file and be applied between task iterations. |