<?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>Unable to run Zephyr programs on nRF52840DK.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/75927/unable-to-run-zephyr-programs-on-nrf52840dk</link><description>Hi, 
 I am unable to get any programs using Zephyr to run on an nRF52840DK. 
 
 I have tried using the latest DAPlink (from GitHub) and JLink firmware (from Segger) as well as the latest firmware binary available from https://www.nordicsemi.com/Software</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 03 Jun 2021 11:31:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/75927/unable-to-run-zephyr-programs-on-nrf52840dk" /><item><title>RE: Unable to run Zephyr programs on nRF52840DK.</title><link>https://devzone.nordicsemi.com/thread/313380?ContentTypeID=1</link><pubDate>Thu, 03 Jun 2021 11:31:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b819e93d-816b-447a-908c-d74d6cdc3355</guid><dc:creator>chrisswinchatt</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am using upstream Zephyr. The above commands do work. I was evidently using the wrong board spec in the build. A pristine build with the correct spec &amp;amp; JLink firmware fixes the issue. Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to run Zephyr programs on nRF52840DK.</title><link>https://devzone.nordicsemi.com/thread/313361?ContentTypeID=1</link><pubDate>Thu, 03 Jun 2021 10:56:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53a24dad-57e1-4503-9c56-cf47f95d1a2e</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Are you using &lt;a href="https://infocenter.nordicsemi.com/topic/struct_sdk/struct/sdk_ncs_latest.html?cp=8_0"&gt;NCS&lt;/a&gt; (which contains a &lt;a href="https://github.com/nrfconnect/sdk-zephyr/tree/v2.4.99-ncs2"&gt;downstream Zephyr version&lt;/a&gt;) or &lt;a href="https://github.com/zephyrproject-rtos/zephyr"&gt;upstream Zephyr&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;Can you try the following and report if it works or not?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&amp;#39;west flash&amp;#39; command
&lt;ul&gt;
&lt;li&gt;cd &amp;lt;ncs location&amp;gt;/zephyr/samples/basic/blinky&lt;/li&gt;
&lt;li&gt;Connect nrf52840 DK to computer and turn on iton&lt;/li&gt;
&lt;li&gt;west build -b nrf52840dk_nrf52840 &amp;amp;&amp;amp; west flash
&lt;ul&gt;
&lt;li&gt;Now LED1 should blink&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&amp;#39;nrfjprog --program&amp;#39; command
&lt;ul&gt;
&lt;li&gt;cd &amp;lt;ncs location&amp;gt;/zephyr/samples/basic/blinky/build/zephyr&lt;/li&gt;
&lt;li&gt;nrfjprog --eraseall
&lt;ul&gt;
&lt;li&gt;Make sure LED1 stops blinking&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;nrfjprog --program zephyr.hex --sectorerase&lt;/li&gt;
&lt;li&gt;nrfjprog --reset&amp;nbsp;
&lt;ul&gt;
&lt;li&gt;Now LED1 should blink&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>