I get this message: Error: unable to find CMSIS-DAP device
Hi @ivanlino6. Do you have an external debug probe connected between the MKR Zero board and your computer? If yes, which debug probe are you using?
I dont have any debug probe connected between my computer and the arduino mkr Zero. According to the manual i dont need any additional hardware.
I read something about a problem with the OPENCD. Do you know something about that?
This is the cause of the error. You must connect a debug probe.
You can learn about the subject from this tutorial:
This is incorrect. Please post a link to where you found that information and I'll investigate.
The only official Arduino board that doesn't need any additional hardware is the Arduino Zero (which is different from the MKR Zero. The reason no additional hardware is required to use the Zero board with the Arduino IDE 2.x integrated sketch debugger is that the Zero has a built-in debug probe. None of the other official Arduino boards have a built-in debug probe so you must also obtain and connect a debug probe to any of the other boards.
It is "OpenOCD", not "OPENCD".
The problem is not with OpenOCD. The problem is simply that you don't have the required hardware connected to your computer. The error message you got is normal and expected under these conditions.
You're right! I just read that only with Zero version that is different with MKR. Thank you so much.
could you recommend me some debug probe?
I use this nice little open source debug probe:
It works perfectly with Arduino IDE 2.x. No special configuration is required, just connect it to the MKR Zero (which is unfortunately a little bit difficult due to the MKR Zero not having a standard SWD header to plug the debugger into) and your computer, press the "Debug" button on the Arduino IDE toolbar, and you are debugging your sketch!
I think the price of the debug probe is very reasonable. I live in the US, where the seller is located so the shipping cost is low for me. For people who live in other countries, the shipping price might be a more significant component of the cost of the debug probe, in which case alternative CMSIS-DAP compliant probes might be worth looking at.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.