<?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 use NanoPB with Sidewalk</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/109801/unable-to-use-nanopb-with-sidewalk</link><description>Hello, I am trying to use the subghz template in ncs 2.5.2 but I am running into an issue when enabling NanoPB. When enabling NanoPB with CONFIG_NANOPB=y the application faults when connecting to BLE to register on the network. If I am already registered</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Jul 2025 13:41:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/109801/unable-to-use-nanopb-with-sidewalk" /><item><title>RE: Unable to use NanoPB with Sidewalk</title><link>https://devzone.nordicsemi.com/thread/541812?ContentTypeID=1</link><pubDate>Tue, 08 Jul 2025 13:41:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36dcb297-6f21-4fad-b706-e8ea3cdb3350</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Glad to hear it!&lt;/p&gt;
&lt;p&gt;I also wanted to add I just heard that the new&amp;nbsp;&lt;span&gt;Sidewalk Add-on 1.0.1 release should include a fix/workaround this issue.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Elfving&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use NanoPB with Sidewalk</title><link>https://devzone.nordicsemi.com/thread/541552?ContentTypeID=1</link><pubDate>Mon, 07 Jul 2025 02:57:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:647bae03-56ce-48b0-a153-27197d174de8</guid><dc:creator>j.papa</dc:creator><description>&lt;p&gt;I already made it work, I just follow this instruction provided by&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/elfving"&gt;Elfving&lt;/a&gt;&amp;nbsp;.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;As follows:&lt;br /&gt;1. Download version 0.3.9.3 at Nanopb&amp;#39;s website:&amp;nbsp;&lt;a href="https://jpa.kapsi.fi/nanopb/download/nanopb-0.3.9.3-windows-x86.zip"&gt;nanopb-0.3.9.3-windows-x86.zip&lt;/a&gt;,&amp;nbsp;&lt;a href="https://jpa.kapsi.fi/nanopb/download/nanopb-0.3.9.3-linux-x86.tar.gz"&gt;nanopb-0.3.9.3-linux-x86.tar.gz&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;2. Folder /generator-bin consists of the binaries/exe that will generate the necessary .pb.c and .pb.h files, this can be done using the command &lt;code&gt;protoc --nanopb_out=. simple.proto`&lt;/code&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;See example&amp;nbsp;\nanopb-0.3.9.3-windows-x86\examples\simple for reference.&lt;/p&gt;
&lt;p&gt;3. Adding the headers only does not work for me, so I also include their sources, in one folder I have the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li style="padding-left:30px;"&gt;pb_common.h and .c files&lt;/li&gt;
&lt;li style="padding-left:30px;"&gt;pb_decode.h and .c files&lt;/li&gt;
&lt;li style="padding-left:30px;"&gt;pb_encode.h and .c files&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;4. Just make sure to add target_sources() and&amp;nbsp;target_include_directories() that points to the files generated at 2, and common files at 3.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;That&amp;#39;s it, Sidewalk is now happy.&amp;nbsp;&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;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use NanoPB with Sidewalk</title><link>https://devzone.nordicsemi.com/thread/541536?ContentTypeID=1</link><pubDate>Sun, 06 Jul 2025 02:25:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d21db5a0-feb9-4d26-8815-f2bb77d82c51</guid><dc:creator>j.papa</dc:creator><description>&lt;p&gt;Has anyone from the Nordic team or Amazon Sidewalk team found a solution to this issue that doesn&amp;#39;t involve compiling with an older version of nanopb and using external headers?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use NanoPB with Sidewalk</title><link>https://devzone.nordicsemi.com/thread/537217?ContentTypeID=1</link><pubDate>Tue, 27 May 2025 14:06:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0a11ca6-a9b9-48a3-9412-a6c45e20fa24</guid><dc:creator>samtday</dc:creator><description>&lt;p&gt;Elfving:&lt;/p&gt;
&lt;p&gt;Thank you for the update. This is great information. I plan to try that&amp;nbsp;PR and the 0.3.9.3 version of nanopb within my project. Please, keep me updated of any progress made on yours and/or Amazon&amp;#39;s side as I will want to migrate to the updated libraries as soon as they are available.&lt;/p&gt;
&lt;p&gt;Sam&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use NanoPB with Sidewalk</title><link>https://devzone.nordicsemi.com/thread/536970?ContentTypeID=1</link><pubDate>Mon, 26 May 2025 13:56:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17c2ea72-645d-454a-8217-d173982e3771</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We&amp;#39;ve gotten a bit further with this.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The issue stems from that Amazon &lt;span&gt;is using nanopb in version 0.3.9.3.&amp;nbsp;&lt;/span&gt;As Sidewalk has linked the implementation of the used nanopb in the delivered library, when we enable the nanopb config, there is a second implementation, that is not compatible. The linker does not have a way to sort what implementation to use, and therefore it breaks when the incorrect implementation is used.&amp;nbsp;Unfortunately, this version of nanopb is not supported in zephyr.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;We are working with Amazon to upgrade the nanopb to a newer version that is supported by Zephyr, and maybe exclude it from the libraries.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;To in the meantime, what you can do is to is&amp;nbsp;&lt;/span&gt;to download the nanopb in the same version (0.3.9.3) and use that instead, though not from Kconfig, but as an external library. Keep in mind that the compiled version of the nanopb is already part of the sidewalk library, so you should only need the headers for the application.&amp;nbsp;One of the guys in the relevant R&amp;amp;D team&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-sidewalk/pull/714"&gt;&lt;span&gt;created a PR with the headers compatible with the nanopb used in the sidewalk libs here.&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use NanoPB with Sidewalk</title><link>https://devzone.nordicsemi.com/thread/536573?ContentTypeID=1</link><pubDate>Thu, 22 May 2025 09:24:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:277e4b75-cb50-457b-bcd2-3e8f351a35da</guid><dc:creator>Elfving</dc:creator><description>[quote user="samtday"] Let me know if there is anything I can do on my side to assist in the process.[/quote]
&lt;p&gt;We were wondering about how to prioritize this issue. Your RSM have sent you an email about this, if you could answer him that would be great.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use NanoPB with Sidewalk</title><link>https://devzone.nordicsemi.com/thread/536205?ContentTypeID=1</link><pubDate>Tue, 20 May 2025 12:38:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5043383-f22e-4f88-9a5f-ef9402a79f05</guid><dc:creator>samtday</dc:creator><description>&lt;p&gt;Elfving:&lt;/p&gt;
&lt;p&gt;Thank you for elevating this issue. Hopefully we find a resolution soon. Let me know if there is anything I can do on my side to assist in the process.&lt;/p&gt;
&lt;p&gt;Sam&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use NanoPB with Sidewalk</title><link>https://devzone.nordicsemi.com/thread/536186?ContentTypeID=1</link><pubDate>Tue, 20 May 2025 11:53:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5610741a-ed55-4acf-b36e-75bd1fdef0d2</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Understood. We&amp;#39;re looking into it, and &lt;a href="https://github.com/nrfconnect/sdk-nrf/pull/22393#pullrequestreview-2850098029"&gt;it has also been added as a known issue&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use NanoPB with Sidewalk</title><link>https://devzone.nordicsemi.com/thread/535835?ContentTypeID=1</link><pubDate>Fri, 16 May 2025 16:42:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a811cbb-d7ab-4109-a17e-6107e060f365</guid><dc:creator>samtday</dc:creator><description>&lt;p&gt;Elfving: we are building a device with the goal of collecting various sensor values and publishing this data to AWS via Sidewalk. Due to the bandwidth limitations of sidewalk we wanted to utilize protobuf to balance the throughput of data.&lt;/p&gt;
&lt;p&gt;Sam&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use NanoPB with Sidewalk</title><link>https://devzone.nordicsemi.com/thread/535580?ContentTypeID=1</link><pubDate>Thu, 15 May 2025 12:34:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d0171f3-8c13-4d61-85c5-48308204409f</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;We are seeing this on our side as well now, and the relevant R&amp;amp;D team is looking into it.&amp;nbsp;&lt;span style="font-family:inherit;"&gt;There might be some sort of conflict since nanobp is already in use by the protocol library for sidewalk.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Could you expand a bit on your use-case for&amp;nbsp;&lt;span&gt;nanopb?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Elfving&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use NanoPB with Sidewalk</title><link>https://devzone.nordicsemi.com/thread/535429?ContentTypeID=1</link><pubDate>Thu, 15 May 2025 01:19:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca641118-c755-431c-b1a6-bbfb26c2ce2d</guid><dc:creator>samtday</dc:creator><description>&lt;p&gt;Since the error seems to be related to stack size and the crash I received is coming from the Sidewalk Thread, I tried increasing the following config variables within prj.conf&lt;/p&gt;
&lt;p class="xmsonormal"&gt;&lt;span style="color:black;"&gt;CONFIG_SIDEWALK_THREAD_STACK_SIZE=24576 (from 16384 &amp;amp; 8192)&lt;/span&gt;&lt;/p&gt;
&lt;p class="xmsonormal"&gt;CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=8192 (from 4096)&lt;/p&gt;
&lt;p class="xmsonormal"&gt;CONFIG_SIDEWALK_HEAP_SIZE=10240 (from 5120)&lt;/p&gt;
&lt;p class="xmsonormal"&gt;But none of these changes affected the outcome.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use NanoPB with Sidewalk</title><link>https://devzone.nordicsemi.com/thread/535185?ContentTypeID=1</link><pubDate>Tue, 13 May 2025 16:47:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34fc43c3-da17-40ee-a3e9-30a5a1177967</guid><dc:creator>samtday</dc:creator><description>&lt;p&gt;Elfving, thanks for the guidance.&lt;/p&gt;
&lt;p&gt;I ran into issues with the &amp;quot;&lt;span lang="en-US"&gt;arm-none-eabi-addr2line&amp;quot; command.&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;There is no zephyr.elf at that location.&lt;/li&gt;
&lt;li&gt;I did find a few zephyr.elf files at other locations, but when I attempt to run the addr2line command, the output is: &amp;quot;The system cannot find the file specified&amp;quot;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;All this to say, I did go look a the zephyr.map file and found where the address should be:&lt;/p&gt;
&lt;p&gt;.text.load_descriptor_values&lt;br /&gt; 0x0000000000050af4 0xf4 modules/nanopb/libmodules__nanopb.a(pb_common.c.obj)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use NanoPB with Sidewalk</title><link>https://devzone.nordicsemi.com/thread/535143?ContentTypeID=1</link><pubDate>Tue, 13 May 2025 13:19:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92aaced3-1e66-475c-8311-8462e1cec21f</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hi again Sam, and thank you for your patience,&lt;/p&gt;
&lt;p&gt;You are not seeing this issue with NANOPB not enabled right? If so I would assume that the &lt;span&gt;mfg.hex is fine.&amp;nbsp;&lt;/span&gt;Could you try running &lt;span&gt;addr2line on that faulting instruction set?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Here are some steps on how to use addr2line:&lt;/p&gt;
&lt;ol&gt;
&lt;li value="1"&gt;&lt;em&gt;&lt;span lang="en-US"&gt;Check if you have arm-none-eabi-addr2line set up by running &amp;quot;&lt;/span&gt;&lt;span lang="nb-NO"&gt;where arm-none-eabi-addr2line&amp;quot;&amp;nbsp;&lt;/span&gt;&lt;span lang="en-US"&gt;in a cmd window.&lt;/span&gt;&lt;/em&gt;
&lt;ol&gt;
&lt;li value="1"&gt;&lt;em&gt;&lt;span lang="en-US"&gt;This should return something like &amp;quot;&lt;/span&gt;&lt;span lang="nb-NO"&gt;C:\Program Files (x86)\GNU Tools ARM Embedded\4.9 2015q3\bin\arm-none-eabi-addr2line.exe&amp;quot;&lt;/span&gt;&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;If it does not return this, then there might be some issues with the gnuarmemb path configuration&lt;/em&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Next step is to investigate what is in the R15/pc and R14/lr addresses&lt;/em&gt;
&lt;ol&gt;
&lt;li value="1"&gt;&lt;em&gt;arm-none-eabi-addr2line -e &amp;lt;path to _build\zephyr\zephyr.elf&amp;gt; &amp;lt;0x000211a8&amp;gt; for r15/pc&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;arm-none-eabi-addr2line -e &amp;lt;path to _build\zephyr\zephyr.elf&amp;gt; &amp;lt;0x00018b3d&amp;gt; for r14/lr&lt;/em&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;em&gt;2. Should give you what function call that causes the kernel panic deep down in the stack.&amp;nbsp;Remember to replace &amp;quot;&amp;lt;path to _build\zephyr\zephyr.elf&amp;gt;&amp;quot; with your actual path&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use NanoPB with Sidewalk</title><link>https://devzone.nordicsemi.com/thread/534321?ContentTypeID=1</link><pubDate>Wed, 07 May 2025 15:02:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c69c252c-62fe-482e-9db1-0dea296e3d35</guid><dc:creator>samtday</dc:creator><description>&lt;p&gt;I was able to migrate my v2.9.0 based project up to v3.0.0 and build successfully. I also tried running the Amazon Sidewalk Add-on example and enabled the CONFIG_NANOPB. In both cases the build was successful but when I flash the project to my nrf5340 DK, it crashes.&lt;/p&gt;
&lt;p&gt;When I say not running appropriately I mean it runs and crashes with a similar error print out to the one I shared before:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting Sidewalk v0.1.99-addon-12c29cd0964e ***
*** Using nRF Connect SDK v3.0.0-3bfc46578e42 ***
*** Using Zephyr OS v4.0.99-a0e545cb437a ***
----------------------------------------------------------------
Sidewalk SDK        = 1.18.0.18
APP_BUILD_VERSION   = v1.0.0-add-on
APP_NAME            = sidewalk
build time          = May  6 2025 15:30:17
board               = nrf5340dk/nrf5340/cpuapp
----------------------------------------------------------------
[00:00:00.001,647] &amp;lt;inf&amp;gt; application_state: working = true
[00:00:00.072,631] &amp;lt;inf&amp;gt; bt_hci_core: HW Platform: Nordic Semiconductor (0x0002)
[00:00:00.072,662] &amp;lt;inf&amp;gt; bt_hci_core: HW Variant: nRF53x (0x0003)
[00:00:00.072,692] &amp;lt;inf&amp;gt; bt_hci_core: Firmware: Standard Bluetooth controller (0x00) Version 199.32083 Build 4145153724
[00:00:00.075,225] &amp;lt;inf&amp;gt; bt_hci_core: Identity: ED:92:4B:94:92:3C (random)
[00:00:00.075,225] &amp;lt;inf&amp;gt; bt_hci_core: HCI: version 6.0 (0x0e) revision 0x20e8, manufacturer 0x0059
[00:00:00.075,256] &amp;lt;inf&amp;gt; bt_hci_core: LMP: version 6.0 (0x0e) subver 0x20e8
metal: warning:   tx_vq: freeing non-empty virtqueue
metal: warning:   rx_vq: freeing non-empty virtqueue
[00:00:00.081,756] &amp;lt;err&amp;gt; sid_mfg: Flash protect failed -22
[00:00:00.146,514] &amp;lt;err&amp;gt; sidewalk_events: radio init err -6
[00:00:00.170,562] &amp;lt;err&amp;gt; sidewalk_events: radio sleep err -6
[00:00:00.170,593] &amp;lt;inf&amp;gt; sidewalk_events: Sidewalk link switch to BLE
[00:00:00.174,560] &amp;lt;inf&amp;gt; sid_ble: Enable BT
[00:00:00.273,345] &amp;lt;inf&amp;gt; bt_hci_core: HW Platform: Nordic Semiconductor (0x0002)
[00:00:00.273,376] &amp;lt;inf&amp;gt; bt_hci_core: HW Variant: nRF53x (0x0003)
[00:00:00.273,406] &amp;lt;inf&amp;gt; bt_hci_core: Firmware: Standard Bluetooth controller (0x00) Version 199.32083 Build 4145153724
[00:00:00.275,909] &amp;lt;inf&amp;gt; bt_hci_core: Identity: ED:92:4B:94:92:3C (random)
[00:00:00.275,939] &amp;lt;inf&amp;gt; bt_hci_core: HCI: version 6.0 (0x0e) revision 0x20e8, manufacturer 0x0059
[00:00:00.275,970] &amp;lt;inf&amp;gt; bt_hci_core: LMP: version 6.0 (0x0e) subver 0x20e8
[00:00:00.275,970] &amp;lt;inf&amp;gt; sid_ble: BT initialized
[00:00:00.282,257] &amp;lt;inf&amp;gt; app: Status changed: not ready
[00:00:00.282,379] &amp;lt;inf&amp;gt; app: Device Unregistered, Time Sync Fail, Link status: {BLE: Down, FSK: Down, LoRa: Down}
[00:00:00.946,136] &amp;lt;inf&amp;gt; sid_ble_conn: BT Connected
[00:00:01.522,735] &amp;lt;err&amp;gt; os: ***** BUS FAULT *****
[00:00:01.522,766] &amp;lt;err&amp;gt; os:   Precise data bus error
[00:00:01.522,766] &amp;lt;err&amp;gt; os:   BFAR Address: 0x110001
[00:00:01.522,796] &amp;lt;err&amp;gt; os: r0/a1:  0x2000f1b8  r1/a2:  0x00110001  r2/a3:  0x00000000
[00:00:01.522,827] &amp;lt;err&amp;gt; os: r3/a4:  0x00000000 r12/ip:  0x20004e88 r14/lr:  0x000234e3
[00:00:01.522,827] &amp;lt;err&amp;gt; os:  xpsr:  0x41000200
[00:00:01.522,827] &amp;lt;err&amp;gt; os: s[ 0]:  0x2001c858  s[ 1]:  0x2000f230  s[ 2]:  0x2000a098  s[ 3]:  0x0000000b
[00:00:01.522,857] &amp;lt;err&amp;gt; os: s[ 4]:  0x00000008  s[ 5]:  0x000234e3  s[ 6]:  0x2001c8dc  s[ 7]:  0x200077a2
[00:00:01.522,857] &amp;lt;err&amp;gt; os: s[ 8]:  0x00000000  s[ 9]:  0x00000000  s[10]:  0x00000000  s[11]:  0x0004e7a5
[00:00:01.522,888] &amp;lt;err&amp;gt; os: s[12]:  0x00000000  s[13]:  0x00000000  s[14]:  0x000689cb  s[15]:  0x200077d0
[00:00:01.522,888] &amp;lt;err&amp;gt; os: fpscr:  0x00000000
[00:00:01.522,918] &amp;lt;err&amp;gt; os: r4/v1:  0x2000f230  r5/v2:  0x2000a098  r6/v3:  0x000689cb
[00:00:01.522,918] &amp;lt;err&amp;gt; os: r7/v4:  0x00000008  r8/v5:  0x00000000  r9/v6:  0x20007640
[00:00:01.522,949] &amp;lt;err&amp;gt; os: r10/v7: 0x00000000  r11/v8: 0x00000000    psp:  0x2000f160
[00:00:01.522,949] &amp;lt;err&amp;gt; os: EXC_RETURN: 0xfffffffd
[00:00:01.522,949] &amp;lt;err&amp;gt; os: Faulting instruction address (r15/pc): 0x0004fb3c
[00:00:01.522,979] &amp;lt;err&amp;gt; os: &amp;gt;&amp;gt;&amp;gt; ZEPHYR FATAL ERROR 25: Unknown error on CPU 0
[00:00:01.523,010] &amp;lt;err&amp;gt; os: Current thread: 0x20003a78 (unknown)
[00:00:01.662,963] &amp;lt;err&amp;gt; os: Halting system&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use NanoPB with Sidewalk</title><link>https://devzone.nordicsemi.com/thread/534224?ContentTypeID=1</link><pubDate>Wed, 07 May 2025 08:12:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:817962b1-82bf-4448-9be7-4de4323d21ad</guid><dc:creator>Elfving</dc:creator><description>[quote user="samtday"]It seems the transition to v3.0.1 would require me to begin from an entirely different project (after downloading the &amp;#39;Amazon Sidewalk Add-on&amp;#39;) to be able to include the sidewalk SDK. Is this what you expect given I am currently working on v2.9.0. [/quote]
&lt;p&gt;Not at all, I am just trying to figure out what is wrong here by giving us the same baseline (given that I allready tested this on NCS 3 etc.). If you already have a large project set-up on NCS 2.9 we can continue&amp;nbsp;with NCS 2.9&amp;nbsp;&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;&amp;nbsp;Though I would suggest to start off by looking at the default sample instead of the project you have, as there could be other things that you&amp;#39;ve added that makes it run into this issue. Please try the default sample and let me know how it&amp;nbsp;goes.&lt;/p&gt;
[quote user="samtday"]I was able to migrate to the newest versions of the SDK and build a fresh example of sid_end_device with the only change being the addition of &amp;#39;CONFIG_NANOPB=y&amp;#39; to prj.conf and it is still not running appropriately.[/quote]
&lt;p&gt;What do you mean by it not running appropriately? Do you get a build error?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use NanoPB with Sidewalk</title><link>https://devzone.nordicsemi.com/thread/534172?ContentTypeID=1</link><pubDate>Tue, 06 May 2025 19:43:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2d3946b-ed4a-4c02-965c-ba93cbe49278</guid><dc:creator>samtday</dc:creator><description>&lt;p&gt;I was able to migrate to the newest versions of the SDK and build a fresh example of sid_end_device with the only change being the addition of &amp;#39;CONFIG_NANOPB=y&amp;#39; to prj.conf and it is still not running appropriately.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use NanoPB with Sidewalk</title><link>https://devzone.nordicsemi.com/thread/534151?ContentTypeID=1</link><pubDate>Tue, 06 May 2025 16:14:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7893c39c-6ee2-4462-901e-d58e6cd367d6</guid><dc:creator>samtday</dc:creator><description>&lt;p&gt;It seems the transition to v3.0.1 would require me to begin from an entirely different project (after downloading the &amp;#39;Amazon Sidewalk Add-on&amp;#39;) to be able to include the sidewalk SDK. Is this what you expect given I am currently working on v2.9.0. Is there a way to point my current project to the appropriate version instead of having to start from scratch in the new SDK?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use NanoPB with Sidewalk</title><link>https://devzone.nordicsemi.com/thread/534143?ContentTypeID=1</link><pubDate>Tue, 06 May 2025 14:46:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2608e25-58b3-4e05-80c7-98ea5d1943a9</guid><dc:creator>samtday</dc:creator><description>&lt;p&gt;Are there changes I should be aware of transitioning from 2.9.0 or am I good to just adjust the build configuration and run with it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use NanoPB with Sidewalk</title><link>https://devzone.nordicsemi.com/thread/534139?ContentTypeID=1</link><pubDate>Tue, 06 May 2025 14:19:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:000c5f7c-d98a-4ea2-a786-1e114a35f8d8</guid><dc:creator>Elfving</dc:creator><description>[quote user="samtday"]Which version should I go to - 3.0.0 or 3.0.1?[/quote]
&lt;p&gt;3.0.1. The last digit is just for bug-fixes, no API changes.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It is strange that you have issues with any version, though let&amp;#39;s start focusing on v3, and see what the logs look like there.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use NanoPB with Sidewalk</title><link>https://devzone.nordicsemi.com/thread/534129?ContentTypeID=1</link><pubDate>Tue, 06 May 2025 13:39:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02936828-4dcb-460a-be6c-be368c89af36</guid><dc:creator>samtday</dc:creator><description>&lt;p&gt;This is the print out from my application - I am about to try migrating to a new version of NCS. Which version should I go to - 3.0.0 or 3.0.1?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting Sidewalk v2.9.0-700b67f39073 ***
*** Using nRF Connect SDK v2.9.0-7787b2649840 ***
*** Using Zephyr OS v3.7.99-1f8f3dc29142 *----------------------------------------------------------------
Sidewalk SDK        = 1.17.1.18
APP_BUILD_VERSION   = 700b67f39073
APP_NAME            = sidewalk
build time          = May  6 2025 09:27:49
board               = nrf5340dk/nrf5340/cpuapp
----------------------------------------------------------------
[00:00:00.002,532] &amp;lt;inf&amp;gt; adc: Start ADC Init
[00:00:00.002,624] &amp;lt;inf&amp;gt; adc: ADC Initialized Successfully
[00:00:00.003,509] &amp;lt;inf&amp;gt; adc: Temp: 0 *C (0 *F)
[00:00:00.003,540] &amp;lt;inf&amp;gt; adc: Send Temp Sidewalk message
[00:00:00.004,211] &amp;lt;inf&amp;gt; sidewalk_events: sidewalk need to be started first.
[00:00:00.020,996] &amp;lt;err&amp;gt; os: ***** USAGE FAULT *****
[00:00:00.021,057] &amp;lt;err&amp;gt; os:   Stack overflow (context area not valid)
[00:00:00.021,148] &amp;lt;err&amp;gt; os: r0/a1:  0xfffffffe  r1/a2:  0xffffffff  r2/a3:  0x00050000
[00:00:00.021,209] &amp;lt;err&amp;gt; os: r3/a4:  0x00000000 r12/ip:  0xffffffff r14/lr:  0x000965fb
[00:00:00.021,270] &amp;lt;err&amp;gt; os:  xpsr:  0xa1000000
[00:00:00.021,362] &amp;lt;err&amp;gt; os: s[ 0]:  0xfffafffe  s[ 1]:  0xffffffff  s[ 2]:  0x20012378  s[ 3]:  0x00000000
[00:00:00.021,484] &amp;lt;err&amp;gt; os: s[ 4]:  0x00000000  s[ 5]:  0x000965fb  s[ 6]:  0x00050000  s[ 7]:  0x00000000
[00:00:00.021,575] &amp;lt;err&amp;gt; os: s[ 8]:  0xffffffff  s[ 9]:  0x200123f0  s[10]:  0xffffffff  s[11]:  0x20004134
[00:00:00.021,697] &amp;lt;err&amp;gt; os: s[12]:  0x00050000  s[13]:  0x00000000  s[14]:  0x0007aa31  s[15]:  0x00000000
[00:00:00.021,728] &amp;lt;err&amp;gt; os: fpscr:  0x200123c8
[00:00:00.021,820] &amp;lt;err&amp;gt; os: r4/v1:  0xfffafffe  r5/v2:  0xffffffff  r6/v3:  0x00000000
[00:00:00.021,881] &amp;lt;err&amp;gt; os: r7/v4:  0x20012378  r8/v5:  0x00000000  r9/v6:  0x00000000
[00:00:00.021,972] &amp;lt;err&amp;gt; os: r10/v7: 0x00000000  r11/v8: 0x00000000    psp:  0x20012340
[00:00:00.022,003] &amp;lt;err&amp;gt; os: EXC_RETURN: 0xfffffffd
[00:00:00.022,064] &amp;lt;err&amp;gt; os: Faulting instruction address (r15/pc): 0x00050030
[00:00:00.022,155] &amp;lt;err&amp;gt; os: &amp;gt;&amp;gt;&amp;gt; ZEPHYR FATAL ERROR 2: Stack overflow on CPU 0
[00:00:00.022,186] &amp;lt;err&amp;gt; os: Current thread: 0x200042b8 (unknown)
[00:00:00.215,148] &amp;lt;err&amp;gt; os: Halting system&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use NanoPB with Sidewalk</title><link>https://devzone.nordicsemi.com/thread/534124?ContentTypeID=1</link><pubDate>Tue, 06 May 2025 13:17:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:395e6373-260d-4822-8c3d-26d42d0946ad</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Just to have the same baseline here, are you seeing it working with the default sample in 2.9?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use NanoPB with Sidewalk</title><link>https://devzone.nordicsemi.com/thread/534100?ContentTypeID=1</link><pubDate>Tue, 06 May 2025 12:01:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:723435bb-fb56-44f3-afd6-739b81ae8497</guid><dc:creator>samtday</dc:creator><description>&lt;p&gt;I am working with NCS 2.9.0. I am using the sensor_monitoring variant of the sidewalk_end_device example and have enabled an adc channel as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use NanoPB with Sidewalk</title><link>https://devzone.nordicsemi.com/thread/534073?ContentTypeID=1</link><pubDate>Tue, 06 May 2025 09:20:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a03a3146-98a3-4425-a276-22a35d0883f7</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hi Sam,&lt;/p&gt;
&lt;p&gt;I am not sure what happened to this case, but I haven&amp;#39;t looked into this for about a year. Though I tried building the &lt;a href="https://docs.nordicsemi.com/bundle/sidewalk_latest/page/samples/sid_end_device.html"&gt;sidewalk end device sample&lt;/a&gt; for NCS 3 just now, with&amp;nbsp;&lt;strong&gt;CONFIG_NANOPB &lt;/strong&gt;enabled, for the nRF5340dk, and that seems to build ok. Are you seeing this issue on newer SDKs as well? What NCS version are you using?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use NanoPB with Sidewalk</title><link>https://devzone.nordicsemi.com/thread/533998?ContentTypeID=1</link><pubDate>Mon, 05 May 2025 21:46:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a52a66c-2929-4dbc-b7d6-82e89df6b688</guid><dc:creator>samtday</dc:creator><description>&lt;p&gt;Has anyone seen any progress or resolution to this problem? I am trying to enable this on a nrf5340.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/elfving"&gt;Elfving&lt;/a&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/sigurd-hellesvik"&gt;Sigurd Hellesvik&lt;/a&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/khelmutlord"&gt;khelmutlord&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to use NanoPB with Sidewalk</title><link>https://devzone.nordicsemi.com/thread/476673?ContentTypeID=1</link><pubDate>Tue, 02 Apr 2024 15:42:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b423ddc-f593-4361-8a54-a09eca8abc16</guid><dc:creator>vawkes</dc:creator><description>&lt;p&gt;No worries. At the moment the call stack and fault info above are all I have. It is pretty easier to reproduce by just adding&amp;nbsp;&lt;strong&gt;CONFIG_NANOPB=y&lt;/strong&gt; if you need more info immediately. I will see if I can get some more debug information later.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>