Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    Nicla Sense ME not receiving sketch

    Nicla Sense ME not receiving sketch

    lsi8
    Member

    Occasionally I have this problem where I can not upload sketches to the Nicla. I double tap the reset button to trigger bootloader (causing it to flash green 3 times and then flashe red forever) then try to upload the sketch again but receive the same error message:

    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: 2
    
    adapter speed: 1000 kHz
    
    Error: unable to open CMSIS-DAP device 0x2341:0x60
    Error: unable to find a matching CMSIS-DAP device
    
    the selected serial port 
     does not exist or your board is not connected

    Any ideas how to correct this issue?

     

    10 REPLIES 10

    zgg
    Long-established Member

    Hi Yohai

    I haven't personally experienced the issue you mentioned, my guess is that the board has been damaged or bricked for some unknown reason. 

    You could also try post the problem on Arduino Forum to see if anyone there could help. 

    Hi zgg,

    I managed to solve the issue by uploading the sketch from Arduino Web Editor instead of the IDE.

    My guess is that it didn't work because of premissions the IDE have, but anyway I'm using the Web Editor and it is working well. Thanks for the response.

    zgg
    Long-established Member

    Hi

     

    thanks a lot for sharing your update, yes, on your computer (espeically enterprise-managed ones) sometimes various permission issues might hinder the programming of the board due to IT policies and restrictions, your update is indeed helpful because it might give others inspirations on solutions to similar issues. 

    Frostybeard
    New Poster

    I also have a brand new Nicle Sense ME, and have been going through the tutorial to set it up and I am also seeing this error.

    Arduino IDE version is:

    Version: 2.0.1
    Date: 2022-10-27T13:25:20.672Z
    CLI Version: 0.28.0 [06fb1909]

    Copyright © 2022 Arduino SA

    Running on Ubuntu 20.04

    This is what I get when I try to use the Arduino IDE for uploading. It is using the option ARM CMSIS-DAP Compatible for programmer. Using ST-LINK makes no difference.

    Sketch uses 294788 bytes (55%) of program storage space. Maximum is 527616 bytes.
    Global variables use 39296 bytes (61%) of dynamic memory, leaving 24992 bytes for local variables. Maximum is 64288 bytes.
    Open On-Chip Debugger 0.11.0+dev-gab95bac57-dirty (2021-05-11-10:49)
    Licensed under GNU GPL v2
    For bug reports, read
    http://openocd.org/doc/doxygen/bugs.html
    debug_level: 0

    adapter speed: 1000 kHz

    Error: unable to open CMSIS-DAP device 0x2341:0x60
    Error: unable to find a matching CMSIS-DAP device

    Failed uploading: uploading error: exit status 1

    zgg
    Long-established Member

    Hi 

     

    sorry for delayed response, as I was behind my emails. 

    Unfortuantely I had zero or few experience before with the issue you see, so I cannot give very accurate help here. 

    Not sure if when you saw this issue if the board has a red LED blinking, if yes, you might try removing the USB power and reconnect again to see it helps. 

    Let me know if you have got any luck solving this issue, in the mean time, you could check if you can get some help from Arduino Forum. 

     

    Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist