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 uploading compiled BIN files from mbed

I have a Nordic nRF52-DK that I am using to create and run programs written using the mbed compiler. I have followed the instructions outlined here on the mbed website( os.mbed.com/.../) for uploading the current firmware also provided on that website. Now, whenever I try to upload a compiled BIN file that I have written and compiled using the mbed compiler, the board disconnects from my computer and immediately reconnects, whilst having no compiled BIN file on the board. Also, at random points while the board is connected and I am doing things not related to the board, like traversing the internet, the board will also disconnect and reconnect.

  • Is the "compiled BIN file" generated by IAR, Keil or armgcc?

  • The compiled BIN file is generated by the mbed compiler.

  • Hi,

    It is normal that the board disconnects and reconnects when you are flashing using "Drag-and-drop" method. Are you sure that the application is working?

    The random disconnects sounds like an issue with the cable or power to the board. Do you have any serial output from your application that can indicate if the chip is reset in these cases?

    Did you flash the mbed firmware to the interface chip on the nRF52-DK, or are you using the default Segger J-Link OB firmware?

    Best regards,

    Jørgen

  • But the "compiled BIN file that I have written" must be for the nRF52 correct? So why are you compiling with the mbed compiler?

  • Am I sure that what application is working?

    No how can I check if the chip resets in these cases?

    I flashed the mbed firmware to the interface chip.

1 2 3 4