How Do I Debug On The OSD62-PM-BRK?

Hello,

I have an OSD62-PM-BRK evaluation board. I want to write, load and debug code that runs in the Cortex-M4F core. I have TC2050-IDC-NL (with TC2050-CLIP) cable attached to the JTAG header on the board. I have both SEGGER J-LINK and TI XDS110 emulators. I have IAR EWARM 9.70 and CCS 20.5.0. I’ve tried several things:

  • Using SEGGER J-LINK with IAR EWARM 9.70:

    • RESULT: CAN’T CONNECT (see output below)
  • Using SEGGER J-LINK with CCS 20.5.0 & Selecting “J-Link Emulator” for the connection:

    • RESULT: CCS spins forever (rotating blue “C”)

Doing more research suggests that the SEGGER J-LINK probe just won’t work with the AM6254 (please tell me if I’m wrong). So, it sounds like I need to use my XDS110 Debug probe and CCS. However, connecting my TC2050-IDC cable to the XDS110 is a challenge. It is not clear what cables/adapters I need for this. Maybe the TI 20-pin to TI 14-pin converter that comes with the XDS110 and then a TC-2000-m adapter board for that? I am so confused! Given this is an evaluation board, it seems like this would be easier and I am missing something obvious. Some of the adapters that I see are crazy expensive. Has anybody done what I am trying to do (w/SEGGER or XDS)? If so, please share how you got it all to work!

Thanks!

Jason

IAR EWARM 9.70 w/SEGGER Output:

Mon May 04, 2026 10:53:10: IAR Embedded Workbench 9.70.2 (C:\iar\ewarm-9.70.2\arm\bin\armproc.dll)
Mon May 04, 2026 10:53:10: Loaded macro file: C:\iar\ewarm-9.70.2\arm/config/debugger/TexasInstruments/am62xx.dmac
Mon May 04, 2026 10:53:10: Loaded macro file: C:\iar\ewarm-9.70.2\arm/config/debugger/TexasInstruments/am62xx_m4.dmac
Mon May 04, 2026 10:53:10: Network license: SOM-LIC02 (STD)
Mon May 04, 2026 10:53:10: J-Link library version: V8.74
Mon May 04, 2026 10:53:10: Device “CORTEX-M4” selected.
Mon May 04, 2026 10:53:10: Logging to file: C:\OSD62-PM-BRK-M4F\cspycomm.log
Mon May 04, 2026 10:53:10: Device “CORTEX-M4” selected.
Mon May 04, 2026 10:53:10: JLINK command: ProjectFile = C:\OSD62-PM-BRK-M4F\settings\osd62-pm-brk-m4f_Debug.jlink, return = 0
Mon May 04, 2026 10:53:10: Device “CORTEX-M4” selected.
Mon May 04, 2026 10:53:10: DLL version: V8.74 , compiled Sep 30 2025 12:16:03
Mon May 04, 2026 10:53:10: Firmware: J-Link V12 compiled Mar 26 2026 10:14:53
Mon May 04, 2026 10:53:10: Serial number: 52011296
Mon May 04, 2026 10:53:10: JTAG speed is initially set to: 1000 kHz
Mon May 04, 2026 10:53:10: TotalIRLen = 4, IRPrint = 0x01
Mon May 04, 2026 10:53:10: JTAG chain detection found 1 devices:
Mon May 04, 2026 10:53:10: #0 Id: 0x0BB7E02F, IRLen: 04, Unknown device
Mon May 04, 2026 10:53:10: DPv0 detected
Mon May 04, 2026 10:53:10: Scanning AP map to find all available APs
Mon May 04, 2026 10:53:10: AP[4]: Stopped AP scan as end of AP map has been reached
Mon May 04, 2026 10:53:10: AP[0]: MEM-AP (IDR: 0x002E0001, ADDR: 0x00000000)
Mon May 04, 2026 10:53:10: AP[1]: APB-AP (IDR: 0x54770002, ADDR: 0x01000000)
Mon May 04, 2026 10:53:10: AP[2]: AXI-AP (IDR: 0x44770004, ADDR: 0x02000000)
Mon May 04, 2026 10:53:10: AP[3]: MEM-AP (IDR: 0x002E0002, ADDR: 0x03000000)
Mon May 04, 2026 10:53:10: Iterating through AP map to find AHB-AP to use
Mon May 04, 2026 10:53:10: AP[0]: Skipped. Not an AHB-AP
Mon May 04, 2026 10:53:10: AP[1]: Skipped. Not an AHB-AP
Mon May 04, 2026 10:53:10: AP[2]: Skipped. Not an AHB-AP
Mon May 04, 2026 10:53:10: AP[3]: Skipped. Not an AHB-AP
Mon May 04, 2026 10:53:10: Attach to CPU failed. Executing connect under reset.

Jason,

You are correct, it does not look like Segger probe supports AM6254 M4F core yet based on https://www.segger.com/supported-devices/texas-instruments/am62xx/. In addition, CCS does not support the latest Segger firmware yet.

For the cable setup for XDS, please take a look at what you would need based on the debugger/pin header here: https://www.tag-connect.com/solutions-target-devices/ti-dsps.

Another option for you is to use if you just want to run code is remoteproc in Linux: https://software-dl.ti.com/processor-sdk-linux/esd/AM62X/08_03_00_19/exports/docs/linux/Foundational_Components_IPC62x.html

Best,
Neeraj

Hi Neeraj,

Thank you for the reply. I was able to get things to work with my XDS using the “TI-14 Male to 10 Pin Plug-of-Nails™ - No Legs” solution in the TAG-Connect site you mentioned. Strange that SEGGER supports the A53 and R5 cores but not the M4 core in that chip.

I’ve played around with the remoteproc stuff and got that working too. But I want to develop some code to run on the Cortex-M4 core and I know I am going to need a debugger rather than a “printf” style solution. Now that my XDS110 connection is good, the debugger in CCS is working. For anybody reading, this was helpful in getting that to work: https://software-dl.ti.com/ccs/esd/documents/users_guide_ccs_20.5.0/index_debug.html

Regarding the remoteproc approach, if you go that route you need to include a resource table into your image. Otherwise, remoteproc will fail with error -22 when it tries to load the image. However, if you use the debugger to load and debug your image, don’t include the resource table…or shut off the verify step that happens after CCS downloads the image onto the board.

Thanks again for your help…and the link to the IPC page. I hadn’t seen that yet and it looks like it will be quite helpful as I develop my M4 code.

Jason