Recently, I installed the urjtag package on my FreeBSD 11.4 machine
urjtag
I connected up a DirtyJTAG adapter (aka STM32 "Blue Pill" with DirtyJTAG firmware). The JTAG adapter is correctly identified:
and it has permissions so that my user can access it:
but, urjtag doesn't want to talk to the adapter
I also tried with [command]sudo jtag[/command] - no difference
and I tried to build urjtag from ports - it fails in the same way.
Ideas? suggestions?
Code:
tingo@kg-core2$ uname -a
FreeBSD kg-core2.kg4.no 11.4-RELEASE-p3 FreeBSD 11.4-RELEASE-p3 #0: Tue Sep 1 08:22:33 UTC 2020 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
Code:
root@kg-core2# pkg info urjtag*
urjtag-2019.12
root@kg-core2# pkg options urjtag
urjtag - FTDI: on
urjtag - JEDEC: off
urjtag - NLS: on
urjtag - PYTHON: off
urjtag - USB: on
Code:
root@kg-core2# usbconfig -d ugen0.4
ugen0.4: <DirtyJTAG Jean THOMAS> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA)
root@kg-core2# ls -l /dev/ugen0.4 /dev/usb/0.4.0
lrwxr-xr-x 1 root wheel 9 Nov 4 22:18 /dev/ugen0.4 -> usb/0.4.0
crw-rw---- 1 root operator 0x2d4 Nov 4 22:18 /dev/usb/0.4.0
Code:
tingo@kg-core2$ groups tingo
tingo wheel operator video dialer cups
Code:
tingo@kg-core2$ jtag
UrJTAG 2019.12 #
Copyright (C) 2002, 2003 ETC s.r.o.
Copyright (C) 2007, 2008, 2009 Kolja Waschk and the respective authors
UrJTAG is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
There is absolutely no warranty for UrJTAG.
warning: UrJTAG may damage your hardware!
Type "quit" to exit, "help" for help.
jtag> cable dirtyjtag
error: Couldn't connect to suitable USB device.
jtag> quit
and I tried to build urjtag from ports - it fails in the same way.
Ideas? suggestions?