<?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>ncs-esb-ble-mpsl-demo hard faults on nRF5340</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/111179/ncs-esb-ble-mpsl-demo-hard-faults-on-nrf5340</link><description>I have compiled and run Torbj&amp;#248;rn &amp;#216;vrebekk&amp;#39;s ESB MPSL sample ( github.com/.../ncs-esb-ble-mpsl-demo) for the nRF5340, which works great, but the cpunet on the PTX side hard faults randomly after some hours. I made the requisite change to &amp;#39;esb_peripherals</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 23 May 2024 13:14:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/111179/ncs-esb-ble-mpsl-demo-hard-faults-on-nrf5340" /><item><title>RE: ncs-esb-ble-mpsl-demo hard faults on nRF5340</title><link>https://devzone.nordicsemi.com/thread/485647?ContentTypeID=1</link><pubDate>Thu, 23 May 2024 13:14:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51f33259-9d73-4cbf-bc5b-a72aa6cf388a</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi John&lt;/p&gt;
&lt;p&gt;Quick update: Running with SPIN_VALIDATE disabled I am not&amp;nbsp;seeing any issues or instabilities. Did you run some testing on your end?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It would be good to know why the validation fails in the first place, but for the time being I would recommend simply disabling this feature.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ncs-esb-ble-mpsl-demo hard faults on nRF5340</title><link>https://devzone.nordicsemi.com/thread/485413?ContentTypeID=1</link><pubDate>Wed, 22 May 2024 12:31:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b126d2a-0198-4214-8f95-92f23450a65f</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi John&lt;/p&gt;
&lt;p&gt;I set up a test and quickly ran into the same assert. The assert is caused by a check enabled when SPIN_VALIDATE is set. I will run another test with this test disabled to see what happens.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you want to run a similar test simply add the following config to the netcore project:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_SPIN_VALIDATE=n&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ncs-esb-ble-mpsl-demo hard faults on nRF5340</title><link>https://devzone.nordicsemi.com/thread/485152?ContentTypeID=1</link><pubDate>Tue, 21 May 2024 13:39:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2cfcec25-4648-48d3-9a94-7612c8cbfdc6</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi John&lt;/p&gt;
&lt;p&gt;Thanks for the info. I will set aside some time tomorrow morning to set up a test,&amp;nbsp;and try to reproduce the error during the day. If you have made any more discoveries on your side that could be of interest please let me know.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ncs-esb-ble-mpsl-demo hard faults on nRF5340</title><link>https://devzone.nordicsemi.com/thread/484755?ContentTypeID=1</link><pubDate>Thu, 16 May 2024 16:10:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83d79aee-2b6a-4178-babf-272b42a355b7</guid><dc:creator>jbreal</dc:creator><description>&lt;p&gt;both sides are just a stock nRF5340DK, with a small whip antenna attached&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ncs-esb-ble-mpsl-demo hard faults on nRF5340</title><link>https://devzone.nordicsemi.com/thread/484616?ContentTypeID=1</link><pubDate>Thu, 16 May 2024 06:56:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:165faa38-6942-49e3-aa66-57d90afc4475</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi John&lt;/p&gt;
&lt;p&gt;What about the hardware? Are you using a normal devkit, or some other board?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ncs-esb-ble-mpsl-demo hard faults on nRF5340</title><link>https://devzone.nordicsemi.com/thread/484577?ContentTypeID=1</link><pubDate>Wed, 15 May 2024 19:32:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e84f7d3c-543d-4db0-b3b1-206351185031</guid><dc:creator>jbreal</dc:creator><description>&lt;p&gt;[00:41:01.386,718] &amp;lt;dbg&amp;gt; rpc_net: rpc_esb_event_send: evt send ok&lt;br /&gt;[00:41:02.883,148] &amp;lt;inf&amp;gt; rpc_net: Send TX packet, data 0 0x69, len 8&lt;br /&gt;[00:41:02.883,636] &amp;lt;inf&amp;gt; rpc_net: ESB TX success&lt;br /&gt;[00:41:02.883,789] &amp;lt;dbg&amp;gt; rpc_net: rpc_esb_event_send: evt send ok&lt;br /&gt;[00:41:04.383,819] &amp;lt;inf&amp;gt; rpc_net: Send TX packet, data 0 0x6a, len 8&lt;br /&gt;[00:41:04.384,307] &amp;lt;inf&amp;gt; rpc_net: ESB TX success&lt;br /&gt;[00:41:04.384,460] &amp;lt;dbg&amp;gt; rpc_net: rpc_esb_event_send: evt send ok&lt;br /&gt;[00:41:05.884,490] &amp;lt;inf&amp;gt; rpc_net: Send TX packet, data 0 0x6b, len 8&lt;br /&gt;ASSERTION FAIL @ WEST_TOPDIR/external/zephyr/include/zephyr/spinlock.h:136&lt;br /&gt;[00:41:05.884,674] &amp;lt;err&amp;gt; os: ***** HARD FAULT *****&lt;br /&gt;[00:41:05.884,704] &amp;lt;err&amp;gt; os: Fault escalation (see below)&lt;br /&gt;[00:41:05.884,704] &amp;lt;err&amp;gt; os: ARCH_EXCEPT with reason 4&lt;/p&gt;
&lt;p&gt;[00:41:05.884,735] &amp;lt;err&amp;gt; os: r0/a1: 0x00000004 r1/a2: 0x00000088 r2/a3: 0x00000002&lt;br /&gt;[00:41:05.884,765] &amp;lt;err&amp;gt; os: r3/a4: 0x21002358 r12/ip: 0x00000010 r14/lr: 0x0102c7ad&lt;br /&gt;[00:41:05.884,765] &amp;lt;err&amp;gt; os: xpsr: 0x4100001c&lt;br /&gt;[00:41:05.884,765] &amp;lt;err&amp;gt; os: Faulting instruction address (r15/pc): 0x0103038c&lt;br /&gt;[00:41:05.884,826] &amp;lt;err&amp;gt; os: &amp;gt;&amp;gt;&amp;gt; ZEPHYR FATAL ERROR 4: Kernel panic on CPU 0&lt;br /&gt;[00:41:05.884,857] &amp;lt;err&amp;gt; os: Fault during interrupt handling&lt;/p&gt;
&lt;p&gt;[00:41:05.884,887] &amp;lt;err&amp;gt; os: Current thread: 0x21003fc0 (unknown)&lt;br /&gt;&amp;yuml;[00:00:00.000,488] &amp;lt;dbg&amp;gt; rpc_net: serialization_init: nRF RPC init begin&lt;br /&gt;[00:00:00.101,074] &amp;lt;err&amp;gt; nrf_rpc_ipc: IPC endpoint bond timeout&lt;br /&gt;[00:00:00.101,104] &amp;lt;err&amp;gt; NRF_RPC: Failed to initialize transport, err: -32&lt;br /&gt;[00:00:01.101,226] &amp;lt;err&amp;gt; NRF_RPC: Not all groups are ready to use.&lt;br /&gt;*** Booting nRF Connect SDK v3.5.99-ncs1-1 ***&lt;br /&gt;[00:00:01.101,348] &amp;lt;inf&amp;gt; main: ESB BLE Multiprotocol Example - Netcore project&lt;br /&gt;[00:00:01.101,409] &amp;lt;inf&amp;gt; bt_sdc_hci_driver: SoftDevice Controller build revision:&lt;br /&gt; 36 f0 e5 0e 87 68 48 fb 02 fd 9f 82 cc 32 e5 7b |6....hH. .....2.{&lt;br /&gt; 91 b1 5c ed |..\.&lt;br /&gt;[00:00:01.101,806] &amp;lt;inf&amp;gt; bt_hci_raw: Bluetooth enabled in RAW mode&lt;br /&gt;[00:00:01.102,050] &amp;lt;wrn&amp;gt; main: Change ESB_EVT_IRQ and ESB_EVT_IRQHandler in esb_peripherals.h to use SWI3 instead of SWI0!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ncs-esb-ble-mpsl-demo hard faults on nRF5340</title><link>https://devzone.nordicsemi.com/thread/483566?ContentTypeID=1</link><pubDate>Wed, 15 May 2024 16:11:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e42cafc6-2a44-4dfa-8a08-ae9d0ca2b8a5</guid><dc:creator>jbreal</dc:creator><description>&lt;p&gt;Default example, no changes&amp;nbsp;except as noted regarding SWI3.&amp;nbsp;I tried both a standard build and with debug optimizations, in an attempt to set a breakpoint, but I haven&amp;#39;t been able to figure out how to make that happen yet. I will run it again this evening to get more output for you. Each time I&amp;#39;ve run it before, I failed to enable logging in the serial terminal, and then accidentally resized the terminal and lost my output before taking a screenshot.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ncs-esb-ble-mpsl-demo hard faults on nRF5340</title><link>https://devzone.nordicsemi.com/thread/483469?ContentTypeID=1</link><pubDate>Wed, 15 May 2024 11:18:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a05b5761-1359-40c5-a7a4-5ee9f986ae92</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi John&lt;/p&gt;
&lt;p&gt;Are you just running the default example, without making any changes to the appcore or netcore projects?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you running the code on a standard nRF5340DK?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you not get any more logging output from the netcore when the crash occurs?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>