-
Notifications
You must be signed in to change notification settings - Fork 12
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
Error: CMSIS-DAP: SWD not supported #109
Comments
In general this should work. But I have never tested it with your environment above. Questions:
|
I should have said that I am using 2 Pico clones which have 16Mb flash. (W25Q32) I am using yapicoprobe-0120-pico-f726bca.uf2 When I connect to the target, on the CLI UART I see: Using Pi UF2: debugprobe_on_pico.uf2 I get different errors:`Info : auto-selecting first available session transport "swd". To override use 'transport select '. Info : Using CMSIS-DAPv2 interface with VID:PID=0x2e8a:0x000c, serial=E46320165B3B1C21 I have not tried different target yet. |
Interestingly, after a reflash, it now sees all the flash: '0.002 ( 2) - (II) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 0.002 ( 0) - (II) Welcome to Yet Another Picoprobe v1.20-f726bca |
hmmm... as far as I ca see, the conection to the target is ok, because the probe correctly detects the target. Could you please install pyocd and check it with that? |
I've had the same issue with older build of OpenOCD 0.11 (codebase patched by RPi foundation to support the original Picoprobe). All the wiring was OK (used previously with picoprobe firmware) and PyOCD worked out of the box. Upgrading to upstream OpenOCD 0.12 fixed the issue for me. |
I am trying to use a Pico with yapicoprobe to upload and debig another Pico.
Using VS Code, Platformio, with platform = raspberrypi and framework = arduino.
debug_tool = cmsis-dap upload_protocol = cmsis-dap build_type = debug
I get the following:
`Info : RP2040 Flash Bank Command
adapter speed: 5000 kHz
Info : Using CMSIS-DAPv2 interface with VID:PID=0x2e8a:0x000c, serial=E46320165B3B1C21
Info : CMSIS-DAP: FW Version = 2.1.2
Info : CMSIS-DAP: Serial# = E46320165B3B1C21
Error: CMSIS-DAP: SWD not supported
Error: No Valid JTAG Interface Configured.
*** [upload] Error 4294967295`
Please excuse me if I have misunderstood, but I though SWD was supported.
The text was updated successfully, but these errors were encountered: