NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
boru` has joined #openocd
boru has quit [Killed (NickServ (GHOST command used by boru`))]
boru` is now known as boru
tarekb has quit [Read error: Connection reset by peer]
zjason has joined #openocd
w00tSpeaks_ has quit [*.net *.split]
PaulFertser has quit [*.net *.split]
rue_shop2 has quit [*.net *.split]
braunr has quit [*.net *.split]
Getty has quit [*.net *.split]
rkta has quit [*.net *.split]
nikomo has quit [*.net *.split]
rkta has joined #openocd
PaulFertser has joined #openocd
rue_shop2 has joined #openocd
Getty has joined #openocd
w00tSpeaks_ has joined #openocd
braunr has joined #openocd
nikomo has joined #openocd
rkta has quit [*.net *.split]
sbach has quit [*.net *.split]
Steffanx- has quit [*.net *.split]
lh has quit [*.net *.split]
rkta has joined #openocd
lh has joined #openocd
Steffanx- has joined #openocd
sbach has joined #openocd
ildar[m] has quit [Ping timeout: 245 seconds]
Helmholtz has quit [Ping timeout: 240 seconds]
lh has quit [Ping timeout: 256 seconds]
gnom has quit [*.net *.split]
tsal has quit [*.net *.split]
splud has quit [*.net *.split]
key2_ has quit [*.net *.split]
Ulli[m] has quit [Ping timeout: 240 seconds]
gnom has joined #openocd
key2_ has joined #openocd
tsal has joined #openocd
splud has joined #openocd
zjason has quit [*.net *.split]
borneoa_ has quit [*.net *.split]
marex has quit [*.net *.split]
nadrian has quit [*.net *.split]
zmatt has quit [*.net *.split]
zjason has joined #openocd
nadrian has joined #openocd
borneoa_ has joined #openocd
zmatt has joined #openocd
marex has joined #openocd
Jybz[m] has quit [Ping timeout: 272 seconds]
LinuxHackerman has quit [Ping timeout: 276 seconds]
karlp has quit [*.net *.split]
f00b4r has quit [*.net *.split]
f00b4r has joined #openocd
karlp has joined #openocd
ildar[m] has joined #openocd
nerozero has joined #openocd
Ulli[m] has joined #openocd
Jybz[m] has joined #openocd
JakeSays has quit [Ping timeout: 252 seconds]
JakeSays has joined #openocd
LinuxHackerman has joined #openocd
sbach has quit [Read error: Connection reset by peer]
sbach has joined #openocd
Helmholtz has joined #openocd
Haohmaru has joined #openocd
lh has joined #openocd
tarekb has joined #openocd
<LinuxHackerman> Hi folks. I have a CP2104 USB-UART adapter which also has some GPIO pins which are exposed on the adapter as well. Could I do JTAG debugging via bit-banging on those GPIOs, or will I need an extra probe device?
<PaulFertser> LinuxHackerman: hey. Does current Linux driver implement gpiolib for that adapter?
mnadrian has joined #openocd
<LinuxHackerman> PaulFertser: hm, not sure — I get /dev/gpiochip1 when I plug it in, but nothing in /sys/class/gpio. I'm guessing that's a matter of config though
nadrian has quit [Ping timeout: 245 seconds]
<PaulFertser> LinuxHackerman: current OpenOCD has libgpiod support so worth a try
thinkfat has joined #openocd
<LinuxHackerman> Nice! I'll see how far I get. Thanks!
mnadrian has quit [Ping timeout: 245 seconds]
<PaulFertser> LinuxHackerman: what distro are you using btw? Self-built kernel?
<PaulFertser> LinuxHackerman: do you mean gpiochip1 doesn't appear in /sys/class/gpio ?
<PaulFertser> And not in /sys/kernel/debug/gpio ?
<LinuxHackerman> NixOS, no self-built kernel
<LinuxHackerman> gpiochip1 appears in /dev but not in /sys/class/gpio. It is listed in /sys/kernel/debug/gpio
mnadrian has joined #openocd
<olerem> /dev/gpiochip1 is the "new" char device interface, kind of replacement for the /sys/class/gpio interface
<LinuxHackerman> yeah
<LinuxHackerman> and I saw in the kernel docs that the sysfs interface would be removed in 2020, and I'm using 5.13, so I guess that's the case for my kernel
<PaulFertser> LinuxHackerman: libgpiod interface driver should work for you
<LinuxHackerman> yeah, just rebuilding openocd with libgpiod support…
<LinuxHackerman> uuuuh. It segfaulted.
<LinuxHackerman> But without debug_level 4 it doesn't. Fun
Guest4 has joined #openocd
Guest4 has quit [Client Quit]
<PaulFertser> LinuxHackerman: patches welcome :)
mnadrian has quit [Ping timeout: 240 seconds]
mnadrian has joined #openocd
<LinuxHackerman> OK, seems it was due to loose connections. After soldering everything in place, it's not happening anymore.
jobroe has joined #openocd
jobroe has quit [Quit: Konversation terminated!]
jobroe has joined #openocd
thinkfat has quit [Ping timeout: 240 seconds]
jobroe has quit [Quit: Konversation terminated!]
<PaulFertser> LinuxHackerman: still a segfault is a segfault, if you can reproduce it, get a core dump would be nice to have it to be abel to fix.
<LinuxHackerman> yeah I can share a coredump, don't think I have the cycles available to work my way into the openocd code and do any debugging/fixing myself though
jobroe has joined #openocd
jobroe has quit [Client Quit]
jobroe_ has joined #openocd
jobroe_ is now known as jobroe
jobroe has quit [Quit: Konversation terminated!]
<PaulFertser> LinuxHackerman: load it in your gdb, do "bt all" and share that please, along with the output; should be enough.
<LinuxHackerman> I don't have debugging symbols unfortunately, so `bt all` doesn't work. I can try reproducing it at a later point with a debug build, but for now I'll just share the "non-full" backtraces that I have
<LinuxHackerman> I got the first one about 4 times, the second only once.
tarekb has quit [Read error: Connection reset by peer]
<PaulFertser> LinuxHackerman: hm, by default when you build OpenOCD it has debug symbols in src/openocd and only after you "make install" they get stripped.
jybz has joined #openocd
m_ has joined #openocd
renrelkha has quit [Quit: bye]
renrelkha has joined #openocd
tarekb has joined #openocd
m_ has quit [Quit: Leaving]
JakeSays_ has joined #openocd
JakeSays has quit [Ping timeout: 268 seconds]
JakeSays_ is now known as JakeSays
Haohmaru has quit []
Hawk777 has joined #openocd
Steffann is now known as Steffanx
tarekb has quit [Read error: Connection reset by peer]
nerozero has quit [Ping timeout: 256 seconds]
emeb has joined #openocd
thinkfat has joined #openocd
thinkfat_ has joined #openocd
thinkfat has quit [Ping timeout: 258 seconds]
zjason has quit [Ping timeout: 245 seconds]
tarekb has joined #openocd
emeb has quit [Ping timeout: 248 seconds]
emeb has joined #openocd
tsal has quit [Ping timeout: 252 seconds]
emeb has quit [Ping timeout: 268 seconds]
emeb has joined #openocd
tsal has joined #openocd
<c4017w__> Can `verify_image` be forced to used binary compare instead of the CRC algo?
<PaulFertser> c4017w__: when CRC is different they'll do the comparison, why?
<c4017w__> I don't want the algo loaded at all. I have important stuff in RAM that shouldn't be overwritten
<PaulFertser> c4017w__: then do not specify working memory and it'll fall back to fetching data.
<c4017w__> Ah good idea!
tarekb has quit [Read error: Connection reset by peer]
<c4017w__> yep, that works
emeb has quit [Quit: Leaving.]