raspberrypi/openocd

Picoprobe with not working openOCD mac osx

tonycarbon opened this issue · 2 comments

Hi

Following the gettings started guide Apendix A for Picoprobe
I cannot get Openocd to recognise the connected picoprobe.

When following the install instructions everything works fine except
brew install libtool automake libusb wget pkg-config gcc texinfo

Where I get the following errors

==> Installing dependencies for wget: openssl@3
==> Installing wget dependency: openssl@3
==> perl ./Configure --prefix=/usr/local/Cellar/openssl@3/3.1.0 --openssldir=/us
==> make
Last 15 lines from /Users/jake/Library/Logs/Homebrew/openssl@3/02.make:
           ^~~~~~
crypto/bn/rsaz-3k-avx512.s:1285:12: error: register %ymm22 is only available with AVX512
 vmovdqu64 %ymm22,384(%rdi)
           ^~~~~~
crypto/bn/rsaz-3k-avx512.s:1286:12: error: register %ymm23 is only available with AVX512
 vmovdqu64 %ymm23,416(%rdi)
           ^~~~~~
crypto/bn/rsaz-3k-avx512.s:1287:12: error: register %ymm24 is only available with AVX512
 vmovdqu64 %ymm24,448(%rdi)
           ^~~~~~
crypto/bn/rsaz-3k-avx512.s:1288:12: error: register %ymm25 is only available with AVX512
 vmovdqu64 %ymm25,480(%rdi)
           ^~~~~~
make[1]: *** [crypto/bn/libcrypto-shlib-rsaz-3k-avx512.o] Error 1
make: *** [build_sw] Error 2

When starting Openocd I get this error

openocd -f interface/picoprobe.cfg -f target/rp2040.cfg
Open On-Chip Debugger 0.11.0-g4f2ae61-dirty (2022-11-13-14:20)
Licensed under GNU GPL v2
For bug reports, read
	http://openocd.org/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'swd'
adapter speed: 5000 kHz

Info : Hardware thread awareness created
Info : Hardware thread awareness created
Info : RP2040 Flash Bank Command
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Error: Failed to open or find the device
Error: Can't find a picoprobe device! Please check device connections and `permissions.

any help would be greatly appreciated