Debug the NUCLEO-L476RG in linux
Following the error in the source file stlink_usb.c
we can find that it is captured in the following lines
if (jtag_libusb_open(vids, pids, serial, &h->fd) != ERROR_OK) {
1632 LOG_ERROR("open failed");
1633 goto error_open;
following jtag_libusb_open in the source file libusb0_common.c
the error is generated by the function usb_open(dev)
Unfortunately
- the usb device is regularly enumenrated
- the permissions are normally write in the file /etc/udev/rules.d/49-stlinkv2.rules
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="3748", \
MODE:="0666", \
SYMLINK+="stlinkv2_%n"
- the libusb-dev is installed (of course)
So I'm still searching a solution, pls help.