NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
Bertl_oO is now known as Bertl_zZ
tsal has quit [Ping timeout: 246 seconds]
thinkfat_ has quit [Ping timeout: 244 seconds]
thinkfat has joined #openocd
tsal has joined #openocd
djgl has quit [Ping timeout: 240 seconds]
djgl has joined #openocd
jmp0_ has quit [Remote host closed the connection]
jmp0 has joined #openocd
tomtastic has quit [Ping timeout: 246 seconds]
tomtastic has joined #openocd
jmp0 has quit [Remote host closed the connection]
jmp0 has joined #openocd
_whitelogger has joined #openocd
nathanhi has joined #openocd
borneoa_ has quit [*.net *.split]
LinuxHackerman has quit [*.net *.split]
dmh has quit [*.net *.split]
dmh has joined #openocd
dmh has joined #openocd
dmh has quit [Changing host]
jmp0 has quit [Remote host closed the connection]
borneoa_ has joined #openocd
jmp0 has joined #openocd
LinuxHackerman has joined #openocd
nerozero has joined #openocd
Slide-O-Mix has quit [Ping timeout: 272 seconds]
erhankur has quit [Remote host closed the connection]
Slide-O-Mix has joined #openocd
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
djgl has quit [Ping timeout: 248 seconds]
djgl has joined #openocd
crabbedhaloablut has quit [*.net *.split]
jmp0 has quit [*.net *.split]
Haohmaru has joined #openocd
defiant has joined #openocd
crabbedhaloablut has joined #openocd
jmp0 has joined #openocd
Bugies has joined #openocd
gvn has joined #openocd
<gvn> Hi. This is not strictly related to OpenOCD but how do I specify location of custom built LibUSB? I installed LibUSB to `~/code/libusb/install` and tried to configure OpenOCD with
<gvn> ../configure --prefix=$PWD/../install CPPFLAGS=-I$HOME/code/libusb/install/include LDFLAGS=-L$HOME/code/libusb/install/lib --enable-ftdi
<gvn> But there's an error:
<gvn> configure: WARNING: libusb-1.x not found, trying legacy libusb-0.1 as a fallback; consider installing libusb-1.x instead
<gvn> checking for CAPSTONE... no
<gvn> checking for HIDAPI... no
<gvn> checking for HIDAPI... no
<gvn> checking for HIDAPI... no
<gvn> checking for LIBFTDI... no
erhankur has quit [Remote host closed the connection]
<gvn> checking for LIBFTDI... no
<gvn> checking for LIBGPIOD... no
<gvn> checking for LIBJAYLINK... no
<gvn> configure: error: libusb-1.x is required for the MPSSE mode of FTDI based devices
erhankur has joined #openocd
gvn has quit [Quit: Client closed]
gvn has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
<bencoh> gvn: the build system uses pkg-config, so you'll need to specify the right PKG_CONFIG_PATH as well
wingsorc has quit [Quit: Leaving]
Bertl_zZ is now known as Bertl
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
defiant has quit [Quit: defiant]
tlwoerner has joined #openocd
Bertl is now known as Bertl_oO
<Xogium> borneoa_: hello :) say, did you ever have trouble with the touchscreen input on the mp1 dev kit sometimes not showing up ? Or rather, it seems to be there, I see dmesg making references to it several times, like the device had trouble to init itself... Sometimes it manages, and sometimes it doesn't
<Xogium> there's multiple lines like these, but in the end there's no /dev/input/event* associated with the touchscreen
<Xogium> input: generic ft5x06 (11) as /devices/platform/soc/40012000.i2c/i2c-0/0-0038/input/input5
<Xogium> input: generic ft5x06 (11) as /devices/platform/soc/40012000.i2c/i2c-0/0-0038/input/input6
<Xogium> input: generic ft5x06 (11) as /devices/platform/soc/40012000.i2c/i2c-0/0-0038/input/input7
<Xogium> input: generic ft5x06 (11) as /devices/platform/soc/40012000.i2c/i2c-0/0-0038/input/input8
<Xogium> I'm not sure what's happening with this
<Xogium> I thought of maybe not enough good psu, but the psu I use is a rpi4 psu, 3a @ 5v
<Xogium> god damn
<Xogium> /dev/input/event3: generic ft5x06 (00)
<Xogium> finally
<Xogium> I had to reboot like 6 times to get it back
Xogium_ has joined #openocd
<Xogium_> woops, connection had a packet indigestion
Xogium has quit [Ping timeout: 248 seconds]
Xogium_ is now known as Xogium
gvn has quit [Quit: Client closed]
<borneoa_> Xogium: not a big user of touchscreen, but never got it. But on DK2 the flat cable can disconnect...
<Xogium> hmm
<Xogium> yeah here it seems like the gpu and such and even the display part works good, only the touch part that sometimes doesn't come up at boot
<Xogium> or well it tries to come up but fails, somehow
<Xogium> and there's no error at all in dmesg
<Xogium> just these input: lines showing up multiple times
<Xogium> even when it gets initialized fine it still prints them several times
<Xogium> weird stuff... I don't know what could be going on
<Xogium> I checked the connector was properly inserted, seems to be all good
<Xogium> its kinda crazy, its the only device to do that on the whole system, I got an IR sensor, a pwm beeper and user buttons + pmic all working fine and not trying to init several times over
<Xogium> do you know if there'd be a way I could reinit the touchscreen somehow ?
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Ping timeout: 264 seconds]
<SteveMarple> None of the adaptors that open /dev/mem in their adapter_driver.init() function close /dev/mem in their quit() function. They rely on the resources being returned when the program exits. Should it be like that?
<SteveMarple> The drivers in question are: am335xgpio, at91rm9200, bcm2835gpio, ep93xx, and imx_gpio.
Haohmaru has quit []
<borneoa_> Xogium: have you checked if i2cdetect can detect the touchscreen on the bus?
<Xogium> mm hmm that's a good point
<Xogium> I've not
<Xogium> let me run it now and try to make it bug again
<Xogium> and compare
<karlp> SteveMarple: depends whether you assume it will always run with an OS or not I guess? If a tree falls and all that?
<SteveMarple> karlp: Is it possible to switch to a different driver after one has been initialized? If not maybe it doesn't matter at the moment. Some adapters release resources and most restore GPIOs so it seems odd not to do the same with file handles.
Haohmaru has joined #openocd
<Xogium> borneoa_: very interesting... Here's how it is shown when working
<Xogium> 30: -- -- -- -- -- -- -- -- UU UU -- -- -- -- -- --
<Xogium> and here it is not working properly
<Xogium> 30: -- -- -- -- -- -- -- -- 38 UU -- -- -- -- -- --
<borneoa_> Xogium: to bind and unbind the driver, echo 0-0038 > /sys/bus/i2c/driver/edt_ft5x06/bind or in .../unbind
Haohmaru has quit [Quit: Leaving]
<Xogium> good idea
<borneoa_> Xogium: UU means driver has taken it. -- no device there, 38 device there and no driver using it
<Xogium> so its gotten unbound for some reason
<karlp> SteveMarple: I'd agree it's probably "proper" but no, you can't change driver while running, so probably doesn't really meany anything?
<Xogium> borneoa_: yeah binding it again worked
<Xogium> ... weird
<Xogium> I'm not sure why it seems to bind and unbind several times and sometimes not bind on its own again
Bertl_oO is now known as Bertl
<Xogium> could be a bug on 5.10 kernel... I really have no idea
<Xogium> well. At least now I have a way of solving this particular issue without rebooting, which is better than none at all
<Xogium> but frankly no idea how to track down why this happens
Hawk777 has joined #openocd
tsal has quit [Ping timeout: 240 seconds]
tsal has joined #openocd
erhankur has joined #openocd
<borneoa_> Xogium: have you added others devices on the i2c? Any changes on device tree?
thinkfat has quit [Remote host closed the connection]
thinkfat has joined #openocd
<Xogium> borneoa_: no haven't touched the i2c at all. I only added gpio things, pin 33 for pwm and a8 for IR sensor
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
shibboleth has joined #openocd
nerozero has quit [Ping timeout: 276 seconds]
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
jmp0 has quit [Ping timeout: 268 seconds]
jmp0 has joined #openocd
erhankur_ has joined #openocd
Xogium_ has joined #openocd
tsal has quit [Ping timeout: 240 seconds]
erhankur has quit [Ping timeout: 264 seconds]
djgl has quit [Ping timeout: 264 seconds]
Xogium has quit [Ping timeout: 264 seconds]
Xogium_ is now known as Xogium
djgl has joined #openocd
erhankur_ has quit [Remote host closed the connection]
tsal has joined #openocd
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
shibboleth has quit [Quit: shibboleth]
zjason` has joined #openocd
zjason has quit [Ping timeout: 240 seconds]
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
sbach has quit [Read error: Connection reset by peer]
sbach has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
wingsorc has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
Guest71 has joined #openocd
<Guest71> I'm attempting to program a atmega32u4 which claims 1149.1 compliance. I haven't made it terribly far yet but I wanted to see if this has been done before or if there's anything that'd prevent it from working?
<Guest71> I was planning to use the mini-module for this, it should be wired up correctly and I've tried `sudo openocd -f /usr/share/openocd/scripts/interface/ftdi/minimodule.cfg -c "adapter speed 16; transport select jtag"` without success yet. I get "Warn : There are no enabled taps. AUTO PROBING MIGHT NOT WORK!!" ... "Warn : Haven't made progress in
<Guest71> mpsse_flush() for 64205ms." and so on
<Guest71> I hope it's something as simple as `jtag newtap` but not sure yet, anyway any thoughts would be appreciated