-
Notifications
You must be signed in to change notification settings - Fork 225
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
pico w isn't supported? #41
Comments
yeah there is no regular LED on the Pico W; it would seem reasonable to allow building without a LED. It would be a separate task to make a PicoW build that actually uses the onboard LED (which is accessed via the WiFi chip) |
I'm using a normal pico right now, anyways, it's really slow. |
Hi, what is the status of this? Lost many hours coming to this conclusion: picoprobe doesn't work on pico w. It would be great, either to support pico w or update the documentation. |
It is supported, just use |
@P33M Does the |
No, flashing that will result in nonfunctional wireless. It needs a board include file similar to debugprobe. |
What ends up without wireless, the debug target board? I only have one Pico W so I cant check how it debugs another Pico W. |
So erm I compiled picoprobe with Since it doesn't need the WIFI functionality the LED should be able to work. Am I missing something? |
On the Pico W, the LED is controlled by a GPIO on the WiFi chip, rather than by a GPIO on the RP2040 chip (which is why there's separate blink example-code for Pico and PicoW). And it sounds like PicoProbe doesn't have code to explicitly support the PicoW's LED? However the good news is that PicoProbe does have explicit support for the DebugProbe. |
I'm having this same problem. I've tried different Pico and I'm able to start OpenOCD with picoprope loaded on a non-W pico connected to a non-W pico but when I attempt to start with picoprobe loaded on a non-W pico attached to a pico-w, OpenOCD fails with
Thanks in advance for any help! |
@fpaterra AFAIK that should work fine - have you double-checked your wiring? |
Thanks for your reply @lurch. I have doubled checked and had other look over them as well. I also tried switching out the specific pico boards used both the picoprobe host as well as the pico w target. I'm sure I have some thing wrong but I've spent hours on this have not been able to gain any insight. Is there more debugging action I can do to help identify what is wrong? Thank you again for your help! |
Interesting. When I connect a Pico Debugger Probe (https://www.raspberrypi.com/documentation/microcontrollers/debug-probe.html) and run the same openocd command: I get a similar error output, differing only in line numbers. Does this help? Any ideas?
I should also note that I get a series of repeating debug messages before these errors (like 10s or more of them) saying this:
I'm grateful for any help! |
OK more in the saga. On a whim I attached the USB to power and now things are working using the pico debugger probe. I had tried that with the pico probe software on a non-w pico as well but it did not help. Hopefully I'm up and functional now. |
@fpaterra , Hello, I'm encountering the same issue with the Pico Probe. Have you had any success in resolving it? I attempted to address it by installing various versions of openoсd that align with the picoprobe versions (mostly around the same date), but unfortunately, the error persisted. The error message consistently appeared as 'DAP init failed' or 'Failed to connect multidrop rp2040.dap0,' along with the debugging information 'SWD ack not OK @ 0 JUNK' that you previously mentioned. I also made an effort to launch an older version of Ubuntu 18.04, installing both the old versions as well as new versions of openoсd and picoprobe in separate attempts, but I encountered the same error each time. What's more, there were no such errors two months ago, and the debugger was launching successfully. It's puzzling how everything has changed now. |
I was not able to get it to work, I think something changed and there is an incompatibility with PicoProbe on a pico (non-w or w) targeting a pico-w. I moved to using the Pico Debug Probe hardware device and it worked immediately so I would recommend buying one of those (~$25). |
For the benefit of other people who might run into the same problem, could you explain in more detail what you mean by "I attached the USB to power" please? |
FWIW, it works for me; I can use pico as a probe and picow as a target and vice versa. Wiring is as per Appendix A: Using debugprobe. I added a Basically I searched for OTOH, I guess adding the support for the picow LED would be straightforward ; taking the code from picow blink example. |
Hi,
I tried to compile picoprobe for the pico w. Anyways, the pins for LED and SWD have changed on the pico w. Is there already a common solution for this? Else I would change the picoprobe source to be compatible with the pico w.
Thx
Kind regards,
Pingu
The text was updated successfully, but these errors were encountered: