[Libre-soc-dev] [Libre-soc-bugs] [Bug 503] New: Create new repo for gdb-adaptor program
Luke Kenneth Casson Leighton
lkcl at lkcl.net
Sat Sep 26 16:12:50 BST 2020
---
crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68
On Sat, Sep 26, 2020 at 3:44 PM Luke Kenneth Casson Leighton
<lkcl at lkcl.net> wrote:
> it should now be possible to adapt that to not run the "client" part,
> leaving the "server" part running, and throw openocd svf at it
> instead.
it worked!
https://git.libre-soc.org/?p=soc.git;a=blob;f=src/soc/debug/test/openocd_test.sh;hb=HEAD
i adjusted the test to no longer create the client-side TCP
connection, but left the DMI nmigen simulation and the Wishbone nmigen
SRAM still connected to the nmigen JTAG TAP adapter.
https://git.libre-soc.org/?p=soc.git;a=blob;f=src/soc/debug/test/test_jtag_tap_srv.py;hb=HEAD#l201
i then ran the openocd code against that and it worked.
*now* with the openocd svf command tested, i can go back to the litex
sim.py, confident that the openocd side is working (and the C4M JTAG
TAP adapter) and investigate why that's not responding with the
correct DMI responses.
l.
More information about the Libre-soc-dev
mailing list