<?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>Running Zephyr on HolyIOT nRF52840 does not work (Solved)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/71791/running-zephyr-on-holyiot-nrf52840-does-not-work-solved</link><description>Hi, 
 I recently bought a couple of HolyIOT nRF52840 modules for a personal project (building a keyboard). I also got a JLink Edu Mini to flash/debug it. I am able to successfully run the sample programs (Blinky, TWI, USB mass storage and USB BLE Uart</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 19 Feb 2021 17:01:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/71791/running-zephyr-on-holyiot-nrf52840-does-not-work-solved" /><item><title>RE: Running Zephyr on HolyIOT nRF52840 does not work (Solved)</title><link>https://devzone.nordicsemi.com/thread/295410?ContentTypeID=1</link><pubDate>Fri, 19 Feb 2021 17:01:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3f121b9-51a0-4ad7-87c3-9212dfc07ee2</guid><dc:creator>Udayakiran Kallavi</dc:creator><description>&lt;p&gt;This probably sounds silly, but I have a guess about how the board suddenly started working. I installed zmk and initialized it. It pulled another copy of zephyr and set the environment to that. Once again everything stopped working and the board did not respond.&lt;/p&gt;
&lt;p&gt;Then I erased everything using nRF Connect, flashed SoftDevice 140 (7.2.0) to it, reset it. Then I again flashed the sample hex file I had built previously and it started working like magic. Just erasing all did not help, I had to flash SoftDevice. Even now I am not clear why that worked, but it did. Blinky has started blinking again! &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f57a_2D00_1f3fd.svg" title="Man dancing tone3"&gt;&amp;#x1f57a;&amp;#x1f3fd;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Running Zephyr on HolyIOT nRF52840 does not work (Solved)</title><link>https://devzone.nordicsemi.com/thread/295219?ContentTypeID=1</link><pubDate>Thu, 18 Feb 2021 19:40:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7681b1bb-3a4a-4490-b5c6-a6161b0825dd</guid><dc:creator>Udayakiran Kallavi</dc:creator><description>&lt;p&gt;Looks like it was a combination of my rat&amp;#39;s nest of a build environment, the need to reset the device after every flash and me editing the wrong configuration files that got me into this mess. GPIO works fine now. Some code is behaving oddly, but I guess that is for another day and another topic.&lt;/p&gt;
&lt;p&gt;For now, all LEDs are blinking. &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;My apologies and thanks to whoever spent time reading through the post.&lt;/p&gt;
&lt;p&gt;For anyone in a similar muddle, the&amp;nbsp;&lt;span style="font-family:monospace;"&gt;&lt;span style="background-color:rgba(255, 255, 255, 1);color:rgba(0, 0, 0, 1);"&gt;&lt;/span&gt;&lt;span style="background-color:rgba(255, 255, 255, 1);color:rgba(0, 0, 0, 1);"&gt;nrf52840dongle_nrf52840_defconfig&lt;/span&gt;&lt;/span&gt; board file works fine for the HolyIOT 18010 module. 10059 board works fine in the Segger Embedded Studio samples. Cheers!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Running Zephyr on HolyIOT nRF52840 does not work (Edited)</title><link>https://devzone.nordicsemi.com/thread/295206?ContentTypeID=1</link><pubDate>Thu, 18 Feb 2021 18:06:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0bb93126-7cd9-4d1f-a1c8-b563cdfcb09c</guid><dc:creator>Udayakiran Kallavi</dc:creator><description>&lt;p&gt;Further testing shows that it is &lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;not necessary&lt;/strong&gt;&lt;/span&gt; to add these lines to the&amp;nbsp;&lt;span style="font-family:monospace;"&gt;&lt;span style="background-color:rgba(255, 255, 255, 1);color:rgba(0, 0, 0, 1);"&gt;&lt;/span&gt;&lt;span style="background-color:rgba(255, 255, 255, 1);color:rgba(0, 0, 0, 1);"&gt;nrf52840dongle_nrf52840_defconfig&lt;/span&gt;&lt;/span&gt; file for this module:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y
CONFIG_CLOCK_CONTROL_NRF_K32SRC_250PPM=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I guess there is an external oscillator provided on the board. Or it manages fine without it.&lt;/p&gt;
&lt;p&gt;(And sorry about so many edits and replies. I am hoping this would provide as a reference to someone who might need it.)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Running Zephyr on HolyIOT nRF52840 does not work (Edited)</title><link>https://devzone.nordicsemi.com/thread/295203?ContentTypeID=1</link><pubDate>Thu, 18 Feb 2021 17:50:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa3e5feb-ca29-4051-a613-d4de89b6627e</guid><dc:creator>Udayakiran Kallavi</dc:creator><description>&lt;p&gt;&lt;span style="text-decoration:line-through;"&gt;I have no idea what got it working,&lt;/span&gt; but Bluetooth and USB now works. The device requires me to reset it (turn off the power, wait for a couple of seconds, turn it back on). So, in case anyone needs a confirmation whether the HolyIOT 18010 works with Zephyr, it does, with the board files I attached.&lt;/p&gt;
&lt;p&gt;I still haven&amp;#39;t figured out how to get GPIO working, but it is still some progress.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>