<?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>nrf_sdh_enable_request() stops with fatal error</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/43207/nrf_sdh_enable_request-stops-with-fatal-error</link><description>I have an application with three other tasks beside the sdh task. I&amp;#39;m trying to integrate softdevice to my existing freertos application, but soon after the task scheduler starts and running nrf_sdh_enable_request() the program hangs with the line &amp;quot;&amp;lt;error</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 06 Feb 2019 11:45:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/43207/nrf_sdh_enable_request-stops-with-fatal-error" /><item><title>RE: nrf_sdh_enable_request() stops with fatal error</title><link>https://devzone.nordicsemi.com/thread/169701?ContentTypeID=1</link><pubDate>Wed, 06 Feb 2019 11:45:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23cd1c77-e679-4bfd-b8d8-fcaf43b98920</guid><dc:creator>Kosmine</dc:creator><description>&lt;p&gt;Using nrf_drv_rng_init() instead seems to be working for me.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf_sdh_enable_request() stops with fatal error</title><link>https://devzone.nordicsemi.com/thread/169561?ContentTypeID=1</link><pubDate>Tue, 05 Feb 2019 14:35:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37d6ad41-3f0a-4fa3-8d01-d73a6ad61b94</guid><dc:creator>Kosmine</dc:creator><description>&lt;p&gt;I suppose I can, even if that driver seems to have more overhead. I&amp;#39;ll let you know how it goes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf_sdh_enable_request() stops with fatal error</title><link>https://devzone.nordicsemi.com/thread/169528?ContentTypeID=1</link><pubDate>Tue, 05 Feb 2019 13:36:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6ab24d3-3ccb-44c0-9f1f-44040ae7fadb</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;I think the problem is that you call &lt;strong&gt;nrfx_rng_init()&lt;/strong&gt;, looking at this API it seems that it does not check if the SoftDevice is enabled.&lt;/p&gt;
&lt;p&gt;Could you instead use nrf_drv_rng_init()?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf_sdh_enable_request() stops with fatal error</title><link>https://devzone.nordicsemi.com/thread/169325?ContentTypeID=1</link><pubDate>Mon, 04 Feb 2019 14:11:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:701dda38-ae36-4038-984b-73bfea67198e</guid><dc:creator>Kosmine</dc:creator><description>&lt;p&gt;Well if it helps at all is that when i call nrfx_rng_init() before nrf_sdh_enable_request() the softdevice fails to load.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf_sdh_enable_request() stops with fatal error</title><link>https://devzone.nordicsemi.com/thread/169057?ContentTypeID=1</link><pubDate>Fri, 01 Feb 2019 12:28:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04749498-36b6-44b7-9c5e-e7a4646d5bbd</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Are you sure about this?&lt;/p&gt;
&lt;p&gt;In the SDK, it does not look like this API function writes any errors if something goes wrong. Did you follow the debug tutorial in the link i sent?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf_sdh_enable_request() stops with fatal error</title><link>https://devzone.nordicsemi.com/thread/168878?ContentTypeID=1</link><pubDate>Thu, 31 Jan 2019 13:09:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53138e31-968d-41d2-91e8-67eda926e14e</guid><dc:creator>Kosmine</dc:creator><description>&lt;p&gt;Offending line seems to be&lt;/p&gt;
&lt;pre style="background-color:#ffffff;color:#000000;font-family:&amp;#39;Ubuntu Mono&amp;#39;;font-size:13.5pt;"&gt;nrf_rng_shorts_disable(NRF_RNG_SHORT_VALRDY_STOP_MASK);&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf_sdh_enable_request() stops with fatal error</title><link>https://devzone.nordicsemi.com/thread/168865?ContentTypeID=1</link><pubDate>Thu, 31 Jan 2019 12:27:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c92cce30-85e7-4700-bc2d-40d93c799ca7</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Have you tried to &lt;a href="https://www.youtube.com/watch?v=uP8RYgYGRvI"&gt;debug &lt;/a&gt;your program to see what is causing this &amp;quot;Fatal error&amp;quot;?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf_sdh_enable_request() stops with fatal error</title><link>https://devzone.nordicsemi.com/thread/168838?ContentTypeID=1</link><pubDate>Thu, 31 Jan 2019 10:33:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ca37173-4200-4f55-985d-13739242ad51</guid><dc:creator>Kosmine</dc:creator><description>&lt;p&gt;Actually it the problem seems to lie in when i call nrfx_rng_init() in my other task. i have no idea why it would cause a fatal error though&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>