CCS Project-less Debug (AM13E2X)
Note
The displayed images use AM13E230x as reference. The techniques documented here can be reused for other SoCs.
One time CCS setup of target configuration for Project-less debug
Goto
Toolbar > View > Open View .... Typetarget configurationsLocate the
Target Configurationview in CCSClick on
+to do aNew Target Configuration
Give it a name, e.g AM13E232X
Select your device or board and emulator of interest, e.g AM13E232X as device and
XDS110as emulator.Save the configuration,
Ctrl-SorToolbar > File > Save
You will see a file named “AM13E232X.ccxml” in your
Target Configurationsview
Every time you want to launch a Project-less debug session in CCS
Open
Target Configurationsview andright-clickon “AM13E232X.ccxml” and clickStart Project-less debug
Assuming your debug probe and board are connected to the PC, you should see debug session started with CPUs for the selected device AM13E232X listed in
Threadsview.Right-clickon the CPU of interest, typically the CPU for which the example is built and clickConnect Target.Now you can load the example binaries (
.elfor.out) by doingToolbar > Run > Load > Load Program. Select the.elffile for the example of interest
Once the program is loaded successfully, you will see the program execution is halted at
main()
You can now run or debug using various CCS debug options
To reload and run again after modifying your example
Modify and build your example, using steps mentioned in Advanced command line based build and debug, typically
make allshould do itDo
Toolbar > Run > Reset > System ResetDepending on what you are doing, you may need to power-cycle the connected board. In this case
Right-clickon the CPU of interest and do aDisconnect TargetPower-cycle the board
Right-clickon the CPU of interest and do aConnect Target
And then
Toolbar > Run > Load > Reload ProgramYou can now run or debug using various CCS debug options