Debug Issues in Mac OS X
Hi,
Yes I have libusb installed. I installed using homebrew, along with stlink. As far as enabling libusb, I have not done anything manually since installing libusb, or know how to or if I even have to.
I've reinstalled SW4STM32 and checked for any errors containing stlink or rules, but did not find anything in particular. The install seems to have ran fine.
I've taken a look at the post you linked, and I can't manage to find the 'install_stlink_udev.sh' file the user said he updated, but I also wasn't getting a udev rules error in my install, assuming that I should be looking at the log that prints out in the installer window when installing SW4STM32.
I added the "-d" option and I've attached a .txt file with the results in the console log.
Now I attempted to create an External Tools Configuration that points to my st-util bin installed via homebrew, and have adjusted my Openocd Port number in my Debug configuration to listen on port 4242, and that seems to have worked. I am able to load a program and Debug, although I do get this error after stopping a debug session:
2016-10-07T16:58:09 ERROR /tmp/stlink-20161001-4407-8f1gha/stlink-1.2.0/gdbserver/gdb-server.c: cannot send: -2
Not exactly sure what that means. Kind of hacky, but this works. I would still like to get to the bottom of why Openocd fails to run.
Thanks for the leads