<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>nRF Command Line Tools 10.13.0, 10.12.0 missing JLinkARM.dll</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/79241/nrf-command-line-tools-10-13-0-10-12-0-missing-jlinkarm-dll</link><description>Hello Nordic Devzone Community, 
 I&amp;#39;m having some trouble install nRF Command Line Tools on a 64-bit Linux host. From Nordic&amp;#39;s page www.nordicsemi.com/.../download I&amp;#39;ve downloaded version 10.13.0, and then 10.12.0. SHA256 sums verify correctly. For some</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 07 Sep 2021 07:01:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/79241/nrf-command-line-tools-10-13-0-10-12-0-missing-jlinkarm-dll" /><item><title>RE: nRF Command Line Tools 10.13.0, 10.12.0 missing JLinkARM.dll</title><link>https://devzone.nordicsemi.com/thread/328303?ContentTypeID=1</link><pubDate>Tue, 07 Sep 2021 07:01:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0870bfd-348b-4275-9513-5f47ec04ca01</guid><dc:creator>tedhavelka</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;/p&gt;
&lt;p&gt;The long listing of /opt/SEGGER in my Ubuntu VM is:&lt;/p&gt;
&lt;pre&gt;guest@ubuntu-vm-0p2:/opt/SEGGER$ ls -l /opt/SEGGER
total 4
lrwxrwxrwx 1 root root   23 Nov 18  2020 JLink -&amp;gt; /opt/SEGGER/JLink_V688a
drwxr-xr-x 9 root root 4096 Sep  2 19:47 JLink_V688a&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Regarding nRF Connect for Desktop I will need to install this utility.  I have one such utility set which I&amp;#39;ve used for firmware programming and OTA tests of an nRF52832 based board.  I&amp;#39;ll review that software to see whether it is able to program 9160 based boards as well.  I mostly recently installed an nRF Connect for Desktop in May of this year.&lt;br /&gt;&lt;br /&gt;Eventually though, I want my build tools to be something that is able to be reasonably automated, hence my goal to stick with the command line whenever possible.&lt;br /&gt;&lt;br /&gt;- Ted&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Command Line Tools 10.13.0, 10.12.0 missing JLinkARM.dll</title><link>https://devzone.nordicsemi.com/thread/328299?ContentTypeID=1</link><pubDate>Tue, 07 Sep 2021 06:48:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6b2140b-2a6c-4dfe-acf8-69e64a0578bc</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;First, regarding the CP2102 driver, see Silicon Labs &lt;a href="https://www.silabs.com/interface/usb-bridges/classic/device.cp2102"&gt;site for the CP2102&lt;/a&gt;, I found a driver installation file there. If the CP2102 driver does not work for you, you could have a look at either &lt;a href="https://community.silabs.com"&gt;Silicon Labs Commuinty&lt;/a&gt; or the &lt;a href="https://forum.sparkfun.com/"&gt;SparkFun Forum&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Are you able to program the board directly from&amp;nbsp; Windows 10 (not using the Ubuntu WM), for example using the Programmer tool from &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Connect-for-desktop"&gt;nRF Connect for Desktop&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;From the Ubuntu WM, could you post the results of the follwing, with the &amp;quot;-l&amp;quot; argument?&amp;nbsp;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;ls -l /opt/SEGGER&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Command Line Tools 10.13.0, 10.12.0 missing JLinkARM.dll</title><link>https://devzone.nordicsemi.com/thread/328238?ContentTypeID=1</link><pubDate>Mon, 06 Sep 2021 14:02:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb84951a-f98f-4d79-8abd-481eff2cd40f</guid><dc:creator>tedhavelka</dc:creator><description>&lt;p&gt;Hello Sigurd,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m afraid so far this answer does not solve my problem.&amp;nbsp; The `lsusb` listing above is from my Windows 10 host running Ubuntu 20.04 VM, with a physical Segger J-Link probe attached.&amp;nbsp; By connecting and disconnecting Segger J-Link probe from the Windows plus VM set up, I observe USB device with ID &amp;quot;1366:0101&amp;quot; appear and disappear.&amp;nbsp; That detection on the USB bus appears to be functioning correctly.&lt;/p&gt;
&lt;p&gt;During these J-Link config attempts I do not have any development board connected.&amp;nbsp; You are correct though that I am developing on a Sparkfun Thing Plus.&lt;/p&gt;
&lt;p&gt;Thus far I have been using MCUBootloader, enabling that serial boot feature in my project&amp;#39;s ( and some sample nRF-SDK apps ) prj.conf file.&amp;nbsp; I&amp;#39;ve then been programming using `newtmgr` with appropriate arguments.&amp;nbsp; So I am familiar with that path to running firmware on certain nRF9160 boards.&amp;nbsp; This has allowed me to flash and run several examples and a small project of my own underway, without Segger J-Link probe.&lt;/p&gt;
&lt;p&gt;But I&amp;#39;m only able to do this on a different Ubuntu host, one without a VM or Windows.&amp;nbsp; Linux detects the Sparkfun development board&amp;#39;s CP2102 USB-to-serial port.&amp;nbsp; I cannot find a working driver which Windows will allow me to install for the CP2102 on the Sparkfun board.&amp;nbsp; That&amp;#39;s my only link to program with MCUBootloader enabled.&lt;/p&gt;
&lt;p&gt;My two issues are:&amp;nbsp; one, my development path requires me to move away from MCUBootloader.&amp;nbsp; Two, I need to configure Segger J-Link probe and establish a debugging link between my running firmware and `gdb` on the guest OS, the VM.&amp;nbsp; I&amp;#39;ve done something similar on non-nRF9160 projects, using openocd and an STLINK-V3 programmer.&lt;/p&gt;
&lt;p&gt;The Sparkfun Thing Plus nRF9160 has a ten-pin header that&amp;#39;s pin for pin aligned with the Segger J-Link probe.&amp;nbsp; My understanding is that I should be able to flash with this Segger probe, via the J-Link header.&amp;nbsp; But encounter that &amp;quot;JLinkARM.dll not found&amp;quot; type of error when trying this.&lt;/p&gt;
&lt;p&gt;Does this clarify the steps I have attempted, and the development tasks I am working to configure properly?&lt;/p&gt;
&lt;p&gt;- Ted&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Command Line Tools 10.13.0, 10.12.0 missing JLinkARM.dll</title><link>https://devzone.nordicsemi.com/thread/328094?ContentTypeID=1</link><pubDate>Mon, 06 Sep 2021 06:47:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:519fb4db-3b11-40e5-9bcd-7965b63e034e</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi Ted&lt;/p&gt;
[quote user="tedhavelka"]By &amp;quot;DK is connected&amp;quot; to what device do you refer?&amp;nbsp; I had not mentioned that my target board is sparkfun_thing_plus_nrf9160.[/quote]
&lt;p&gt;Im sorry, I mistyped here.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;quot;lsusb&amp;quot; list SEGGER J-Link PLUS, which is a segger device connected to the virtual machine. This is likely the Sparkfun Thing Plus.&lt;/p&gt;
&lt;p&gt;In the sparkfun &lt;a href="https://learn.sparkfun.com/tutorials/nrf9160-thing-plus-hookup-guide"&gt;tutorial &lt;/a&gt;on the Sparkfun Thing Plus, &amp;quot;&lt;code&gt;newtmgr&lt;/code&gt;&amp;quot; is used to communicate with the bootloader. &lt;br /&gt;Have you tried to program the device following that tutorial?&lt;/p&gt;
&lt;p&gt;The nRF9160DK have a debugger chip attached. When you use &amp;quot;nrfjprog&amp;quot; to program the nRF9160, this debugger will handle the programming. For devices without a physical debugger, such as the Sparkfun Thing Plus, a firmware bootloader can be used to program the nRF9160. To program the device using a bootloader, another tool than &amp;quot;nrfjprog&amp;quot; has to be used. In this case: &amp;quot;newtmgr&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="tedhavelka"]Will I be able to use `nrfjprog` independent of Segger&amp;#39;s Integrated Development Environment?&amp;nbsp; That is not my first choice for a development environment.&amp;nbsp; I am working to stay at Linux&amp;#39; command line for simplicity and toolchain reproducibility motivations.[/quote]
&lt;p&gt;&amp;nbsp;Yes, you can use nrfjprog and west from the command line. To use west, see &lt;a href="https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial---part-1-ncs-v1-4-0#h10skagp8wj210662x01aeknqi116jxom"&gt;this tutorial&lt;/a&gt; or &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.6.1/nrf/gs_programming.html#building-on-the-command-line"&gt;this documentation&lt;/a&gt;. To use nrfjprog, see &lt;a href="https://infocenter.nordicsemi.com/index.jsp"&gt;here&lt;/a&gt;. Be aware, if you use the commands &amp;quot;nrjprog -e &amp;quot; or &amp;quot;nrfjprog --program NAME --chipearse&amp;quot;, you will remove the mcuboot bootloader. It is possible to reinstall the bootloader, but you have to use an external debugger for this.&amp;nbsp; &lt;br /&gt;I recommend to use the &amp;quot;newmgr&amp;quot; command line tool, as specified in the previously linked Sparkfun Thing Plus tutorial.&lt;/p&gt;
&lt;p&gt;Did this solve your problem?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Command Line Tools 10.13.0, 10.12.0 missing JLinkARM.dll</title><link>https://devzone.nordicsemi.com/thread/328052?ContentTypeID=1</link><pubDate>Fri, 03 Sep 2021 22:40:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6761f4eb-01f9-4216-b5c5-6328f13bf5f0</guid><dc:creator>tedhavelka</dc:creator><description>&lt;p&gt;Hello Sigurd,&lt;/p&gt;
&lt;p&gt;By &amp;quot;DK is connected&amp;quot; to what device do you refer?&amp;nbsp; I had not mentioned that my target board is sparkfun_thing_plus_nrf9160.&amp;nbsp; I also happen to have a Nordic nRF9160 DK board, but the Sparkfun Thing Plus is much simpler and much closer to the hardware path I am taking in my current project.&lt;/p&gt;
&lt;p&gt;When I attach a Segger JLink programmer + debugger, here is what a USB listing in my virtual machine Ubuntu host reports:&lt;/p&gt;
&lt;pre&gt;guest@ubuntu-vm-0p2:~/embedded/ncs/v1.6.1/nrf/samples/nrf9160/at_client$ lsusb
Bus 001 Device 004: ID 1366:0101 SEGGER J-Link PLUS
Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub&lt;br /&gt;&lt;br /&gt;The contents of /opt/SEGGER are:&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;
&lt;pre&gt;guest@ubuntu-vm-0p2:/opt/SEGGER$ ls JLink
Devices        JFlashSPICLExe       JLinkGDBServerExe       JLinkRemoteServerCLExe  JLinkSTM32           JTAGLoadExe                libQtCore.so        libQtGui.so.4.8.7
Doc            JFlashSPIExe         JLinkGUIServerExe       JLinkRemoteServerExe    JLinkSTM32Exe        libjlinkarm.so             libQtCore.so.4      Samples
ETC            JLinkConfigExe       JLinkLicenseManager     JLinkRTTClient          JLinkSWOViewer       libjlinkarm.so.6           libQtCore.so.4.8    ThirdParty
GDBServer      JLinkDevices.xml     JLinkLicenseManagerExe  JLinkRTTClientExe       JLinkSWOViewerCLExe  libjlinkarm.so.6.88.1      libQtCore.so.4.8.7  x86
JFlashExe      JLinkExe             JLinkRegistration       JLinkRTTLogger          JLinkSWOViewerExe    libjlinkarm_x86.so         libQtGui.so
JFlashLiteExe  JLinkGDBServer       JLinkRegistrationExe    JLinkRTTLoggerExe       JMemExe              libjlinkarm_x86.so.6       libQtGui.so.4
JFlashSPI_CL   JLinkGDBServerCLExe  JLinkRemoteServer       JLinkRTTViewerExe       JRunExe              libjlinkarm_x86.so.6.88.1  libQtGui.so.4.8

guest@ubuntu-vm-0p2:/opt/SEGGER$&lt;/pre&gt;
&lt;p&gt;One thing I will point out, my Ubuntu 20.04 virtual machine is running within Windows 10.&amp;nbsp; I cannot find a working driver for Windows 10 for the Sparkfun&amp;#39;s CP2102 USB to serial chip.&amp;nbsp; So on this particular host arrangement, I won&amp;#39;t be able to program the Sparkfun board.&amp;nbsp; However, the virtual machine is a full Ubuntu install, as complete and functional as a physical Ubuntu host where I have all the same Nordic build tools and SDK installed.&amp;nbsp; I carefully noted each link and set of install instructions to obtain the same toolchain on both hosts.&amp;nbsp; Work IT policies keep me from working more freely with Linux at work, but that aside my goal is to use `west`, `cmake` and Bash command line as my build, flash and debug environment.&lt;/p&gt;
&lt;p&gt;These command line tools have so far allowed me to compile, flash and interact with Nordic sample apps on a couple of nRF9160 based development boards.&amp;nbsp; So far however I&amp;#39;ve pretty much programmed all my samples and simple tests via MCUBootloader.&amp;nbsp; Project needs now compel me to move to a physical programmer and debugger, and away from MCUBootloader.&lt;/p&gt;
&lt;p&gt;Will I be able to use `nrfjprog` independent of Segger&amp;#39;s Integrated Development Environment?&amp;nbsp; That is not my first choice for a development environment.&amp;nbsp; I am working to stay at Linux&amp;#39; command line for simplicity and toolchain reproducibility motivations.&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;
&lt;p&gt;- Ted&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Command Line Tools 10.13.0, 10.12.0 missing JLinkARM.dll</title><link>https://devzone.nordicsemi.com/thread/327965?ContentTypeID=1</link><pubDate>Fri, 03 Sep 2021 11:55:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46385873-4310-40be-a918-d2b4c5ea5660</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi Ted&lt;/p&gt;
&lt;p&gt;Can you double check that the DK is connected to the linux vm machine by using the command &amp;quot;&lt;em&gt;lsusb&amp;quot;&lt;/em&gt;?&lt;/p&gt;
&lt;p&gt;Could you also post the contents of the following?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;ls -l /opt/SEGGER/JLink&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Command Line Tools 10.13.0, 10.12.0 missing JLinkARM.dll</title><link>https://devzone.nordicsemi.com/thread/327866?ContentTypeID=1</link><pubDate>Thu, 02 Sep 2021 21:33:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3592596e-d838-449a-889e-d2b8215a7c7f</guid><dc:creator>tedhavelka</dc:creator><description>&lt;p&gt;Forgot to mention, from within my Zephyr app I originally invoked `west flash`, which generated the longer command to flash firmware.&amp;nbsp; That generated command string contains the serial number of the Segger JLink programmer I am using.&amp;nbsp; This is happening within a VirtualBox based Ubuntu 20.04 LTS host.&amp;nbsp; Having made the Segger JLink USB device available to the virtual machine, I see that my JLink&amp;#39;s serial number is detected the same in both the host OS and the guest OS.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>