Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why can't I find picoprobe?; on macOS Monterey #71

Closed
TheABC1025 opened this issue Nov 13, 2022 · 4 comments
Closed

Why can't I find picoprobe?; on macOS Monterey #71

TheABC1025 opened this issue Nov 13, 2022 · 4 comments

Comments

@TheABC1025
Copy link

What problem

I wanted to use picoprobe for debuging Raspberry Pi pico as mentioned in Getting Started document.
So I tried build and use openocd as usual mentioned in Internet (and document):
$ openocd -f interface/picoprobe.cfg -f target/rp2040.cfg -s tcl
but, i got these error logs:

Open On-Chip Debugger 0.11.0-g228ede43d (2022-11-11-01:03)
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.

What I tried

I will write what i tried:

Hardware problem?

I think it is NOT hardware problems
I checked the connections and change USB-cable to another, but it doesnt got better.
(And I tried on other computer, but the tool couldn't go well)

Software problem?

For solving permission, I tried abobe-mentioned command with sudo like this:
sudo openocd -f interface/picoprobe.cfg -f target/rp2040.cfg -s tcl -c "bindto 0.0.0.0"
but I got same error.
the environment is here:

  • macOS Monterey 12.6 (macbook pro 2017, Intel core-i7)
  • OpenOCD (cloned on rp2040 branch, commit on [228ede4])
  • Picoprobe(cloned on master, commit on [b1799bf]])

Conclusion

So I think the tool cannot run well on macOS.
Is there anyone who had same problem like me?

thanks,

@aallan
Copy link

aallan commented Nov 13, 2022

You did upload the Picoprobe UF2 from here, https://www.raspberrypi.com/documentation/microcontrollers/raspberry-pi-pico.html#debugging-using-another-raspberry-pi-pico, to the Pico you were using as a debugger?

@TheABC1025
Copy link
Author

No, I only tried clone picoprobe repos, and build and generates uf2 file by myself.
Does it prefer to upload uf2 file which is downloaded from this site?

@lurch
Copy link

lurch commented Nov 14, 2022

There's recently been some changes to Picoprobe https://github.com/raspberrypi/picoprobe/releases , so whilst we're getting all our ducks back in a row again, you might want to try the precompiled UF2 that @aallan has pointed to? 🤷‍♂️

@TheABC1025
Copy link
Author

TheABC1025 commented Nov 14, 2022

Thanks for your advices!
I downloaded uf2 file from web-site, and tried to load it to pico.
Then it works well, and I can debug normally.
Good luck on your fixing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants