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

Direct Keil to use specific board

I have 1 dongle and 2 NRF52DKs attached to my computer at the same time, when I am trying to use Keil to program just 1 board it seems like attempts to access all 3 my boards. Is there a way to tell Keil which exactly board (USB port# ?) I want it to access?

This is the screen I am seeing once I click the button "Load" and it appears for as many times as many "not intended for programming" devices I have attached to my computer:

image description

  • Hi,

    When more than one nRF device is connected to your PC, you will need to selected what debugger you want Keil to use. If you have not selected what debugger you want to use, you will get the error "No JLink is selected":

    image description

    If you click on the "Options for Target" button, image description, and click on the debug tab, you will get this menu:

    image description

    If you click on the "Settings" to the right, you will get this menu: image description

    In the SN(SerialNumber)-dropdown menu, all the available debuggers will be listed. Select the serial-number for the debugger you want to use in the menu, and click "OK".

  • Thanks for the details, I have done that but I am still seeing the same message as I saw earlier (I just updated my original question with that screenshot) which asks me whether I want to update those "other" attached boards which I don't want to be touched at all so I have to always answer "No" and I found it annoying.

  • The screenshot you uploaded asks you if you want to upgrade the firmware on the debugger. You should click “Yes” on this.

  • Well, I don't want to do that because it will break the functionality of those connected boards. Those other boards I have are used by Sniffer, MCP, NRF Connect and each of those tools requires me to program the board with the firmware, so, if I would answer YES in Keil I would overwrote the firmware programmed by those tools enumerated above. In fact, in past, I already answered YES in past but then I again uploaded another firmware (corresponding to the tools I enumerated above) and then I again saw those annoying questions from Keil...

    So, I don't want the Keil to update something which should not be updated at all, I would like it to update/program/access/check only that board which is explicitly specified in that combobox you outlined.

  • The pop-up is from J-link, not Keil. It will not overwrite the code on the nRF-chip. It is firmware code for the SEGGER J-Link debugger-chip.

Related