This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS570LS3137: Debugging with OpenOCD

Part Number: TMS570LS3137

Hello,

I am trying to debug my application with OpenOCD, however I experience a lot of problems with this task. I am using JLink Base as my debugger, below is my OpenOCD config file:

set DAP_TAPID 0x0B8A002F
set JRC_TAPID 0x0B8A002F

source [find interface/jlink.cfg]
transport select jtag
source [find target/ti_tms570.cfg]

reset_config trst_only

JFlash has no problems with connecting to the target and reading/writing flash, but OpenOCD does not allow to debug my application, here is the output:

Open On-Chip Debugger 0.11.0+dev-00571-g254883597 (2022-02-17-13:22)
Licensed under GNU GPL v2
For bug reports, read
	http://openocd.org/doc/doxygen/bugs.html
Info : TI BE-32 quirks mode is enabled
trst_only separate trst_push_pull

Info : J-Link V10 compiled Nov  2 2021 12:14:50
Info : Hardware version: 10.10
Info : VTarget = 3.328 V
Info : clock speed 1500 kHz
Info : JTAG tap: tms570.jrc tap/device found: 0x4b8a002f (mfg: 0x017 (Texas Instruments), part: 0xb8a0, ver: 0x4)
Info : JTAG tap: tms570.cpu enabled
Warn : Debug base address for target tms570.cpu has bit 31 set to 0. Access to debug registers will likely fail!
Please fix the target configuration.
Info : tms570.cpu: hardware has 6 breakpoints, 2 watchpoints
Info : starting gdb server for tms570.cpu on 3333
Info : Listening on port 3333 for gdb connections
Info : JTAG tap: tms570.jrc tap/device found: 0x4b8a002f (mfg: 0x017 (Texas Instruments), part: 0xb8a0, ver: 0x4)
Info : JTAG tap: tms570.cpu enabled
Warn : Debug base address for target tms570.cpu has bit 31 set to 0. Access to debug registers will likely fail!
Please fix the target configuration.
Warn : tms570.cpu: ran after reset and before halt ...
Error: timed out while waiting for target halted
TARGET: tms570.cpu - Not halted
GDB Server stopped, exit code 1

Do you have an idea how to config OpenOCD to be able to debug TMS570 application?

Regards,

Bartek