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

Can not find Nordic dongle from my application

I have an application that do SW download to STM32L151 processor using NordicDongle with MasterEmulator.dll (Version 2.1.13.14) 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

  • 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

  • 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.
  • 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?

  • 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.

Related