When an error occurs:
CCS Caused by: com.ti.ccstudio.scripting.environment.ScriptingException: Could not open session. Found devices matching: .*

When running the target test using the Code Composer Studio debugger in Controller Tester, Controller Tester uses the execution script written in Javascript.
The script opens a debugging session from the available debugging probes and runs the target binary.
Basically, there is one debugging probe and one debugging session. Depending on the target environment setting, there may be two or more debugging probes, and the above error occurs.
You can fix the error by specifying the debugging probe you want to use.
The debugging probe can be set in Project Properties > Target Test > Target environment settings > [Run] tab > debug_probe option.

When an error occurs: invalid target memory page

When you build the Code Composer Studio project, a .map file is generated. The .map file contains information about the address and page location to which variables are assigned.
The Code Composer Studio execution script provided by Controller Tester is implemented to store the target test result value in the data area and get this value.
However, if it is stored in the program area, not in the data area, an error message may appear when the script is executed, indicating that the memory area cannot be accessed.
Check the char_format option in Project Properties> Target Test > Target environment settings > [Run] tab.

Need more help with this?
Don’t hesitate to contact us here.

Thanks for your feedback.