<?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>S140 7.2.0 softdevice panic at 0x1786A</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70976/s140-7-2-0-softdevice-panic-at-0x1786a</link><description>I&amp;#39;m running into a problem where my softdevice is triggering the fault handler but only when I&amp;#39;m also using the USBD. The panic info is below, I&amp;#39;ve tried to double and triple check that I&amp;#39;m not mis-masking interrupts. id=1, pc=0x1786A, info=0x0 
 What</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 01 Feb 2021 13:13:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70976/s140-7-2-0-softdevice-panic-at-0x1786a" /><item><title>RE: S140 7.2.0 softdevice panic at 0x1786A</title><link>https://devzone.nordicsemi.com/thread/292237?ContentTypeID=1</link><pubDate>Mon, 01 Feb 2021 13:13:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:696c735e-4e36-4717-80bc-847edf896420</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Both asserts are consistent with the application in some way are preventing the LL to run, causing the LL to be delayed and thereby the softdevice asserts, e.g.&amp;nbsp;check masking of interrupts and/or interrupt priority levels.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you unable to find the cause, I guess we need some firmware we can compile and run here to recreate it.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S140 7.2.0 softdevice panic at 0x1786A</title><link>https://devzone.nordicsemi.com/thread/291870?ContentTypeID=1</link><pubDate>Thu, 28 Jan 2021 19:27:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da46c653-6e36-4d4a-a0e0-1e802ec8e699</guid><dc:creator>daagaak</dc:creator><description>&lt;p&gt;I checked my terminal output and it&amp;#39;s&amp;nbsp;&lt;span&gt;0x15A98. this is with&amp;nbsp;s140_nrf52_7.2.0_softdevice.hex&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S140 7.2.0 softdevice panic at 0x1786A</title><link>https://devzone.nordicsemi.com/thread/291866?ContentTypeID=1</link><pubDate>Thu, 28 Jan 2021 18:58:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c648a35f-602e-4c2e-b0e8-475025f11504</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Can you check if you meant 0x15A88, instead 0x15A98?&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S140 7.2.0 softdevice panic at 0x1786A</title><link>https://devzone.nordicsemi.com/thread/291611?ContentTypeID=1</link><pubDate>Wed, 27 Jan 2021 21:00:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc15c22e-66a7-4411-9742-f240063016af</guid><dc:creator>daagaak</dc:creator><description>&lt;p&gt;Yeah, it&amp;#39;s a testbed&amp;nbsp;of a bluetooth keyboard. It only uses USBD, RTC1 and GPIOTE. I&amp;#39;ve set them all to run at priority 6.&lt;/p&gt;
&lt;p&gt;There&amp;#39;s no scheduler, the application runs with cooperative multitasking all in thread execution. Interrupts from the USBD/RTC1/GPTIOE are only used to briefly flag a ready signal for the appropriate co-routine.&lt;/p&gt;
&lt;p&gt;What do these two fault addresses mean? Are they indication of violating&amp;nbsp;interrupt priority/scheduling?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S140 7.2.0 softdevice panic at 0x1786A</title><link>https://devzone.nordicsemi.com/thread/291594?ContentTypeID=1</link><pubDate>Wed, 27 Jan 2021 17:39:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:878d4f31-a002-4f91-b939-9e7641418696</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I linked to the wrong example, maybe you can check out:&amp;nbsp;\examples\peripheral\usbd_ble_uart&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you tell me a bit more about your application, in terms of peripherals used, any scheduler/rtos, pa/lna etc?&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S140 7.2.0 softdevice panic at 0x1786A</title><link>https://devzone.nordicsemi.com/thread/291570?ContentTypeID=1</link><pubDate>Wed, 27 Jan 2021 15:31:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3db5decf-f9b1-49c7-b421-087523dbdb67</guid><dc:creator>daagaak</dc:creator><description>&lt;p&gt;Thanks for the follow up. It doesn&amp;#39;t look like ble_app_uart uses USBD? However, I did find the&amp;nbsp;NRFX_USBD_CONFIG_IRQ_PRIORITY define in sdk_config and it suggests using priority 6. I moved my USBD priority down to 6, it was at 2. I&amp;#39;ve confirmed in the debugger that the priority level for IRQ 39 is set. Sadly,&amp;nbsp;I still get the fault_handler.&lt;/p&gt;
&lt;p&gt;The fault handler seems to alternate between&amp;nbsp;0x15A98 and 0x1786A&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S140 7.2.0 softdevice panic at 0x1786A</title><link>https://devzone.nordicsemi.com/thread/291502?ContentTypeID=1</link><pubDate>Wed, 27 Jan 2021 13:19:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df3df8a7-e6c8-47ef-8f85-bde632e71f24</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Can you look into the interrupt priority used by the USBD? For instance the ble_app_uart show a combination of BLE and USB, and you can find defines in sdk_config for USBD.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>