您好!
我正在尝试使用 OpenOCD 调试我的应用、但我在执行此任务时遇到了很多问题。 我使用 JLink Base 作为调试器、下面是 OpenOCD 配置文件:
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 在连接到目标以及读取/写入闪存方面没有问题、但 OpenOCD 不允许调试我的应用、输出如下:
Open On-Chip Debugger 0.11.0+dev-00571-g254883597 (2022-02-17-13:22) Licensed under GNU GPL v2 For bug reports, read openocd.org/.../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
您是否知道如何配置 OpenOCD 以便能够调试 TMS570应用?
此致、
Bartek