[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 15:06:19 BST 2020


On Sat, Sep 26, 2020 at 2:24 PM Staf Verhaegen <staf at fibraservi.eu> wrote:

> You already figured out what I did it was just a two line script:>

:)

>     #!/bin/sh
>     cfg=/home/verhaegs/eda/Chips4Makers/snowwhite/util/OpenOCD/buspirat
> e.cfg
>     openocd -f $cfg -c "init; svf \"$1\"; shutdown"

ah i didn't have a shutdown command, but yes.

i'm running into difficulties trying to send DMI-ADDR and DMI-READ
commands.  trying to debug the massive vcd files created by litex
sim.py is a bit much, so i'm going to go ahead with the "compatible"
jtagremote client-server code, then connect openocd with an SVF file
to a *small* test program.

this will drastically cut down the debug surface and allow me to test
openocd against one of the existing nmigen unit tests.

*then* once i have that debugged i can go back to trying the exact
same openocd svf test against litex sim.py.

l.



More information about the Libre-soc-dev mailing list