[Libre-soc-bugs] [Bug 517] Define JTAG pins and set up with litex for ulx3s85f

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Mon Apr 5 03:35:31 BST 2021


--- Comment #75 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Cole Poirier from comment #74)
> (In reply to Luke Kenneth Casson Leighton from comment #72)
> > https://github.com/arduino/OpenOCD/blob/master/tcl/interface/stlink-v2.cfg
> > 
> > that's how to tell openocd to use an stlinkv2.  trying to use this file:
> > https://git.libre-soc.org/?p=libresoc-litex.git;a=blob;f=openocd.cfg;hb=HEAD
> > 
> > clearly isn't going to work, because, obviously, right at the start, it
> > says, "connect to jtagremote" not "connect to stlinkv2".
> It seems like the stlink-v2 only works with stm8 and stm32 microcontrollers. 

that is the smaller device.

> Apparently there is a way to setup jtag over gpio pins but I do not know
> what JTAG adapter supports this. 


"transport select jtag"

> Do you know of a jtag usb adapter that supports softcore targets?

i don't

> Can you comment as to what your progress on JTAG is?

on the irc logs.  if you were on the irc channel you would have seen the
discussion of the past week.

> Is your jtag boundary scan work related to this? 

of course.  we are getting the simulator into shape so that the hardware will
respond in the same way.

> I've banged my head against this for weeks 

why are you only just now telling us this?  wr are months behind and you are
only just noe asking for help? i don't understand

> and I think I've finally figured
> out that there's a lot more involved here than setting up the pins (as we
> did on the wiki) plugging it all in and running the *buspirate (debug
> adapter) specific* demo from staf's retrouc gitlab repository. Any insight
> you can provide here would be most helpful.

well the most immediate one is that by lraving it several weeks before asking
for help it means that you've spent several weeks being ineffective.  sorry if
that insight shocks you, it is what it is.

you do not have to do everything alone, without help, guidance or other people
to provide insights, in order to "prove something".

the larger stlinkv2 says "JTAG" on the box.  therefore there is a way.  we need
to find it.

somewhere online there *will* exist reports on how it is done.

if there was a known working JTAG device around the stlonkv2 could be tested
against it.

You are receiving this mail because:
You are on the CC list for the bug.

More information about the libre-soc-bugs mailing list