NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
greyltc has joined #openocd
<greyltc> Hi. Can anyone give me any tips for how I might get the following hardware to work with OpenOCD? https://www.segger.com/products/debug-probes/j-link/models/j-link-pro-poe/
<greyltc> oh man i love when a channel is properly logged
<greyltc> I can look back at September when I first asked this question :-)
<greyltc> zapb__: are you by chance around?
<greyltc> my device should be discoverable, and so I was expecting `openocd -c "adapter driver jlink"` to "just work," however, I'm seeing: https://bpa.st/raw/M5XA
<greyltc> Have I done something wrong here?
<zapb__> greyltc, please show a log with -d3
<zapb__> greyltc, is your device in the same subnet?
<greyltc> zapb__: yeah, on the same switch. one sec for `-d3`
<zapb__> greyltc, discovery works with UDP broadcast, they should be allowed in your network setup
<greyltc> here's with -d3: https://bpa.st/raw/GYRQ
<zapb__> greyltc, same subnet?
<greyltc> yep
<greyltc> i can ping the debugger
<greyltc> i can visit its internal webpage
<greyltc> do we expect a debug message like `Debug: 25 5 jlink.c:514 jaylink_log_handler(): Found 0 USB device(s)` telling us that it's actually doing a network search?
<zapb__> greyltc, yes, checking the source
<zapb__> sec
<greyltc> `JAYLINK_HIF_TCP`
<zapb__> greyltc,
<zapb__> greyltc, can you specify the s/n?
<greyltc> let me see
<zapb__> .c "adapter serial <
<greyltc> thanks
<zapb__> -c "adapter serial <sn>"
<greyltc> works!
<zapb__> nice
<greyltc> thank you!
<zapb__> actually it should work work without but we had to fix an issue if there is no NIC available, that's the workaround at the moment
<zapb__> greyltc, you're welcome!
<greyltc> just so that the full working command is in the channel log for posterity, I ran this: `openocd -c "adapter driver jlink; adapter serial REDACTED; transport select jtag"`
<greyltc> in order to get my SEGGER J-Link Pro PoE to work with OpenOCD
nerozero has joined #openocd
zjason`` is now known as zjason
Hawk777 has quit [Quit: Leaving.]
Haohmaru has joined #openocd
alkane has quit [Ping timeout: 268 seconds]
alkane has joined #openocd
Haohmaru has quit [Quit: saionara]
greyltc has quit [Quit: WeeChat 4.5.2]
Hawk777 has joined #openocd
nerozero has quit [Ping timeout: 246 seconds]
<zapb__> If anyone is at embedded world on Wednesday and wants to meet, let me know, I'll probably be there.