Arduino Nano 33 BLE Sense Error: unable to find a matching CMSIS-DAP device

Hello,

I am uploading my sketch to my Nano 33 BLE Sense and the following error appers:

Open On-Chip Debugger 0.11.0+dev-gab95bac57-dirty (2021-05-11-10:45)
Licensed under GNU GPL v2
For bug reports, read
*** OpenOCD: Bug Reporting***
debug_level: 0

Error: unable to find a matching CMSIS-DAP device

the selected serial port ***
*** does not exist or your board is not connected

My sketch was uploading smoothly and everything was fine, until suddently this error appeared and from that time I can't upload anything.

I tried everything, PC reboot, the Arduino IDE, I changed 3 USB cables but the problem remains.

I would appreciate if anyone could provide a solution or support to this error.

Thank you in advance,

THarris

Hi @bniot. This output seems to indicate that you're attempting an "Upload Using Programmer" rather than the normal "Upload". The "Upload Using Programmer" process occurs after you do one of the following:

  • Select Sketch > Upload Using Programmer from the Arduino IDE's menus.
  • Hold the Shift key while clicking the Arduino IDE's "Upload" button.
  • Use the Ctrl+Shift+U keyboard shortcut.

Please try a normal upload by selecting Sketch > Upload from the Arduino IDE's menus. Does the exact same error message occur after you do that?

Thank you very much for your quick feedback.

Yes this problem appears when I try to "Upload Using Programmer". Till now I was mainly "uploading" my sketsch using the Programmer, since whenever I "Upload" the sketch without the programmer, the Arduino Sense board is not "advertising" and later sending the BLE data .

Why this error occurs and how could I fix it? It is crucial for me in order to complete my project.

Do you have a CMSIS-DAP compliant programmer/debug probe connected to the SWD test pads on your Nano 33 BLE?

I don't know if I clearly understood your question, but if you mean the Programmer option from the Tools' section in Arduino IDE menu, "ARM CMSIS-DAP compatible" is selected.

If you didn't understand the question, that means your answer is "no". You would definitely know if you had a CMSIS-DAP compliant programmer/debug probe connected to the SWD test pads on your Nano 33 BLE.

Using the Arduino IDE's "Upload Using Programmer" capability requires that you have special piece of hardware (the "programmer") connected between your computer and the Arduino board. If you only have the Arduino board connected to the computer via the USB cable as usual then you won't be able to do an "Upload Using Programmer" and the error you got was expected and normal.

So we have now solved the "unable to find a matching CMSIS-DAP device" error that is the subject of this forum topic. Use the normal "Upload". If things are not working as you expect when doing a normal upload, then you should create a new forum topic with a detailed description of that problem.

I am a new learner in these topics and I am definitely missing many terms.

I have been working on my project for a month now and this problem never occurred until today. I always used the option "Upload Using Programmer" .

Isn't there anything else I can do from my side, apart from "Upload" option that I have already tried?

As I said, it's very likely that someone here can help you with the real problem you're having

but you need to create a new forum topic which contains a detailed description of the problem, including your full sketch code. The people who are knowledgeable about BLE might not be interested in upload errors, and this is why it's important for you to create a dedicated topic to discuss your BLE advertising problem.

Ok thank you very much for your time and the information provided

You're welcome. I'm glad if I was able to be of assistance. I hope we will be able to help you with the BLE problem.

Regards, Per

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.