Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4844

General • rp2040.dap0 is driving me crazy.

$
0
0
I love RP2040 for its features
low cost, dual core, lot of RAM and FLASH, super C/C++ SDK
the only feature i have problem with RP2040 is Debug interface.
when developing programs it will be working for some days after that i get "Error: Failed to connect multidrop rp2040.dap0"
after this i will not able debug the controller.
the problem occurs sometime on Pico board or sometime on debug Pico board.
when i change the board to new one it will start working again. the problematic boards will then never be able to debug again.
i have lot of such Pico boards lying here.
all PICO boards USB upload method is working fine only the debugging is problematic.
I was happy when RPI released official debug probe.
but even it has the same problem.
I wonder why other peoples are not having this problem.
when i searched internet for rp2040.dap0.
i see lot of post about it but when they change wires or shorten the wire length they all are ok. and problem solved.
why am I the only one with this problem I wonder.

leave PICO to PICO debug. the official debug probe have provided its own wire to connect to PICO board and i am using it.
now i think debug probe controller have problem if i buy a new one it will work for sometime the it will also have the same problem.
I am developing in Windows PC and I have also tried on Raspberry PI 5 GPIO as SWD.
I having this problem every where.
Now I am sacred to choose RP2040 for my development and to recommend it to my customers.

I am a experienced Programmer for last 20 Years. so don't tell me about the wiring and hardware problems.
I strongly believe its a internal Problem with RP2040.

openocd -f interface/cmsis-dap.cfg -f target/rp2040.cfg -c "adapter speed 1" -s ./scripts
Open On-Chip Debugger 0.12.0-g4257276 (2023-01-27-10:19)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : Hardware thread awareness created
Info : Hardware thread awareness created
adapter speed: 1 kHz

Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : Using CMSIS-DAPv2 interface with VID:PID=0x2e8a:0x000c, serial=E6616407E361C32F
Info : CMSIS-DAP: SWD supported
Info : CMSIS-DAP: Atomic commands supported
Info : CMSIS-DAP: Test domain timer supported
Info : CMSIS-DAP: FW Version = 2.0.0
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : SWCLK/TCK = 0 SWDIO/TMS = 0 TDI = 0 TDO = 0 nTRST = 0 nRESET = 0
Info : CMSIS-DAP: Interface ready
Info : clock speed 1 kHz
Error: Failed to connect multidrop rp2040.dap0


Sorry about my English. my common language is not English
Please someone Respond to me. Because I love to use this Controller for my Projects

Statistics: Posted by Joshin_Joy — Sat Jun 29, 2024 5:59 am



Viewing all articles
Browse latest Browse all 4844

Trending Articles