<?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>Zigbee_coordinator and Light_bulb cause BUS FAULT on nRF5340dk</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/76311/zigbee_coordinator-and-light_bulb-cause-bus-fault-on-nrf5340dk</link><description>Hello, 
 I&amp;#39;ve been trying to learn to develop an app based on ZigBee, it&amp;#39;s the first time i&amp;#39;m working with nRF hardware and the only things i&amp;#39;ve done so far was to run some examples. 
 When running either of the two ZigBee examples, I noticed the boards</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 16 Jun 2021 09:41:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/76311/zigbee_coordinator-and-light_bulb-cause-bus-fault-on-nrf5340dk" /><item><title>RE: Zigbee_coordinator and Light_bulb cause BUS FAULT on nRF5340dk</title><link>https://devzone.nordicsemi.com/thread/315557?ContentTypeID=1</link><pubDate>Wed, 16 Jun 2021 09:41:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2bc09bd5-af05-4b80-9fc6-5edf80a8db31</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What error are you getting? In the Output window in SES (Segger Embedded Studio) you can select to show&amp;nbsp;&lt;strong&gt;Transcript&amp;nbsp;&lt;/strong&gt;and&amp;nbsp;&lt;strong&gt;Output&lt;/strong&gt;, and it will show you a log of the build process. Please copy the log and add it here by either uploading it as a .txt file or using Insert -&amp;gt; Code, so I can help you with this error.&lt;/p&gt;
&lt;p&gt;I tested compiling for cpunet now myself to make sure it works, using SES and NCS v1.5.1, and I did not get any errors. I have not made any changes to this project, so it should work out of the box.&amp;nbsp;Be aware that it is only the nRF IEEE 802.15.4: Serialization RPMsg sample you should build for cpunet. The build target for the network coordinator should still be cpuapp.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee_coordinator and Light_bulb cause BUS FAULT on nRF5340dk</title><link>https://devzone.nordicsemi.com/thread/315533?ContentTypeID=1</link><pubDate>Wed, 16 Jun 2021 08:36:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e9143bc-89e5-4ee8-b4bd-442d68714405</guid><dc:creator>CrisT</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Compiling for the cpunet yields a compilation error.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Cristian T&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee_coordinator and Light_bulb cause BUS FAULT on nRF5340dk</title><link>https://devzone.nordicsemi.com/thread/315522?ContentTypeID=1</link><pubDate>Wed, 16 Jun 2021 08:11:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a1b5b57-ff27-4ec0-b98c-05dfdc850df6</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The information regarding the nRF IEEE 802.15.4: Serialization RPMsg sample is not included in the documentation of Zigbee examples, as it is only required for the nRF5340. This is because the nRF5340 SoC has two cores, where&amp;nbsp;the network core is responsible for the radio, and the application core has the application itself.&amp;nbsp;This is different from devices from the nRF52 series,&amp;nbsp;which&amp;nbsp;only have one core that handles both the radio and the application. Therefore, this information can be found in our documentation about&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.5.1/nrf/ug_nrf5340.html"&gt;Working with nRF53 Series&lt;/a&gt;. This is the same for Bluetooth examples on the nRF5340 DK, except you must program the network core with a Bluetooth controller instead of one for&amp;nbsp;nRF IEEE 802.15.4.&lt;/p&gt;
[quote user="CrisT"]The .hex files were built in segger with nrf5340_5340 cpuapp[/quote]
&lt;p&gt;&amp;nbsp;Only the sample for the application core should be built for cpuapp. For the network core you should instead use&amp;nbsp;nrf5340dk_nrf5340_cpunet. If you used cpuapp for the network core as well, this will result in errors such as the ones you are getting.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee_coordinator and Light_bulb cause BUS FAULT on nRF5340dk</title><link>https://devzone.nordicsemi.com/thread/315247?ContentTypeID=1</link><pubDate>Mon, 14 Jun 2021 22:22:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f960c888-ee4b-4809-be87-d2fdc0e34339</guid><dc:creator>CrisT</dc:creator><description>&lt;p&gt;To complete my last message, I&amp;#39;ve programmed the nwk core with the CLI using the 802.15.4 serialization sample, then programmed the app core with the cli. Nothing happens, for the coordinator app absolutely nothing happens, the ports are silent also. For the light bulb app, led lights up and nothing else happens.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The .hex files were built in segger with nrf5340_5340 cpuapp&lt;br /&gt;The instructions i used in CLI were:&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;&lt;span class="n"&gt;nrfjprog&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;f&lt;/span&gt; &lt;span class="n"&gt;NRF53&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;coprocessor&lt;/span&gt; &lt;span class="n"&gt;CP_NETWORK&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;program&lt;/span&gt; &lt;span class="n"&gt;802154&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;hex&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;chiperase&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="n"&gt;nrfjprog&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;f&lt;/span&gt; &lt;span class="n"&gt;NRF53&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;program&lt;/span&gt; &lt;span class="n"&gt;coordinator&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;hex&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;chiperase&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;nrfjprog --pinreset&lt;/pre&gt;
&lt;pre&gt;&lt;span class="n"&gt;Trying to upload via cli the exact same .hex files yielded (for 802... on CP_NETWORK): &lt;br /&gt;ERROR: The file specified is not a valid hex file, has data outside valid areas&lt;br /&gt;ERROR: or does not have data in valid areas.&lt;/span&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee_coordinator and Light_bulb cause BUS FAULT on nRF5340dk</title><link>https://devzone.nordicsemi.com/thread/315166?ContentTypeID=1</link><pubDate>Mon, 14 Jun 2021 13:55:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b25a631-2712-499a-88ac-742b859b5d90</guid><dc:creator>CrisT</dc:creator><description>&lt;p style="text-align:left;"&gt;Hi Marte,&lt;/p&gt;
&lt;p style="text-align:left;"&gt;Thank you for your answer, i am using 1.5.1.&lt;/p&gt;
&lt;p style="text-align:left;"&gt;i did not program the serialisation because i did not know it was necesary or how to do it.&amp;nbsp;&lt;/p&gt;
&lt;p style="text-align:left;"&gt;i was reading into the nrfproj/west but still don&amp;#39;t perfectly understand how to use it, i found a discussion about this in another thread.&amp;nbsp;&lt;/p&gt;
&lt;p style="text-align:left;"&gt;I will try applying your suggestions. I thing these details should&amp;#39;ve been included in the documentation or a video tutorial of &amp;quot;running zigbee_coordinator&amp;quot; example.&amp;nbsp;&lt;/p&gt;
&lt;p style="text-align:left;"&gt;Best regards,&amp;nbsp;&lt;/p&gt;
&lt;p style="text-align:left;"&gt;Cristian T&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee_coordinator and Light_bulb cause BUS FAULT on nRF5340dk</title><link>https://devzone.nordicsemi.com/thread/315143?ContentTypeID=1</link><pubDate>Mon, 14 Jun 2021 12:58:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8fc6e5bb-441e-482a-ba2a-7912a8256723</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi Christian,&lt;/p&gt;
&lt;p&gt;Which version of NCS are you using?&lt;/p&gt;
&lt;p&gt;What are you using as your build target when building for the nRF5340 DK? Did you remember to program &lt;a title="(in Zephyr Project v2.4.99)" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.5.1/zephyr/samples/boards/nrf/ieee802154/802154_rpmsg/README.html#nrf-ieee802154-rpmsg-sample"&gt;&lt;span&gt;nRF IEEE 802.15.4: Serialization RPMsg&lt;/span&gt;&lt;/a&gt;&amp;nbsp;to the network core? This must be programmed to the nRF5340 DK for the radio to be able to use Zigbee. Be aware that SES is unable to program a child image to the network core, so you must program the network core from the command line using either west or nrfjprog as explained&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.5.1/nrf/ug_nrf5340.html#programming-from-the-command-line"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;You can also search for &lt;span&gt;21001b30&lt;/span&gt;&amp;nbsp;in build/zephyr/zephyr.map to find which thread this is happening on, and for the faulting instruction address&amp;nbsp;1025870 to see if it resolves to a specific line number.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>