NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
joconor has quit [Quit: ZNC 1.8.2 - https://znc.in]
joconor has joined #openocd
shibboleth has joined #openocd
borneoa___ has quit [Quit: Connection closed for inactivity]
Hawk777 has joined #openocd
shibboleth has quit [Quit: shibboleth]
Getty has quit [Ping timeout: 265 seconds]
Getty has joined #openocd
nerozero has joined #openocd
Haohmaru has joined #openocd
borneoa___ has joined #openocd
Hawk777 has quit [Quit: Leaving.]
renrelkha has quit [Quit: bye]
renrelkha has joined #openocd
slobodan has joined #openocd
slobodan has quit [Quit: Leaving]
zjason has joined #openocd
merethan has joined #openocd
PaulFertser has quit [Ping timeout: 248 seconds]
PaulFertser has joined #openocd
diddly has quit [Ping timeout: 255 seconds]
diddly has joined #openocd
JanMatyas has quit [Quit: Leaving]
gpol has quit [Ping timeout: 276 seconds]
bvernoux has joined #openocd
Haohmaru has quit [Quit: saionara]
merethan has quit [Ping timeout: 260 seconds]
mwette has joined #openocd
<mwette> I received my Microchip PIC64GX100 KIT yesterday. There was one udev rule that referenced `$kernel'. I'm wondering if that should be `$KERNEL'. Any ideas? Here is the rules file: https://paste.debian.net/1334715/
<mwette> ^ reference is on line 9
<karlp> take that up with whoever gave that to you :) that's not anyth9ing from openocd...
<karlp> is microchip providing a forked openocd with borked scripts?
<karlp> it might be a magic value to try and unbind the entire kernel driver?
<mwette> It looks like they are using openocd for the PolarFire Icicle kits, in the SoftConsole IDE, based on screen output I've seen on their forums.
<mwette> karlp: thanks
nerozero has quit [Ping timeout: 255 seconds]
lh has quit [Ping timeout: 245 seconds]
lh has joined #openocd
shibboleth has joined #openocd
<karlp> but htat's not in a udev rule... its in a shell script talking to sysfs....
Dracos-Carazza has quit [Quit: ZNC 1.9.0 - https://znc.in]
<karlp> weird. it's substituing into a command, that will only work inside a udev script.
<karlp> way to make things easy to follow mchp
<karlp> most of that seems to be handling that they've never bothered to send in thier pids to get them here: https://github.com/torvalds/linux/blob/master/drivers/usb/serial/ftdi_sio_ids.h#L923-L924
Dracos-Carazza has joined #openocd
<karlp> they could add an entry here and avoid that craycray: https://github.com/torvalds/linux/blob/master/drivers/usb/serial/ftdi_sio.c#L909
<karlp> right down to only binding to the channels they want like theother boards....
bvernoux has quit [Quit: Leaving]
<mwette> So, wrt openocd, can I use "adapter driver ftdi" then, since they use a FTDI chip? Or can I use "adapter usb /dev/ttyUSB2"? The notes say ttyUSB2 is connected to console (ubuntu login) and ttyUSB1 is connected to a HART monitor.
<PaulFertser> mwette: openocd doesn't use tty devices for ftdi debug adapters, it handles them directly via libusb.
<PaulFertser> And you can't just tell it "driver ftdi", you're supposed to set appropriate modes for inputs and outputs and GPIOs for trst and srst. Most ftdi adapters are slightly different so OpenOCD needs that per-adapter configuration.
<mwette> PaulFertser: thanks - got it. I may know someone to ask about details.
<PaulFertser> mwette: you should probably ask microchip to properly upstream support...
<PaulFertser> mwette: also when you have schematics for the adapter you can write a config yourself.
<mwette> PaulFertser: Awesome, I found schematics online, with the FD4232H outputs showing port A to JTAG lines. I'll see how my queries go later.
<PaulFertser> mwette: the OpenOCD User Manual and examples in tcl/interface/ftdi/ should be enough to cook a config for your case. Feel free to ask if anything's unclear.
<PaulFertser> interface A is default
youthpastor has quit [Ping timeout: 260 seconds]
Yamakaja_ has joined #openocd
nohit has quit [Ping timeout: 260 seconds]
Yamakaja has quit [Ping timeout: 248 seconds]
nohit has joined #openocd
shibboleth has quit [Quit: shibboleth]
youthpastor has joined #openocd
<mwette> thanks!
gpol has joined #openocd