CrossCore Embedded Studio 2.11.0 and newer support heterogeneous debugging for the ADSP-SC598 family of parts via CrossCore Launch Group debug configurations. The ARM Cortex A55 core is debugged via GDB and OpenOCD, and the SHARC cores are debugged via the CrossCore Debugger. CrossCore Launch Groups allow you to launch multiple launch configurations together, effectively joining the OpenOCD and CrossCore Debugger sessions.
To debug an ADSP-SC598 family part heterogeneously:
- Create executable projects. The CCES IDE can create a separate project for each processor core: one project targeting the ARM core and two projects targeting the SHARC+ cores.
- Build the projects.
- Create an Application with GDB and OpenOCD (Emulator) debug configuration for the ARM project.
- Create an Application with CrossCore Debugger debug configuration for the SHARC project(s).
- Create an Application with CrossCore Launch Group debug configuration.
- Add the Application with GDB and OpenOCD (Emulator) and the Application with CrossCore Debugger launch configurations from the previous steps to the CrossCore Launch Group debug configuration. Be sure to add them in that order; the Application with GDB and OpenOCD (Emulator) must be first in the list to perform target initialization. Since target initialization is done by the ARM core, you should not perform target initialization with the SHARC cores (via the Application with CrossCore Debugger debug configuration). The IDDE will display a warning if initialization is detected in the Application with CrossCore Debugger debug configuration.
- Click Apply and then click Debug to start your heterogeneous debug session.