Other Parts Discussed in Thread: SYSBIOS, TDA4VH
Tool/software:
Hi,
I got questions for CCS RTOS analyzer from my customer. Please answer below questions.
-----------------------------------------
I would like to debug a program running on RTOS on the M4F subsystem of the AM62x EVM using Code Composer Studio's RTOS Analyzer and System Analyzer. However, I am facing difficulties setting up the environment for the tools. For example, I am encountering the following errors:
- When clicking on 「Tools」 -> 「System Analyzer」 -> 「Duration Analysis」, the following error is displayed:
Even when I attempt to create and select a custom UIA configuration file, the error is not resolved.
```
Could not detect a UIA configuration. One of the following is required:
* Either load a program with UIA instrumentation turned on
* or specify a custom UIA configuration
```
- Following the instructions in 「Section 5.1 Quickly Enabling UIA Instrumentation」 from the TI documentation(https://www.ti.com/lit/ug/spruh43f/spruh43f.pdf?ts=1743665829538&ref_url=https%253A%252F%252Fwww.google.com%252F), I added the following line to `example.syscfg`:
```
var LoggingSetup = xdc.useModule('ti.uia.sysbios.LoggingSetup');
```
However, this results in a `ReferenceError: xdc is not defined` error, and the build fails.
- Adding XDCtools via 「Project」 -> 「Properties」 -> 「General」 -> 「Product」 does not resolve the issue.
- Downloading UIA from the CCS App Center and placing it in `C:\ti\ccs1270\uia_2_30_01_02\packages`, followed by setting the environment variable `XDCPATH=C:\ti\ccs1270\uia_2_30_01_02\packages`, also does not resolve the issue.
Here is the environment setup:
- Host PC: Windows 11
- Code Composer Studio: Version 12.8.1.00005
- The AM62x EVM and the PC are connected via JTAG, and I can successfully build, load, and run sample programs for the M4F from CCS.
Could you please advise me on the steps or solutions to properly set up System Analyzer / RTOS Analyzer for this environment?
Thank you for your assistance.
-----------------------------------------
Thanks and regards,
Koichiro Tashiro