7 years, 6 months ago.

The MBED drive (for nrf51 dk) on my windows 10 pc keeps appearing and disappearing.

I'm using a 'nrf51 dk' board and have compiled the blinky example for this board using the mbed compiler however the MBED (H:) drive on my (windows 10) pc keeps mounting and unmounting every (approx) 30 seconds making it impossible to download the hex file (the usb port is usb 3)

I've tried 3 versions of the mbed firmware for this board 216, 218 and 219 (nrf51822aa_atsam3u2c_if_mbed_V0219_02022016.bin) and all show the same problem with the drive mounting and unmounting in a 30 second cycle. What is causing this?

Hi Jeremy,

Sorry for the issues you are having :)

Does this only occur on this PC? Has it ever worked before?

Have you tried another USB port or cable? How old is the device?

Let me know.

Best Regards,

Andrea, team mbed

posted by Andrea Corrado 25 Oct 2016

Thanks Andrea, Iv'e tried programming the board from a Linux (Ubuntu 32 bit) PC an it works ok :) - So the problem is probably related to my Laptop and Windows 10 - is there a driver that I need to install for windows?

posted by Jeremy Cooper 25 Oct 2016

Hi Andrea I used window event viewer to check for problems and got this information though it does not help me resolve the problem: Device SWD\WPDBUSENUM\_??_USBSTOR#Disk&Ven_MBED&Prod_microcontroller&Rev_1.0#1100021844203120335041393130323132333039B9C7DFD8&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b} could not be migrated.

Last Device Instance Id: SWD\WPDBUSENUM\_??_USBSTOR#DISK&VEN_GENERIC&PROD_IC1230-M__CF&REV_0.1E#0000001&0#{53F56307-B6BF-11D0-94F2-00A0C91EFB8B} Class Guid: {eec5ad98-8080-425f-922a-dabf3de3f69a} Location Path: Migration Rank: 0xF000FFFF0000F102 Present: false Status: 0xC0000719

posted by Jeremy Cooper 25 Oct 2016

Im having the same situation, how did you solve it. I i upload the firmware with a MAC works on both mac and windows 10 , but if i uploaded on windows this problems occurs .

posted by J Daniel Martinez C 24 Feb 2017

1 Answer

7 years, 6 months ago.

Hi Jeremy,

So this seems to be an intermittent problem regarding this device family, specifically using Windows 10.

The best i can suggest to start with is update the firmware on the nrf51:

Firmware Update

The latest mbed interface upgrade file for the nRF51-DK is:

Version 0218, Minor bug fixes. Added correct MSD content for specific platform.

Source: https://github.com/NordicSemiconductor/CMSIS-DAP/tree/V0218

Please note that there is a behaviour change between this firmware and the J-Link firmware - with the mbed firmware you must press the 'BOOT/RESET' button the board to run your code once it has been downloaded *

To update the firmware:

  1. Unplug DK from the usb or turn power switch off.
  2. Press and hold down the reset button and connect the usb while doing so or turn on power
  3. DK should now enumerate as an MSD named "BOOTLOADER"
  4. Copy the firmware binary to the BOOTLOADER drive.
  5. Wait until the drive dismounts and the mbed LED is flashing continuously
  6. Unplug (or turn off/on) the board and plug in again, and the board should enumerate as usual.

Let me know if this helps, if not send us an email at support@mbed.org and we will keep trying! :)

Regards,

Andrea, team mbed

Accepted Answer