<?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>How to get heart rate monitor to work on nRF52840-DK in Ubuntu 18.04</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61781/how-to-get-heart-rate-monitor-to-work-on-nrf52840-dk-in-ubuntu-18-04</link><description>I&amp;#39;ve been using STM32 controllers with LoRaWan mostly GNU based and bare metal. Recently, I have been looking at the STM Nucleo STMWB32 communicating with a Raspberry Pi and I have it working but not well. Recently, Kevin Townsend (I just purchased his</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 29 May 2020 17:53:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61781/how-to-get-heart-rate-monitor-to-work-on-nrf52840-dk-in-ubuntu-18-04" /><item><title>RE: How to get heart rate monitor to work on nRF52840-DK in Ubuntu 18.04</title><link>https://devzone.nordicsemi.com/thread/252481?ContentTypeID=1</link><pubDate>Fri, 29 May 2020 17:53:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f430f6d1-0f2d-4ca8-949b-b52518a33d19</guid><dc:creator>kw_martin</dc:creator><description>&lt;p&gt;Einar, I have started to put together a pdf document with hyperlinks based on your suggestions, and adding some details for Linux to make it easier getting future university projects started. I could upload it to you if you could give me instructions on how to do an upload (in case you are interested).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get heart rate monitor to work on nRF52840-DK in Ubuntu 18.04</title><link>https://devzone.nordicsemi.com/thread/252289?ContentTypeID=1</link><pubDate>Fri, 29 May 2020 00:27:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16a8e9fe-0481-42de-9c83-00475d233e95</guid><dc:creator>kw_martin</dc:creator><description>&lt;p&gt;Also, if this helps some others: with David Martin&amp;#39;s help I finally realized that many of the Nordic links are actually two links, the left one goes one place, and the right triangle goes a different place (usually a drop-down - and it&amp;#39;s the one you need most of the time). I had idea of this, and it&amp;#39;s truly critical. Finally, for newbies, it would really help, if the importance and value of the infocenter.nordicsemi.com was emphasized (and note infocenter.nordic.de is a bogus site). Maybe once I get everything up and running properly, I should write a proper how to? Just a thought.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get heart rate monitor to work on nRF52840-DK in Ubuntu 18.04</title><link>https://devzone.nordicsemi.com/thread/252094?ContentTypeID=1</link><pubDate>Thu, 28 May 2020 07:53:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7841edd7-76b8-42b3-ab58-f8f511077d95</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Your long reply was marked as spam, but I have approved it now. Please try to avoid copy-pasting with formating in the future, as that makes it less readable and also tends to increase the likelihood of the post being tagged as spam.&lt;/p&gt;
&lt;p&gt;To be honest, I think the best here is to start again from scratch. As you stated that you did not actively decide to use the nRF Connect SDK, then I advise against it. It is not as mature, nor yet as userfriendly as the nRF5 SDK. Also, the nRF5 SDK works with integrated toolchains.&lt;/p&gt;
&lt;p&gt;If you are developing for the nRF52&amp;nbsp;I suggest you follow &lt;a href="https://infocenter.nordicsemi.com/topic/ug_gsg_ses/UG/gsg/intro.html"&gt;Getting started with nRF5 SDK and SES (nRF51 &amp;amp; nRF52 Series)&lt;/a&gt;. Please read and follow the full guide, but these are the key points:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Download the latest nRF5 SDK &lt;a href="https://www.nordicsemi.com/Software-and-tools/Software/nRF5-SDK/Download"&gt;here&lt;/a&gt;&amp;nbsp;(currently version 16.0.0).&lt;/li&gt;
&lt;li&gt;Download and install the&amp;nbsp;J-Link Software and Documentation Pack from &lt;a href="https://www.segger.com/downloads/jlink/#J-LinkSoftwareAndDocumentationPack"&gt;here&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Download the latest Segger Embedded Studio (SES) &lt;a href="https://www.segger.com/downloads/embedded-studio"&gt;here&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Download and install the nRF Command Line tools from &lt;a href="https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Command-Line-Tools/Download#infotabs"&gt;here&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Please note that the guide includes information on how to import Keil projects to SES, but that is not relevant for you, since recent SDK versions include SES projects for all examples. So after having the toolchain in place you simply just open the example in SES, build, program, and observe it work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get heart rate monitor to work on nRF52840-DK in Ubuntu 18.04</title><link>https://devzone.nordicsemi.com/thread/252044?ContentTypeID=1</link><pubDate>Wed, 27 May 2020 18:35:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99e8116a-eb7c-496f-8fc5-c873da6d019a</guid><dc:creator>kw_martin</dc:creator><description>&lt;p&gt;Is there a link to using the Portal? I spent two hours this morning on putting together an extensive reply and when posted it got flagged as SPAM and seems to have disappeared. I can&amp;#39;t figure out how to have what I type automatically wrapped. I can&amp;#39;t figure out how to find links for replying. I can&amp;#39;t figure out how to upload an attachment. Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get heart rate monitor to work on nRF52840-DK in Ubuntu 18.04</title><link>https://devzone.nordicsemi.com/thread/252039?ContentTypeID=1</link><pubDate>Wed, 27 May 2020 17:04:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e514196f-cd4a-4056-9186-a227e274df40</guid><dc:creator>kw_martin</dc:creator><description>&lt;p&gt;Also, going through the install procedure a second time broke Zephyr as well. Took another couple of hours to fix. It had to do with the tool chain got installed as ~/gnuarmemb/gcc-arm-none-eabi-9-2019-q4-major rather than just ~/gnuarmemb with bin directly under it. This puts me back to where I ended yesterday. Blinky and Button in Zephyr work if after flashing board is disconnected and re-connected and I still don&amp;#39;t understand what nRF SDK is and just can&amp;#39;t get heart_rate_monitor to work. It looks best to give up on nRF SDK for now and just try to get the Zephyr tool chain working.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get heart rate monitor to work on nRF52840-DK in Ubuntu 18.04</title><link>https://devzone.nordicsemi.com/thread/252033?ContentTypeID=1</link><pubDate>Wed, 27 May 2020 15:23:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32038d3c-7c7d-4184-a210-ad9a8c029f61</guid><dc:creator>kw_martin</dc:creator><description>&lt;p&gt;I just spent over two hours replying to this e-mail, and when I posted it, was informed it was flagged as Spam.&lt;/p&gt;
&lt;p&gt;Very very short summary of two hours of work:&lt;/p&gt;
&lt;p&gt;1) Is the SDK tool chain the same as the Zephyr Tool Chain?&lt;/p&gt;
&lt;p&gt;2) the Linux instructions don&amp;#39;t work, there are many errors, and two of the PIP3 commands result in core dumps.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get heart rate monitor to work on nRF52840-DK in Ubuntu 18.04</title><link>https://devzone.nordicsemi.com/thread/252032?ContentTypeID=1</link><pubDate>Wed, 27 May 2020 15:18:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99c45396-b8c1-402c-80c6-6d13f65b0ea1</guid><dc:creator>kw_martin</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It seems the root issue here is that you have not properly installed the toolchain including all dependencies. Please follow the instructions on&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.2.0/nrf/gs_ins_linux.html"&gt;this page&lt;/a&gt; to the point, not omitting any steps.&lt;/p&gt;
&lt;p&gt;Yes, but I only found this page yesterday, after a week of work&lt;/p&gt;
&lt;p&gt;Most of the instructions don&amp;#39;t work; for example just down-loading the device tree compiler:&lt;/p&gt;
&lt;p&gt;&amp;gt; wget &lt;a href="http://mirrors.kernel.org/ubuntu/pool/main/d/device-tree-compiler/device-tree-compiler_1.4.7-1_amd64.deb"&gt;http://mirrors.kernel.org/ubuntu/pool/main/d/device-tree-compiler/device-tree-compiler_1.4.7-1_amd64.deb&lt;/a&gt;&lt;br /&gt;--2020-05-27 09:30:37--&amp;nbsp; &lt;a href="http://mirrors.kernel.org/ubuntu/pool/main/d/device-tree-compiler/device-tree-compiler_1.4.7-1_amd64.deb"&gt;mirrors.kernel.org/.../device-tree-compiler_1.4.7-1_amd64.deb&lt;/a&gt;&lt;br /&gt;Resolving mirrors.kernel.org (mirrors.kernel.org)... 149.20.37.36, 2001:19d0:306:6:0:1994:3:14&lt;br /&gt;Connecting to mirrors.kernel.org (mirrors.kernel.org)|149.20.37.36|:80... connected.&lt;br /&gt;HTTP request sent, awaiting response... 301 Moved Permanently&lt;br /&gt;Location: &lt;a href="http://mirrors.edge.kernel.org/ubuntu/pool/main/d/device-tree-compiler/device-tree-compiler_1.4.7-1_amd64.deb"&gt;mirrors.edge.kernel.org/.../device-tree-compiler_1.4.7-1_amd64.deb&lt;/a&gt; [following]&lt;br /&gt;--2020-05-27 09:30:37--&amp;nbsp; &lt;a href="http://mirrors.edge.kernel.org/ubuntu/pool/main/d/device-tree-compiler/device-tree-compiler_1.4.7-1_amd64.deb"&gt;mirrors.edge.kernel.org/.../device-tree-compiler_1.4.7-1_amd64.deb&lt;/a&gt;&lt;br /&gt;Resolving mirrors.edge.kernel.org (mirrors.edge.kernel.org)... 147.75.197.195, 2604:1380:1:3600::1&lt;br /&gt;Connecting to mirrors.edge.kernel.org (mirrors.edge.kernel.org)|147.75.197.195|:80... connected.&lt;br /&gt;HTTP request sent, awaiting response... 404 Not Found&lt;br /&gt;2020-05-27 09:30:37 ERROR 404: Not Found.&lt;br /&gt;&lt;br /&gt;&amp;gt; &lt;/p&gt;
&lt;p&gt;I had set up the gnuarmemb previously for Zephyr&lt;/p&gt;
&lt;p&gt;export ZEPHYR_TOOLCHAIN_VARIANT=zephyr&lt;br /&gt;export ZEPHYR_SDK_INSTALL_DIR=/home/martin/Dropbox/Nordic/Zephyr/zephyr-sdk-0.11.2&lt;/p&gt;
&lt;p&gt;The new setup uses&lt;/p&gt;
&lt;pre class="highlight literal-block"&gt;export ZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb
 export GNUARMEMB_TOOLCHAIN_PATH=&amp;quot;~/gnuarmemb&amp;quot;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The Zephyr set up is working, should I still change it? I will for now just to be sure I&amp;#39;m compatible.&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;
&lt;pre class="highlight literal-block"&gt;It is not possible to successfully install the requirements following instructions on the page you suggest&lt;br /&gt;For example,&lt;br /&gt;&amp;nbsp;pip3 install --user -r zephyr/scripts/requirements.txt&lt;br /&gt;has many lines of text and then does a core dump.&lt;br /&gt;...&lt;br /&gt;many lines&lt;br /&gt;...&lt;br /&gt;Successfully installed Click-7.1.2 MarkupSafe-1.1.1 Pillow-7.1.2 PyYAML-5.3.1 Pygments-2.6.1 alabaster-0.7.12 anytree-2.8.0 appdirs-1.4.4 arrow-0.15.5 attrs-19.3.0 babel-2.8.0 breathe-4.14.2 cbor-1.0.0 certifi-2020.4.5.1 cffi-1.14.0 chardet-3.0.4 cmsis-pack-manager-0.2.10 colorama-0.4.3 configobj-5.0.6 coverage-5.1 docopt-0.6.2 docutils-0.16 future-0.18.2 gcovr-4.2 gitlint-0.13.1 idna-2.9 imagesize-1.2.0 importlib-metadata-1.6.0 intelhex-2.2.1 intervaltree-3.0.2 jinja2-2.11.2 junit2html-23 lxml-4.5.1 milksnake-0.1.5 more-itertools-8.3.0 packaging-20.4 pluggy-0.13.1 ply-3.11 prettytable-0.7.2 psutil-5.7.0 py-1.8.1 pycparser-2.20 pyelftools-0.26 pykwalify-1.7.0 pylink-square-0.6.1 pyocd-0.26.1 pyparsing-2.4.7 pyserial-3.4 pytest-5.4.2 python-dateutil-2.8.1 pytz-2020.1 pyusb-1.0.2 requests-2.23.0 setuptools-46.4.0 sh-1.12.14 six-1.15.0 snowballstemmer-2.0.0 sortedcontainers-2.1.0 sphinx-3.0.4 sphinx-rtd-theme-0.4.3 sphinx-tabs-1.1.13 sphinxcontrib-applehelp-1.0.2 sphinxcontrib-devhelp-1.0.2 sphinxcontrib-htmlhelp-1.0.3 sphinxcontrib-jsmath-1.0.1 sphinxcontrib-qthelp-1.0.3 sphinxcontrib-serializinghtml-1.1.4 sphinxcontrib-svg2pdfconverter-1.0.1 tabulate-0.8.7 urllib3-1.25.9 wcwidth-0.1.9 west-0.7.2 zipp-3.1.0&lt;br /&gt;Segmentation fault (core dumped)&lt;br /&gt;&amp;gt; &lt;/pre&gt;
&lt;pre class="highlight literal-block"&gt;pip3 install --user -r nrf/scripts/requirements.txt
&lt;br /&gt;successfully completes, but&lt;br /&gt;&amp;gt; pip3 install --user -r mcuboot/scripts/requirements.txt&lt;br /&gt;Could not open requirements file: [Errno 2] No such file or directory: &amp;#39;mcuboot/scripts/requirements.txt&amp;#39;&lt;br /&gt;&lt;br /&gt;I am in the ncs directory when I do this command as instructed. Has anyone ever tried the installation&lt;br /&gt;instructions on Ubuntu 18.04 previously? It appears the mcuboot directory has not been downloaded and I&lt;br /&gt;can&amp;#39;t fine instructions on how to do this. (aside, I&amp;#39;ve gotten into a weird formatting mode again -&lt;br /&gt;I keep clicking Format-&amp;gt;Clear Formatting, but it doesn&amp;#39;t help).&lt;br /&gt;&lt;br /&gt;Doing some google searching, I found mcuboot was under the bootloader directory, which I can see. So I&lt;br /&gt;modified the pip3 command to run the the script their, but once again, I got a core dump. It appears&lt;br /&gt;installation instructions just can not be followed successfully on my machine for some unknown reason.&lt;br /&gt;&lt;br /&gt;&amp;gt; pip3 install --user -r bootloader/mcuboot/scripts/requirements.txt&lt;br /&gt;Collecting cryptography&amp;gt;=2.6 (from -r bootloader/mcuboot/scripts/requirements.txt (line 1))&lt;br /&gt;&amp;nbsp; Using cached &lt;a href="https://files.pythonhosted.org/packages/58/95/f1282ca55649b60afcf617e1e2ca384a2a3e7a5cf91f724cf83c8fbe76a1/cryptography-2.9.2-cp35-abi3-manylinux1_x86_64.whl"&gt;files.pythonhosted.org/.../cryptography-2.9.2-cp35-abi3-manylinux1_x86_64.whl&lt;/a&gt;&lt;br /&gt;Collecting intelhex (from -r bootloader/mcuboot/scripts/requirements.txt (line 2))&lt;br /&gt;&amp;nbsp; Using cached &lt;a href="https://files.pythonhosted.org/packages/bf/77/bf670318b3db325c71e2ac6a90b7bcfdf9fc739b7cf6aebb31715721623e/intelhex-2.2.1-py2.py3-none-any.whl"&gt;files.pythonhosted.org/.../intelhex-2.2.1-py2.py3-none-any.whl&lt;/a&gt;&lt;br /&gt;Collecting click (from -r bootloader/mcuboot/scripts/requirements.txt (line 3))&lt;br /&gt;&amp;nbsp; Using cached &lt;a href="https://files.pythonhosted.org/packages/d2/3d/fa76db83bf75c4f8d338c2fd15c8d33fdd7ad23a9b5e57eb6c5de26b430e/click-7.1.2-py2.py3-none-any.whl"&gt;files.pythonhosted.org/.../click-7.1.2-py2.py3-none-any.whl&lt;/a&gt;&lt;br /&gt;Collecting cbor&amp;gt;=1.0.0 (from -r bootloader/mcuboot/scripts/requirements.txt (line 4))&lt;br /&gt;Collecting six&amp;gt;=1.4.1 (from cryptography&amp;gt;=2.6-&amp;gt;-r bootloader/mcuboot/scripts/requirements.txt (line 1))&lt;br /&gt;&amp;nbsp; Using cached &lt;a href="https://files.pythonhosted.org/packages/ee/ff/48bde5c0f013094d729fe4b0316ba2a24774b3ff1c52d924a8a4cb04078a/six-1.15.0-py2.py3-none-any.whl"&gt;files.pythonhosted.org/.../six-1.15.0-py2.py3-none-any.whl&lt;/a&gt;&lt;br /&gt;Collecting cffi!=1.11.3,&amp;gt;=1.8 (from cryptography&amp;gt;=2.6-&amp;gt;-r bootloader/mcuboot/scripts/requirements.txt (line 1))&lt;br /&gt;&amp;nbsp; Using cached &lt;a href="https://files.pythonhosted.org/packages/f1/c7/72abda280893609e1ddfff90f8064568bd8bcb2c1770a9d5bb5edb2d1fea/cffi-1.14.0-cp36-cp36m-manylinux1_x86_64.whl"&gt;files.pythonhosted.org/.../cffi-1.14.0-cp36-cp36m-manylinux1_x86_64.whl&lt;/a&gt;&lt;br /&gt;Collecting pycparser (from cffi!=1.11.3,&amp;gt;=1.8-&amp;gt;cryptography&amp;gt;=2.6-&amp;gt;-r bootloader/mcuboot/scripts/requirements.txt (line 1))&lt;br /&gt;&amp;nbsp; Using cached &lt;a href="https://files.pythonhosted.org/packages/ae/e7/d9c3a176ca4b02024debf82342dab36efadfc5776f9c8db077e8f6e71821/pycparser-2.20-py2.py3-none-any.whl"&gt;files.pythonhosted.org/.../pycparser-2.20-py2.py3-none-any.whl&lt;/a&gt;&lt;br /&gt;Installing collected packages: six, pycparser, cffi, cryptography, intelhex, click, cbor&lt;br /&gt;Segmentation fault (core dumped)&lt;br /&gt;&amp;gt; &lt;br /&gt;&lt;br /&gt;Regarding:&lt;br /&gt;&amp;nbsp;Please remember to follow the link to &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.2.0/zephyr/getting_started/installation_linux.html#linux-requirements"&gt;this page&lt;/a&gt; and do as told there as well. If you follow the instructions to the point then you should get a working setup. Linux is well supported as a platform for the nRF Connect SDK (in fact, Linux is the preferred platform for most Zephyr developers).&lt;br /&gt;I had done this previously, very carefully (again I&amp;#39;ve been working on getting started for a week now)&lt;br /&gt;but I redid it to be safe. This reverted cmake back to a too early version so I had to go through the&lt;br /&gt;process again of getting a recent version of cmake. About half of the suggested procedures don&amp;#39;t work so&lt;br /&gt;I eventually went to cmake downloads and got version 3.17.2. I had previously installed Segger Embedded&lt;br /&gt;Studio, and this is a large convoluted procedure, and it was successful before, so I didn&amp;#39;t want to go&lt;br /&gt;through it again, but I assume it&amp;#39;s okay. So I may (or may not) be setup okay now. The biggest worry is&lt;br /&gt;the core dumps above.&lt;br /&gt;&lt;br /&gt;Regarding:&lt;br /&gt;I have one question, though. Are you purposely using &lt;a href="https://www.nordicsemi.com/Software-and-tools/Software/nRF-Connect-SDK"&gt;nRF Connect SDK&lt;/a&gt;, or did you just end up there accidentally? The preferred SDK for nRF52 series development is currently the &lt;a href="https://www.nordicsemi.com/Software-and-tools/Software/nRF5-SDK"&gt;nRF5 SDK&lt;/a&gt;, which is more mature and easier to get started with.&lt;br /&gt;(I really wish I could figure out how to get line wrap working).&lt;br /&gt;The answer is no, I have been asking about four times which Tool Chain to use. Indeed, I don&amp;#39;t even know&lt;br /&gt;what the nRF SDK Tool Chain is. There&amp;#39;s the Zephyr Took Chain, the Segger Took Chain, the Connect Tool&lt;br /&gt;Chain, and now the SDK Took Chain. This is the first I&amp;#39;ve seen that the recommend chain is the SDK one.&lt;br /&gt;Now that I assume I have it installed, is there documentation on how to run it? I assume it&amp;#39;s under&lt;br /&gt;ncs/nrf? Is there a binary eclipse like gui to run there? Or should I be running the Zephyr GUI?&lt;br /&gt;Very unclear to me. My best guess is the SDK Tool Chain is the Zephyr Tool Chain? I have only been&lt;br /&gt;running Connect because previously that was the only thing I could get going (actually the Zegger Tool&lt;br /&gt;Chain might also be working but I so far have not been able to figure out how to run the SDK Tool Chain.&lt;br /&gt;Just installing it has been a real bear; but I think I may now have it installed (except again for the&lt;br /&gt;core dumps above).&lt;br /&gt;&lt;br /&gt;So I guess the next think is to try and find a) exactly what the SDK Tool Chain is (i.e. is it the&lt;br /&gt;Zephyr Tool Chain), and b) where I should start reading to see how to run it.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;
&lt;pre class="highlight literal-block"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get heart rate monitor to work on nRF52840-DK in Ubuntu 18.04</title><link>https://devzone.nordicsemi.com/thread/251857?ContentTypeID=1</link><pubDate>Wed, 27 May 2020 08:43:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6c99b7d-e1cd-4305-b68d-1b65da5190af</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It seems the root issue here is that you have not properly installed the toolchain including all dependencies. Please follow the instructions on&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.2.0/nrf/gs_ins_linux.html"&gt;this page&lt;/a&gt; to the point, not omitting any steps.&amp;nbsp;Please remember to follow the link to &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.2.0/zephyr/getting_started/installation_linux.html#linux-requirements"&gt;this page&lt;/a&gt; and do as told there as well. If you follow the instructions to the point then you should get a working setup. Linux is well supported as a platform for the nRF Connect SDK (in fact, Linux is the preferred platform for most Zephyr developers).&lt;/p&gt;
&lt;p&gt;I have one question, though. Are you purposely using &lt;a href="https://www.nordicsemi.com/Software-and-tools/Software/nRF-Connect-SDK"&gt;nRF Connect SDK&lt;/a&gt;, or did you just end up there accidentally? The preferred SDK for nRF52 series development is currently the &lt;a href="https://www.nordicsemi.com/Software-and-tools/Software/nRF5-SDK"&gt;nRF5 SDK&lt;/a&gt;, which is more mature and easier to get started with.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get heart rate monitor to work on nRF52840-DK in Ubuntu 18.04</title><link>https://devzone.nordicsemi.com/thread/251797?ContentTypeID=1</link><pubDate>Tue, 26 May 2020 22:12:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93f48e8a-f94d-4a31-b151-916686e3480b</guid><dc:creator>kw_martin</dc:creator><description>&lt;p&gt;I couldn&amp;#39;t even find the ncs/nrf directory. However, I was just able to resolve this issue: by chance, I ran nrfconnect331x8664.AppImage again, and then noticed near the bottom the ToolChain Manager choice. I clicked this and was informed the app was for windows only, but there was a link there for installing in Linux. Clicking this link brought me to a new web page I hadn&amp;#39;t seen previously, and there were enough instructions there so I have been able to download and install the AMD64 device tree compiler (this link is broken in the instructions but I was able to get it directly from a Debian repository and install it). I also found a link that I could use with wget to finally download ncs/nrf. This was a really convoluted process but I finally can see the ncs/nrf/applications/asset_tracker path. I think it was just luck that I got to this point so maybe I can now run the Zephyr &amp;quot;getting started&amp;quot; examples.&lt;/p&gt;
&lt;p&gt;There are problems that might still be issues; for example, under the linux install instructions:&lt;/p&gt;
&lt;p&gt;pip3 install --user -r zephyr/scripts/requirements.txt&lt;/p&gt;
&lt;p&gt;causes a core dump.&lt;/p&gt;
&lt;p&gt;Sorry for the small font, clear formatting didn&amp;#39;t fix it. Also, I don&amp;#39;t know why it changed back to normal directly below.&lt;/p&gt;
&lt;pre&gt;&lt;span class="n"&gt;pip3&lt;/span&gt; &lt;span class="n"&gt;install&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;user&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="n"&gt;nrf&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;scripts&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;requirements&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;txt&lt;br /&gt;works, but&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="n"&gt;pip3&lt;/span&gt; &lt;span class="n"&gt;install&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;user&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="n"&gt;bootloader&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;mcuboot&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;scripts&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;requirements&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;txt&lt;br /&gt;also causes a core dump.&lt;br /&gt;&lt;br /&gt;I had some success with the Zephyr tool chain. It seems to build and flash okay, but the&lt;br /&gt;examples may or may not work.&lt;br /&gt;west build -p auto -b nrf52840dk_nrf52840 samples/hello_world&lt;br /&gt;builds fine and west flash works&lt;br /&gt;&lt;br /&gt;&amp;gt; west flash&lt;br /&gt;-- west flash: rebuilding&lt;br /&gt;ninja: no work to do.&lt;br /&gt;-- west flash: using runner nrfjprog&lt;br /&gt;-- runners.nrfjprog: Flashing file: /home/martin/Dropbox/Nordic/Zephyr/zephyrproject/zephyr/build/zephyr/zephyr.hex&lt;br /&gt;Parsing hex file.&lt;br /&gt;Erasing page at address 0x0.&lt;br /&gt;Erasing page at address 0x1000.&lt;br /&gt;Erasing page at address 0x2000.&lt;br /&gt;Erasing page at address 0x3000.&lt;br /&gt;Applying system reset.&lt;br /&gt;Checking that the area to write is not protected.&lt;br /&gt;&lt;br /&gt;Programming device.&lt;br /&gt;Enabling pin reset.&lt;br /&gt;Applying pin reset.&lt;br /&gt;-- runners.nrfjprog: Board with serial number 683455871 flashed successfully.&lt;br /&gt;&amp;gt; &lt;br /&gt;&lt;br /&gt;but I don&amp;#39;t see anything on the minicom connected to /dev/ttyACM0 (at 115.2kBaud).&lt;br /&gt;&lt;br /&gt;west build -p auto -b nrf52840dk_nrf52840 samples/basic/blinky&lt;br /&gt;seems to build okay except for the error:&lt;br /&gt;ERROR: ld.so: object &amp;#39;libgtk3-nocsd.so.0&amp;#39; from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.&lt;br /&gt;which I mentioned previously.&lt;br /&gt;&lt;br /&gt;west flash reports success, but once again no blinking lights&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="n"&gt;west build -p auto -b nrf52840dk_nrf52840 samples/basic/&lt;/span&gt;button&lt;br /&gt;&lt;br /&gt;builds same errors, doesn&amp;#39;t work.&lt;br /&gt;&lt;br /&gt;However, by chance I disconnected the usb, reconnected, and it then worked. I went back to blinky,&lt;br /&gt;&lt;br /&gt;and re-built and reflashed, and then disconnected and reconnected, and all of a sudden, it&lt;br /&gt;worked. This really needs to be in the instructions. I tried again to get the hello_world going&lt;br /&gt;but no luck with this one. Also, west is using /dev/ttyACM0 so I&amp;#39;m not sure how a USB serial link&lt;br /&gt;can share the same USB connection? Maybe more explanation is required here? I went back&lt;br /&gt;to try and get the heart_rate_monitor going; no luck. The copied file just sat on the USB disk&lt;br /&gt;and never got loaded. I disconnected, reconnected, copied again, still no luck. I can upload the&lt;br /&gt;heart_rate_monitor hex file as you requested, but I don&amp;#39;t see a link for uploading a file?&lt;br /&gt;DDo I need to put it somewhere that can have a link to it?&lt;br /&gt;.&lt;br /&gt;Summary, most things don&amp;#39;t work (including I can&amp;#39;t wrap the lines or format properly),&lt;br /&gt;instruction mostly wrong, but I did eventually get blinky and&lt;br /&gt;button to work with the disconnect and reconnect of the usb. I guess this is some progress.&lt;br /&gt;&lt;br /&gt;Now that I finally have ncs/nrf, I will try with them. Again, there really needs to be some&lt;br /&gt;instruction for linux users on how to do the install properly that don&amp;#39;t leave out critical&lt;br /&gt;ssteps and that are correct, and don&amp;#39;t core dump. I still have no idea what tool&lt;br /&gt;chain I should be using. Finally, for those not familiar with .rst files, it turns out there&lt;br /&gt;is a plug-in for sublime_text that allows them to be viewed. Another unix thing I guess.&lt;/pre&gt;
&lt;pre&gt;&lt;span class="n"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="n"&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get heart rate monitor to work on nRF52840-DK in Ubuntu 18.04</title><link>https://devzone.nordicsemi.com/thread/251785?ContentTypeID=1</link><pubDate>Tue, 26 May 2020 18:45:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9655efac-f6f9-437b-9b87-4b103dd19b32</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There seem to be at least two separate problems here:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Getting a prebuilt example hex to run properly on the nRF52840 DK.&lt;/li&gt;
&lt;li&gt;Building an nRF Connect SDK sample from scratch using Segger Embedded Studio&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Regarding 1, I do not understand why it does not work. Can you try the attached blinky example (&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-80f3ed5e1e474f9ea0e358a1b5e7a195/blinky_5F00_pca10056.hex"&gt;devzone.nordicsemi.com/.../blinky_5F00_pca10056.hex&lt;/a&gt;) just to understand if the very basic is in place?&lt;/p&gt;
&lt;p&gt;Regarding 2:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;[quote user=""][/quote]&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;color:#212529;float:none;font-family:Roboto;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;"&gt;I can not find the path to ncs/nrf/applications/asset_tracker/CMakeLists.txt.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;color:#212529;float:none;font-family:Roboto;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;"&gt;I looked in my $HOME/.config/nrfconnect/ but can not find anything there. I also used locate but couldn&amp;#39;t find ncs/nrf/applications.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;First of all, the asset tracker sample only works on the nRF91. But in any case, if you have correctly checked out the nRF Connect SDK you should see CMakeLists.txt under&amp;nbsp;nrf\applications\asset_tracker\. As you can see here it is part of the repo, so I cannot understand how it could be missing. But since you cannot use it anyway, I suggest you start with a sample that can actually run on your board.&lt;/p&gt;
&lt;p&gt;I suggest starting with something very basic, for instance&amp;nbsp;zephyr/samples/basic/blink_led. Just to see that you have everything in place I suggest doing it from the command line. Then, after following the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.2.0/nrf/gs_ins_linux.html"&gt;getting started guide&lt;/a&gt; to install dependencies, check out the nrf repo and update everything with west, you can build the sample by simply navigating to&amp;nbsp;zephyr/samples/basic/blink_led/ (or any other sample folder) and typing:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;west build -b nrf52840_pca10056&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Then you can program the sample by typing:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;west flash&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;With this, you should see LED1 blinking with varying frequency.&lt;/p&gt;
&lt;p&gt;Does this work?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>