Can not find Nordic dongle from my application

ofer.ebert gravatar image

asked 2017-09-24 14:23:37 +0200

I have an application that do SW download to STM32L151 processor using NordicDongle with MasterEmulator.dll (Version image description It works good on my desktop windows 10 computer. When I am installing the application on a windows 10 tablet it does not find the Nordic dongle I installed the dongle driver and see it on the com port list in the device manager as "JLink CDC UART Port (COM 19)" I use master.EnumerateUsb(); to locate it but does not get anything. I do not have Visual studio installed on the table so it is hard to debug it and the same application as I mentioned works good on my desktop. Thangs Ofer

edit retag flag offensive close delete report spam


Hi Ofer! Could you install visual studio on your tablet? Seems like it worked for this user. Like you mentioned, it would make debugging a lot easier. Kind Regards, Bjørn

Bjørn Kvaale ( 2017-09-26 14:06:35 +0200 )editconvert to answer

2 answers

Sort by » oldest newest most voted
ofer.ebert gravatar image

answered 2017-09-27 08:46:17 +0200

Bjørn Kvaale gravatar image

updated 2017-09-27 11:34:26 +0200

Sorry my mistake I meant "Installing the Master Control Panel" and this helped because it installs all Segger drivers and software. Also yes for some reason that I do not understand the Install Shield added nrfjprog.dll to my application folder this dll is not in my project de[endencies and it is not exists in the "bin\debug" folder so debugging worked good only installd version did not work until I deleted nrfjprog.dll and now everything is working.

edit flag offensive delete publish link more
ofer.ebert gravatar image

answered 2017-09-26 14:20:27 +0200

After a lot of work I found out 2 problems: 1. It is not enough to install the JLink CDC driver I now install all the control panel. 2. Install shield added ad dll named "nrfjprog.dll" to my installation folder but this dll is not in my project dependancy when the dll exists I can not find the Nordic dongle and when it is not exists I find it so I nrfjprog.dll from "C:\Program Files (x86)\Nordic Semiconductor\nrf5x\bin" and build my project and because Install Shield did not find the file it was not added to the installation folder without any error (I do not understand this) and now everything is working.

edit flag offensive delete publish link more


I'm a bit confused with your answer. What do you mean by "install all the control panel"? Also, you figured out that "nrfjprog.dll" caused all of the connection issues, right? So basically, the answer to your point 2 is: "nrfjprog.dll" somehow miraculously caused the connection issues to your Nordic dongle and once you deleted this file, everything worked. Is that correct?

Bjørn Kvaale ( 2017-09-27 06:50:17 +0200 )editconvert to answer

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer. Do not ask a new question or reply to an answer here.

[hide preview]

User menu

    or sign up

Question Tools

1 follower


Asked: 2017-09-24 14:23:37 +0200

Seen: 34 times

Last updated: sep. 26