raspberrypi/openocd

OpenOCD can't find the CMSIS-DAP device, but pyocd can.

tmb opened this issue · 6 comments

tmb commented

New to hardware and MCUs in general; apologies in advance if there's something obvious going on here.

I have a Picoprobe with the latest firmware which is ostensibly connected correctly to another Pico. I built openocd out of this repo, which fails with the following log when running src/openocd -f interface/cmsis-dap.cfg -f target/rp2040.cfg -s tcl -d: https://hastebin.com/nahocejomu.apache

The line Debug: 162 16 cmsis_dap_usb_bulk.c:177 cmsis_dap_usb_open(): enumerating interfaces of 0x2e8a:0x0004 is intriguing to me because the Picoprobe is connected to my machine with the vendor ID 0x2e8a.

I tried pyocd after getting this error repeatedly, which has been working well; I'd like to be using openocd, though.

Thanks in advance.

P33M commented

Which instructions are you following?

tmb commented

Sorry for the delay in response. I'm following the PDF here: https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf

Specifically, I got the error after I hit page 67.

P33M commented

Are you using the release uf2 from this repository?