I've done the basic checks to see why the nicla sense me is not working i.e selected the right board and COM etc.. tried web editor and desktop uploading of sketches and tried the reset button but nothing is happening. This is the error I get:
I guess it could be a little bit late, but I face similar issues recently. For those who are experiencing the same, the only way I had for managing this error is to use the device (NICLA Sense ME in my case) together with a battery.
Thus, connecting the battery:
And then the device using the USB port to the computer I handled it.
Sketch uses 55552 bytes (10%) of program storage space. Maximum is 527616 bytes.
Global variables use 12256 bytes (19%) of dynamic memory, leaving 52032 bytes for local variables. Maximum is 64288 bytes.
Open On-Chip Debugger 0.11.0+dev-gab95bac57-dirty (2021-05-11-10:45)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
debug_level: 0
adapter speed: 1000 kHz
Error: Error connecting DP: cannot read IDR
Failed uploading: uploading error: exit status 1```
I have the same problem. I tried couple of different usb cables and also powering it up with a battery during sketch upload, but I wasn't able to get it working.
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: 2
adapter speed: 1000 kHz
Info : CMSIS-DAP: SWD Supported
Info : CMSIS-DAP: FW Version = v1.0
Info : CMSIS-DAP: Serial# = 9B8ACC97
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 0 TDO = 0 nTRST = 0 nRESET = 1
Info : CMSIS-DAP: Interface ready
Info : clock speed 1000 kHz
Error: Error connecting DP: cannot read IDR
Hi PMarquinez! I'm using windows 10. I tried bootloader mode without success. When I power up my Nicla Me, blue light blinks and then turns constant green. Windows recognises the device as Nicla ME CMCIS-DAP.
When I doubletap the reset button, led starts blinking red after a moment
The error Error: Error connecting DP: cannot read IDR from what I've been able to understand so far is the it couldn't connect to the debug port as it failed to read the identification register.
Now it could be other issues as well but maybe verify if you can read ~1.8V on the 1V8 pin(see pinout) and ~5V on VDDIO_EXT pin (again see pinout).
And check if you're usb cable works maybe with other mcu or just try a different cable.
Also I'd recommend getting in touch with Arduino support.