From 42c4ac305b7483914fb02b8fa6e04cd81610b817 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Wed, 7 Aug 2024 16:44:43 -0700 Subject: [PATCH] Fix deprecation warning for tb openocd.cfg, and update example output in Readme.md --- Readme.md | 18 +++++++++++------- test/sim/tb_cxxrtl/openocd.cfg | 4 ++-- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/Readme.md b/Readme.md index fea6583..57baeb2 100644 --- a/Readme.md +++ b/Readme.md @@ -259,14 +259,18 @@ If you see something like: Info : Initializing remote_bitbang driver Info : Connecting to localhost:9824 Info : remote_bitbang driver initialized -Info : This adapter doesn't support configurable speed -Info : JTAG tap: hazard3.cpu tap/device found: 0xdeadbeef (mfg: 0x777 (), part: 0xeadb, ver: 0xd) -Info : datacount=1 progbufsize=2 -Info : Disabling abstract command reads from CSRs. -Info : Examined RISC-V core; found 1 harts -Info : hart 0: XLEN=32, misa=0x40801105 -Info : starting gdb server for hazard3.cpu on 3333 +Info : Note: The adapter "remote_bitbang" doesn't support configurable speed +Info : JTAG tap: hazard3.cpu tap/device found: 0xdeadbeef (mfg: 0x777 (Fabric of Truth Inc), part: 0xeadb, ver: 0xd) +Info : [hazard3.cpu] datacount=1 progbufsize=2 +Info : [hazard3.cpu] Disabling abstract command reads from CSRs. +Info : [hazard3.cpu] Disabling abstract command writes to CSRs. +Info : [hazard3.cpu] Examined RISC-V core +Info : [hazard3.cpu] XLEN=32, misa=0x40901107 +[hazard3.cpu] Target successfully examined. +Info : [hazard3.cpu] Examination succeed +Info : [hazard3.cpu] starting gdb server on 3333 Info : Listening on port 3333 for gdb connections +hazard3.cpu halted due to debug-request. Info : Listening on port 6666 for tcl connections Info : Listening on port 4444 for telnet connections ``` diff --git a/test/sim/tb_cxxrtl/openocd.cfg b/test/sim/tb_cxxrtl/openocd.cfg index a671b38..9dd9ea0 100644 --- a/test/sim/tb_cxxrtl/openocd.cfg +++ b/test/sim/tb_cxxrtl/openocd.cfg @@ -1,6 +1,6 @@ adapter driver remote_bitbang -remote_bitbang_host localhost -remote_bitbang_port 9824 +remote_bitbang host localhost +remote_bitbang port 9824 transport select jtag set _CHIPNAME hazard3