<?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>Read nRF5340 Network Core &amp;quot;FW_INFO&amp;quot; from the App Core</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/89210/read-nrf5340-network-core-fw_info-from-the-app-core</link><description>Hello Devzone, 
 How can the nRF5340 App core read the &amp;quot;version number&amp;quot; of the image flashed to the Network Core, e.g. the FW_INFO fields, or something similar? 
 I am using NCS 1.9.1. 
 I am able to manually dump and examine the Network core&amp;#39;s binary</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 08 Sep 2025 09:01:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/89210/read-nrf5340-network-core-fw_info-from-the-app-core" /><item><title>RE: Read nRF5340 Network Core "FW_INFO" from the App Core</title><link>https://devzone.nordicsemi.com/thread/548031?ContentTypeID=1</link><pubDate>Mon, 08 Sep 2025 09:01:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a77b4ace-2447-4a93-b987-7fa01d42404c</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/przemek-ostrowski"&gt;Przemek Ostrowski&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Can you provide more information about your application?&lt;br /&gt;Can you provide some details on what you try to achieve?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read nRF5340 Network Core "FW_INFO" from the App Core</title><link>https://devzone.nordicsemi.com/thread/547962?ContentTypeID=1</link><pubDate>Fri, 05 Sep 2025 16:20:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99c5dc0e-dbae-483d-b073-3a24845fcff7</guid><dc:creator>Przemek Ostrowski</dc:creator><description>&lt;p&gt;That is a must have feature. How can you test the net core updates otherwise?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read nRF5340 Network Core "FW_INFO" from the App Core</title><link>https://devzone.nordicsemi.com/thread/375856?ContentTypeID=1</link><pubDate>Wed, 06 Jul 2022 15:06:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93788d11-1afd-4d7b-8fe3-68832858de2f</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Blake,&lt;br /&gt;&lt;br /&gt;It is good to know that you found a way forward.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read nRF5340 Network Core "FW_INFO" from the App Core</title><link>https://devzone.nordicsemi.com/thread/375641?ContentTypeID=1</link><pubDate>Wed, 06 Jul 2022 00:05:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e95f95e-9d74-4cc2-87cb-0c9199829e3c</guid><dc:creator>blake-bit</dc:creator><description>&lt;p&gt;I&amp;#39;ve worked out my own solution to have the NetCore App write its FW_INFO version number to a shared memory location at boot.&lt;/p&gt;
&lt;p&gt;So that will suffice; though I&amp;#39;m disappointed there isn&amp;#39;t an out of the box solution via simple kconfigs and existing HCI commands.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;-Blake&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read nRF5340 Network Core "FW_INFO" from the App Core</title><link>https://devzone.nordicsemi.com/thread/375631?ContentTypeID=1</link><pubDate>Tue, 05 Jul 2022 18:57:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54a652bb-67fb-49f8-9f0c-e0954c37be24</guid><dc:creator>blake-bit</dc:creator><description>&lt;p&gt;Hi Dejan,&lt;/p&gt;
&lt;p&gt;Simply put, is there any way I can set a 16-bit value anywhere in the Network Core App image at build time that can be read back by the Application Core App image at runtime?&lt;/p&gt;
&lt;p&gt;This is desired to be to differentiate between two App Core App images that have been built with different kconfigs set in our child_image/hci_rpmsg.conf file.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;Blake&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read nRF5340 Network Core "FW_INFO" from the App Core</title><link>https://devzone.nordicsemi.com/thread/375622?ContentTypeID=1</link><pubDate>Tue, 05 Jul 2022 16:32:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5547dcf3-4ae2-46b9-a32a-92fffe2dddc2</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Blake,&lt;br /&gt;&lt;br /&gt;What you asked is currently not supported in SoftDevice Controller. List of supported HCI VS commands can be found&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrfxlib/softdevice_controller/doc/api.html#c.sdc_hci_opcode_vs"&gt;here&lt;/a&gt;.&lt;br /&gt;BT_VS_CMD_BIT_READ_BUILD_INFO is supported in Zephyr and can be selected by enabling CONFIG_BT_LL_SW_SPLIT=y. Apart from this, we recommend the use of SoftDevice Controller.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read nRF5340 Network Core "FW_INFO" from the App Core</title><link>https://devzone.nordicsemi.com/thread/375391?ContentTypeID=1</link><pubDate>Mon, 04 Jul 2022 15:43:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ea84176-10cc-46a4-a7cc-a69029120254</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Blake,&lt;br /&gt;&lt;br /&gt;I have requested more information internally. I&amp;#39;ll get back to you when I get some additional information, hopefully tomorrow or the day after tomorrow.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read nRF5340 Network Core "FW_INFO" from the App Core</title><link>https://devzone.nordicsemi.com/thread/375169?ContentTypeID=1</link><pubDate>Fri, 01 Jul 2022 22:21:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64180dad-d11d-49ac-ae0d-03ba5389eaba</guid><dc:creator>blake-bit</dc:creator><description>&lt;p&gt;Hi Dejan,&lt;br /&gt;&lt;br /&gt;I had already tried what you suggested. I added&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;CONFIG_BT_HCI_VS_EXT=y&lt;/code&gt;&lt;br /&gt;&lt;code&gt;CONFIG_BT_CTLR_HCI_VS_BUILD_INFO=&amp;quot;TESTFOO&amp;quot;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;to our&amp;nbsp;&lt;code&gt;child_image/hci_rpmsg.conf&lt;/code&gt;, and nothing improved.&lt;/p&gt;
&lt;p&gt;Maybe I&amp;#39;m invoking the command incorrectly, &lt;strong&gt;can you provide some example code that invokes the&amp;nbsp;&lt;code&gt;BT_HCI_OP_VS_READ_VERSION_INFO&lt;/code&gt; command on the host and prints out its contents?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Alternatively&lt;span&gt;, I&amp;#39;m not certain the function to populate that data would get compiled&amp;nbsp;into our BLE controller on our build. We are using the &amp;quot;softcore&amp;quot; in NCS 1.9.1. I do see where the data is populated&amp;nbsp;in the&amp;nbsp;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/blob/main/subsys/bluetooth/controller/hci/hci.c#L4981"&gt;hci.c&lt;/a&gt;&amp;nbsp;file, but I can completely DELETE the file and rebuild the project from scratch and things still build successfully&amp;nbsp;- so I don&amp;#39;t think the project is using the hci.c file at all - therefore the kconfig would have no effect.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Is there some kconfig or setting that will cause the Network Core Application to use some nrfx pre-compiled library that I can&amp;#39;t change?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;Should I expect to find the functions that populate this data in the .map file of the build output for the network core?&lt;/strong&gt;&lt;br /&gt;For example, I would expect to find&amp;nbsp;&lt;code&gt;vs_read_version_info&lt;/code&gt; as you mentioned above, but I don&amp;#39;t see it in the map file; it might be obscured behind a randomly&amp;nbsp;generated name. However I did find&amp;nbsp;&lt;code&gt;sdc_hci_cmd_vs_zephyr_read_version_info&lt;/code&gt; which is part of the nrfx pre-compiled library that I don&amp;#39;t think I change either with code or kconfigs, see below.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;build/hci_rpmsg/zephyr/zephyr_pre1.map:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt; .text          0x0000000001025d72       0x34 ~/co/firmware-nrf-zephyr/workspace/nrfxlib/softdevice_controller/lib/cortex-m33+nodsp/soft-float/libsoftdevice_controller_multirole.a(libsoftdevice_controller_s140_debug_soft__obfuscated.elf)
                0x0000000001025d72                sdc_hci_cmd_vs_zephyr_read_version_info&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Is there a sample project that I can reference&amp;nbsp;(possibly for the 5340dk board) that has this command enabled and working?&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks,&lt;br /&gt;Blake&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read nRF5340 Network Core "FW_INFO" from the App Core</title><link>https://devzone.nordicsemi.com/thread/375125?ContentTypeID=1</link><pubDate>Fri, 01 Jul 2022 13:35:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:762fd4db-ca04-4aa1-b50c-4a6e0f70c15b</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;You should include CONFIG_BT_HCI_VS_EXT=y configuration option.&lt;br /&gt;&lt;br /&gt;The code for populating the data is located in&amp;nbsp;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/blob/main/subsys/bluetooth/controller/hci/hci.c#L4981"&gt;hci.c&lt;/a&gt;&amp;nbsp;file.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read nRF5340 Network Core "FW_INFO" from the App Core</title><link>https://devzone.nordicsemi.com/thread/374987?ContentTypeID=1</link><pubDate>Fri, 01 Jul 2022 00:11:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77a89363-982f-466b-b9f1-17830ff15ceb</guid><dc:creator>blake-bit</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Correct, I am aware the two Cores cannot read each other&amp;#39;s flash data, thus a HCI command will have to be used.&lt;/p&gt;
&lt;p&gt;Ok, the&amp;nbsp;&lt;span&gt;BT_HCI_OP_VS_READ_VERSION_INFO command seems to be fixed from the nrfx pre-compiled library and cannot be changed.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I did try the command you suggested as I noted in my original question, but re-trying today I still get a failed response as I saw before:&lt;/p&gt;
[quote userid="106448" url="~/f/nordic-q-a/89210/read-nrf5340-network-core-fw_info-from-the-app-core"]I also saw this defined&amp;nbsp;BT_VS_CMD_BIT_READ_BUILD_INFO, but didn&amp;#39;t see anywhere that this command type/enum is handled. I attempted to make the HCI call with this command but it failed with:&amp;nbsp;&lt;br /&gt;&lt;code&gt;[00:00:00.665,740] &amp;lt;wrn&amp;gt; bt_hci_core : opcode 0xfc08 status 0x01&lt;/code&gt;&lt;br /&gt;Is this command implemented?[/quote]
&lt;p&gt;Can you tell me how to configure the BLE controller to be able to respond to this command? Or where the code in the controller is that populates the data to respond to this command - I could not find it?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read nRF5340 Network Core "FW_INFO" from the App Core</title><link>https://devzone.nordicsemi.com/thread/374197?ContentTypeID=1</link><pubDate>Fri, 24 Jun 2022 14:43:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2bdd1362-5e6f-4c4f-b8d4-2838edf56b7b</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;It should not be possible to read information written in the network core from the application core at runtime.&lt;br /&gt;&lt;br /&gt;For the second question, it is not expected for values that you mentioned to change. BT_HCI_OP_VS_READ_VERSION_INFO calls vs_read_version_info&amp;nbsp;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/blob/main/subsys/bluetooth/controller/hci/hci.c#L4611"&gt;here&lt;/a&gt;. BT_HCI_VS_HW_PLAT and BT_HCI_HW_VAR relate to the board. Kernel variables are defined&amp;nbsp;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/blob/main/VERSION"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;You could try command&amp;nbsp;BT_HCI_OP_VS_READ_BUILD_INFO? This should return&amp;nbsp;&amp;quot;Zephyr OS v&amp;quot; \ KERNEL_VERSION_STRING CONFIG_BT_CTLR_HCI_VS_BUILD_INFO if&amp;nbsp;&amp;nbsp;&lt;span&gt;CONFIG_BT_CTLR_HCI_VS_BUILD_INFO has been set in your configuration file.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Best regards,&lt;br /&gt;Dejan&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read nRF5340 Network Core "FW_INFO" from the App Core</title><link>https://devzone.nordicsemi.com/thread/373836?ContentTypeID=1</link><pubDate>Thu, 23 Jun 2022 07:41:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf167647-74a1-459b-ba5b-7b7d6c6e225e</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I have asked internally. I&amp;#39;ll get back to you when I get new information.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read nRF5340 Network Core "FW_INFO" from the App Core</title><link>https://devzone.nordicsemi.com/thread/373764?ContentTypeID=1</link><pubDate>Wed, 22 Jun 2022 16:05:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1091db32-c792-4b24-83ef-910f469bea14</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I&amp;#39;ll look into it. I&amp;#39;ll get back to you tomorrow.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>