CCSTUDIO-THEIA: debug console usage and inspecting a variable

Part Number: CCSTUDIO-THEIA
Other Parts Discussed in Thread: TMDS64EVM, CCSTUDIO

I've just loaded CCS v21.0 and am debugging an example application on the m core of am64.
I would like to be able to examine a variable e.g. cnt. In vscode and earlier Eclipse systems I can go to the Debug Console and type things like

cnt
&cnt
cnt & 0x3f

This does not seem possible. Anything I enter in the debug console reports Invalid Frame Index. Surely I don't have to add it to the watch window, view it, and then delete it.

I would like the previous behaviour of an immediate window.

Is this possible?

 

  • Hello,

    That functionality should exist in the Debug Console:

    Can you provide a screenshot of your environment with the error?

    Thanks

    ki

  • This is the first time I've tried to use CCS THEIA so I was not sure if it had been designed out. Anyway, in my case it seems to affect version 21.0.1 and fails for me on Ubuntu 24.04 and Windows 11 25H2


    I downloaded version 20.0.0 to Ubuntu only and it worked as I expected

  • Anyway, in my case it seems to affect version 21.0.1 and fails for me on Ubuntu 24.04

    My earlier screenshot was with CCS 21.0.1 with Windows 11.

    I also tried CCS 21.0.1 with Ubuntu 24.04.5 and it seemed to work also:

    I downloaded version 20.0.0 to Ubuntu only and it worked as I expected

    Did you use the same exact executable (did not rebuild) between the two versions?

    What device are you working with?

    Thanks

    ki

  • I am using TMDS64EVM board (there is an M1 sticker) and example ~/ti/mcu_plus_sdk_am64x_12_01_00_33/examples/hello_world/am64x-evm/m4fss0-0_nortos

    I am connected via micro USB B to J28 as the XDS connections and VCP. The output from the VCP is correct and I'm able to modify; rebuild and verify output.

    I downloaded 21.01 from the website and unzipped it to ${HOME}/ti. I then ran ~/ti/CCS_21.0.1.00010_linux/ccs_setup_21.0.1.00010.run and installed it to an external hard drive as I do not have the capacity. It failed initial checks fro libpython3.9 and libusb. I installed these and all went well.

  • Apologies - I misread your question about the executable. I closed the v21.0.1 instance of CCSTUDIO and opened an instance of v20.0.0. THis picked up the same workspace. I ran the debug WITHOUT rebuilding.

    As extra information I have read that lsusb|grep Texas should show a device with XDS in it's name. I got

    me:~$ lsusb|grep Texas
    Bus 002 Device 022: ID 0451:bef3 Texas Instruments, Inc. CC1352R1 Launchpad

  • Can you show a screenshot of the debug view in it also? I'm wondering if it is a context issue. For example, the first screenshot has the proper debug context so gVar can be resolved:

    Inthe second screenshot below, I changed the debug context to the DAP so gVar could not be resolved:

    Also add gVar to the Watch view. If gVar can be resolved there, then it should be able to be resolved in the Debug Console.

    Thanks

    ki

  • I modified cnt to 567 in VARIABLES pane. WATCH updated. Same problem

  • I've just switched to v20.0.0 without any recompilation/rebuild

    and with 567 ...

    May be unrelated but v20.0.0 only lists BLAZAR_Cortex_M4F_0 in THREADS

  • I was able to reproduce the issue on the BLAZAR M4F of my AM243 LaunchPad. It seems device/core specific.

    I filed a ticket for the issue. Tracking link: https://sir.ext.ti.com/jira/browse/EXT_EP-13721

    Thanks

    ki