<?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>Manually start the nRF5 802154 radio</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/89578/manually-start-the-nrf5-802154-radio</link><description>Is there a way to manually initialize the nRF5 802154 radio?. I am using an external NOR flash LittleFS partition for data and the nRF5 802154 radio driver keeps complaining about the mount point not being found. For boot speed reasons, I manually mount</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 05 Jul 2022 19:26:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/89578/manually-start-the-nrf5-802154-radio" /><item><title>RE: Manually start the nRF5 802154 radio</title><link>https://devzone.nordicsemi.com/thread/375634?ContentTypeID=1</link><pubDate>Tue, 05 Jul 2022 19:26:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:121872f5-45bf-4e4c-ab6b-7ca6cd6782a1</guid><dc:creator>Tristen</dc:creator><description>&lt;p&gt;I found another way around this and created a separate partition just for settings and added to my dts:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;code&gt;&lt;span&gt;chosen {&lt;br /&gt;...&lt;br /&gt;&amp;nbsp; &amp;nbsp; zephyr,settings-partition = &amp;amp;settings_partition;&lt;br /&gt;...&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;This partition is in NVM so the issue is completely circumvented. I no longer see the mount errors now that the settings subsystem is no longer relying on the filesystem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Manually start the nRF5 802154 radio</title><link>https://devzone.nordicsemi.com/thread/375476?ContentTypeID=1</link><pubDate>Tue, 05 Jul 2022 08:27:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a52ed8e6-c6e3-4657-a73f-96fc88c68ed6</guid><dc:creator>Edvin</dc:creator><description>[quote user="Tristen"]&lt;div&gt;&lt;span&gt;Here is the Zephyr log at boot:&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;[/quote]
&lt;p&gt;So you are using Openthread. That answers one of the questions.&lt;/p&gt;
&lt;p&gt;The lines &amp;quot;fs: mount point not found!!&amp;quot; are printed from fs.c in zephyr\subsys\fs\fs.c&lt;/p&gt;
&lt;p&gt;There are 7 functions that can print this, as far as I can see. It is fs_open(), fs_opendir(), fs_mkdir(), fs_unlink(), fs_rename(), fs_stat(), and fs_statvfs().&lt;/p&gt;
[quote user="Tristen"]My project has preparatory code so I&amp;#39;ll share the kconfig and&amp;nbsp;board files instead. [/quote]
&lt;p&gt;Perhaps you can modify one of the samples from the SDK to use your Kconfig and board files to reproduce the issue, then send it to me, then?&lt;/p&gt;
&lt;p&gt;I am not saying that I do not believe you, but it will be quicker this way. Did you test this in a sample that is not using the openthread stack, and perhaps not the radio at all? Does the issue not occur there?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Manually start the nRF5 802154 radio</title><link>https://devzone.nordicsemi.com/thread/375422?ContentTypeID=1</link><pubDate>Mon, 04 Jul 2022 21:13:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d362117-dc67-40b3-94e2-f45a664015da</guid><dc:creator>Tristen</dc:creator><description>&lt;p&gt;Edvin,&lt;/p&gt;
&lt;p&gt;It is also possible that I misunderstood the error logs and the mount point error is coming from somewhere else, perhaps another module that requires the settings filesystem. For that, I do not know how to debug an NCS project to step through the Zephyr boot in order to root cause the source of this error. Any help would be appreciated.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Manually start the nRF5 802154 radio</title><link>https://devzone.nordicsemi.com/thread/375421?ContentTypeID=1</link><pubDate>Mon, 04 Jul 2022 21:06:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e165eda0-7fc2-446e-a570-715e84837282</guid><dc:creator>Tristen</dc:creator><description>&lt;p&gt;Edvin,&lt;/p&gt;
&lt;p&gt;I see this same issue on my custom board as well as on the nRF52840DK.&amp;nbsp;&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/89578/manually-start-the-nrf5-802154-radio/375405"]&lt;div class="quote-user"&gt;Tristen said:&lt;/div&gt;&lt;div class="quote-content"&gt;I had no success initializing they settings subsystem in the internal flash when using external flash&lt;/div&gt;[/quote]
&lt;p&gt;This means that I am using a file system as the settings storage back-end (as opposed to NVS) via the following kconfig options:&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;code&gt;&lt;span&gt;# File system&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;&lt;code&gt;&lt;span&gt;CONFIG_FILE_SYSTEM&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;&lt;code&gt;&lt;span&gt;CONFIG_FILE_SYSTEM_LITTLEFS&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;code&gt;&lt;span&gt;# Settings&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;&lt;code&gt;&lt;span&gt;CONFIG_SETTINGS_FS&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;&lt;code&gt;&lt;span&gt;CONFIG_SETTINGS_FS_DIR&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;quot;/data&amp;quot;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;&lt;code&gt;&lt;span&gt;CONFIG_SETTINGS_FS_FILE&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;quot;/data/settings&amp;quot;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;It is my understanding that the NRF 802154 driver uses the settings module and therefore will be looking for the storage back-end. In this scenario, the filesystem has not yet been mounted which is why the mount errors are there.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Here is the Zephyr log at boot:&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1656968115799v2.png" /&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;In my projects device tree, I unselected automount. But if I were to rebuild with automount enabled, mounting&amp;nbsp;takes place after the nRF5 802154 radio is initialized and I see the same mount point not found error as above.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;My project has preparatory code so I&amp;#39;ll share the kconfig and&amp;nbsp;board files instead. You should see the issue without my application just by applying the kconfig and dts since the issue happens during boot and not in the application.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/board.zip"&gt;devzone.nordicsemi.com/.../board.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/1122.kconfig.zip"&gt;devzone.nordicsemi.com/.../1122.kconfig.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Manually start the nRF5 802154 radio</title><link>https://devzone.nordicsemi.com/thread/375405?ContentTypeID=1</link><pubDate>Mon, 04 Jul 2022 17:41:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:683517ce-c6c9-42be-90f5-810967b5063f</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Are you using an nRF52840 DK? I was not aware that this is an issue. Did you test this using the external qspi flash on the nRF52840 DK? If so, can you please zip your project folder so that I can try to reproduce it?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="Tristen"]I had no success initializing they settings subsystem in the internal flash when using external flash[/quote]
&lt;p&gt;Not quite sure what this means.&lt;/p&gt;
[quote user="Edvin Holmseth"]Is it the littleFS that complains about the mount point not being found? Have you tried to debug into why? What function call is it that returns an error, and what is the value of that return?[/quote]
&lt;p&gt;Can you please clarify this? What does it look like when it fails? Where does the error appear?&lt;/p&gt;
&lt;p&gt;And in case you don&amp;#39;t reply to the above questions. Are you using Thread or Zigbee? Or are you just using the &amp;quot;raw&amp;quot; 802154 driver? If so, do you intend to use Thread or Zigbee?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;br /&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Manually start the nRF5 802154 radio</title><link>https://devzone.nordicsemi.com/thread/375393?ContentTypeID=1</link><pubDate>Mon, 04 Jul 2022 15:58:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c5830f2-abf8-4d13-971e-1bccb242f8dc</guid><dc:creator>Tristen</dc:creator><description>&lt;p&gt;I&amp;rsquo;m using NCS v2.0.0. That error occurs during Zephyr initialization of the 802154 radio (NOT controlled by my application). This should be observed in any project where you enable LittleFS on external NOR flash and use it for the settings subsystem (I had no success initializing they settings subsystem in the internal flash when using external flash). The issue is apparently due to the radio loading before the file system is mounted (the settings subsystem in this case requires the file system to be mounted first). Due to the time it takes to mount the file system, my application cannot wait for it to mount (it takes about 700ms) and I require being able to manually mount after the application starts running. Therefore I need to do one of two things:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Start the 802154 radio from my application (after the file system is mounted)&lt;/li&gt;
&lt;li&gt;Be able to use an internal flash partition for the settings subsystem AND still be able to mount LittleFS on the external flash.&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Manually start the nRF5 802154 radio</title><link>https://devzone.nordicsemi.com/thread/375388?ContentTypeID=1</link><pubDate>Mon, 04 Jul 2022 15:39:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c92dddd-8216-46bb-937a-0ae9d68a85fd</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Are you using the nRF5 SDK or the nRF Connect SDK?&lt;/p&gt;
[quote user=""]the nRF5 802154 radio driver keeps complaining about the mount point not being found[/quote]
&lt;p&gt;Is it the littleFS that complains about the mount point not being found? Have you tried to debug into why? What function call is it that returns an error, and what is the value of that return?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>