This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Nordic nRF52-DK disconnects from computer when I upload the BIN file

I am attempting to run my first bit of code on my Nordic nRF52-DK and every time I have attempted to upload the code to the board, the board disconnects in the middle of the upload process and then reconnects without the file on it. When I first move the file to the board, the LED is blinking as if it is ready to run code, but then after it disconnects and reconnects, it is no longer blinking, and pressing the reset button does nothing. I explicitly followed the instructions to upgrade the firmware of the device, and I wouldn't think that was a problem anyway since the board recognizes the code file instantly when I upload it as can be seen by the flickering LED. Also, the board will randomly disconnect and reconnect when I am doing other things on my computer. The cable I am using is brand new.

  • Sounds like a power problem. Try a different usb port and make sure it is a high power port.

  • I tried all three USB ports on my laptop and they all did the same thing. I downloaded the JLink driver on my desktop and plugged in the board to all of my USB ports there, and the contents of the board are different then what they are when I plug it into my laptop. I have three files on my laptop, and on my desktop there is only one file. I attempted to upload the firmware update to the board on my desktop, although I have already done it on my laptop, and once again the board just disconnected. I also tried to upload the same bin file and it disconnected as well.

  • Not sure what you mean by different files on the DK on different computers. You are supposed to be loading the software through nRFGo Studio.

    Sounds like you are trying to drag copy to the mounted volume. That's not how you do it. That is only for Mbed work.

  • What software am I supposed to load on using the nRFGo Studio? www.nordicsemi.com/.../Getting-started-with-the-nRF52-Development-Kit I used this as a guide to get my started and it mentioned nothing about using the nRFGo Studio. The files I was attempting to on using my laptop was a bin file compiled using mbed, since I had already dragged on the file containing the firmware update successfully. Then on my desktop I was attempting to drag on the firmware update and that even caused the board to disconnect.

  • The nRF development environment uses nRFGoStudio to load application files and soft devices for BLE or proprietary wireless communications.

    On the link you sent me you will find information on that if you follow the links for the development environment. This is NOT an Mbed development environment. The normal nRF environment creates native C applications for the ARM processor. Normally an OS is not utilized, though some developers do use an RTOS.

    In order to use Mbed the correct version of the Segger firmware needs to be installed. The segger is the programming interface IC that has USB enabled on it.

    I do not personally do any Mbed development, but based on my reading you should verify that your DK has the correct firmware installed as it was updated several times while the nRF52DK was in production.

    The Mbed link for nRF52DK is here: os.mbed.com/.../

    If you have further problems with Mbed on the nRF52DK, I recommend you repost your questions stating clearly that you are doing Mbed work and wait for the Nordic team to address it on Monday.

Related