<?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>Crash enabling softdevice on Fanstel USB840F (based on nrf52840)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/41311/crash-enabling-softdevice-on-fanstel-usb840f-based-on-nrf52840</link><description>All examples included in nrf52SDK 15.2.0 when running on Fanstel USB840F which has a nrf52840 chip, using Segger Embedded Studio and one of PCA10056 or PCA10059. 
 Using nrf52DK with TagConnect cable attached to USB840F, I managed to debug the code and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 07 Dec 2018 11:25:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/41311/crash-enabling-softdevice-on-fanstel-usb840f-based-on-nrf52840" /><item><title>RE: Crash enabling softdevice on Fanstel USB840F (based on nrf52840)</title><link>https://devzone.nordicsemi.com/thread/160713?ContentTypeID=1</link><pubDate>Fri, 07 Dec 2018 11:25:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34cf8c94-06aa-4efe-b795-ba0bd4b0957e</guid><dc:creator>awneil</dc:creator><description>[quote userid="24816" url="~/f/nordic-q-a/41311/crash-enabling-softdevice-on-fanstel-usb840f-based-on-nrf52840/160697"]Ok, thank you!! Bluetooth works great now![/quote]
&lt;p&gt;Excellent - so please Verify the Answer:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/6646._5F00_Verify_2D00_answer_2D00_nordic.png" /&gt;&lt;/p&gt;
&lt;p&gt;This will show other readers that the problem has been resolved.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="24816" url="~/f/nordic-q-a/41311/crash-enabling-softdevice-on-fanstel-usb840f-based-on-nrf52840/160697"]I have other two&amp;nbsp;questions:[/quote]
&lt;p&gt;So start new threads for them!&lt;/p&gt;
&lt;p&gt;It helps to keep to 1 question per thread to avoid confusion, and so that&amp;nbsp;it can be seen when the question has been answered!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Crash enabling softdevice on Fanstel USB840F (based on nrf52840)</title><link>https://devzone.nordicsemi.com/thread/160697?ContentTypeID=1</link><pubDate>Fri, 07 Dec 2018 10:05:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70aeb03d-b031-4d51-ba8e-6b63b941a158</guid><dc:creator>gio</dc:creator><description>&lt;p&gt;Ok, thank you!! Bluetooth works great now!&lt;/p&gt;
&lt;p&gt;I have other two&amp;nbsp;questions:&lt;/p&gt;
&lt;p&gt;1. When I attach it to a powerbank, the powerbank turns the power off after some time (let&amp;#39;s say a minute) due to its low power consumption. How can I&amp;nbsp;prevent this from happening?&lt;/p&gt;
&lt;div&gt;Unfortunately two leds+always on bluetooth RX seem to not provide sufficient load.&lt;/div&gt;
&lt;div&gt;Is there an alternative load that I can enable periodically using gpio, to prevent powerbank from cutting power?&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;Do you know alternative solutions to this issue?&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;2. I see that it can be flashed via USB too, withouth even opening the enclosure. Can you confirm? Can this be done with custom made firmware withouth the need for any signature, or it can only be done with firmware provided by Fanstel?&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Crash enabling softdevice on Fanstel USB840F (based on nrf52840)</title><link>https://devzone.nordicsemi.com/thread/160649?ContentTypeID=1</link><pubDate>Fri, 07 Dec 2018 01:06:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dca77f36-aad1-4f45-b196-95bd8b2d737b</guid><dc:creator>LeoChen</dc:creator><description>&lt;p&gt;The USB840F dongle doesn&amp;#39;t included 32K crystal.&lt;/p&gt;
&lt;p&gt;Therefore, Please change the clock setting to internal RC.&lt;/p&gt;
&lt;p&gt;nrf_clock_lf_cfg_t const clock_lf_cfg =&lt;br /&gt; {&lt;br /&gt; /*&lt;br /&gt; .source = NRF_SDH_CLOCK_LF_SRC,&lt;br /&gt; .rc_ctiv = NRF_SDH_CLOCK_LF_RC_CTIV,&lt;br /&gt; .rc_temp_ctiv = NRF_SDH_CLOCK_LF_RC_TEMP_CTIV,&lt;br /&gt; .accuracy = NRF_SDH_CLOCK_LF_ACCURACY&lt;br /&gt; */&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; .source = 0,&lt;br /&gt; .rc_ctiv = 16,&lt;br /&gt; .rc_temp_ctiv = 2,&lt;br /&gt; .accuracy = 7 &lt;br /&gt; &lt;br /&gt; };&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Crash enabling softdevice on Fanstel USB840F (based on nrf52840)</title><link>https://devzone.nordicsemi.com/thread/160638?ContentTypeID=1</link><pubDate>Thu, 06 Dec 2018 20:33:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b343119-bde8-4f1b-8aa7-3dc302cd2e38</guid><dc:creator>awneil</dc:creator><description>[quote userid="24816" url="~/f/nordic-q-a/41311/crash-enabling-softdevice-on-fanstel-usb840f-based-on-nrf52840/160637"]&lt;p&gt;The function doesn&amp;#39;t even return. It hangs indefinitely!&lt;/p&gt;[/quote]
&lt;p&gt;I see.&lt;/p&gt;
&lt;p&gt;Is it ending up in the Hard Fault handler?&lt;/p&gt;
&lt;p&gt;Have you asked Fanstel if they have an example for their module? Or if there&amp;#39;s anything &amp;quot;special&amp;quot; that you need to do differently from the Nordic boards?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Crash enabling softdevice on Fanstel USB840F (based on nrf52840)</title><link>https://devzone.nordicsemi.com/thread/160637?ContentTypeID=1</link><pubDate>Thu, 06 Dec 2018 20:26:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fcaff4c0-6d69-43ea-9bde-f84c92d20ca7</guid><dc:creator>gio</dc:creator><description>[quote userid="6462" url="~/f/nordic-q-a/41311/crash-enabling-softdevice-on-fanstel-usb840f-based-on-nrf52840/160636"]The whole point of having &lt;strong&gt;ret_code&lt;/strong&gt; is that it tells you what the error was![/quote]
&lt;p&gt;The function doesn&amp;#39;t even return. It hangs indefinitely!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="6462" url="~/f/nordic-q-a/41311/crash-enabling-softdevice-on-fanstel-usb840f-based-on-nrf52840/160636"]Is that loading the exact same binary, or are you building different configurations?[/quote]
&lt;p&gt;I built&amp;nbsp;using segger embedded studio using pca10056 configuration for nrd52840DK and pca10059 configuration for nrf52840dongle.&lt;/p&gt;
&lt;p&gt;Unfortunately configuration for Fansterl UDB840F is not included in nrf52DK, thus I tried flashing the two hex files for&amp;nbsp;&lt;span&gt;pca10056&amp;nbsp; and&amp;nbsp;pca10059&amp;nbsp; to USB840F, but it doesn&amp;#39;t work.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Crash enabling softdevice on Fanstel USB840F (based on nrf52840)</title><link>https://devzone.nordicsemi.com/thread/160636?ContentTypeID=1</link><pubDate>Thu, 06 Dec 2018 19:57:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92e0bfa7-056d-4776-bf41-22360901ea95</guid><dc:creator>awneil</dc:creator><description>[quote userid="24816" url="~/f/nordic-q-a/41311/crash-enabling-softdevice-on-fanstel-usb840f-based-on-nrf52840"]&lt;p&gt;ret_code = sd_softdevice_enable(&amp;amp;clock_lf_cfg, app_error_fault_handler);&lt;/p&gt;[/quote]
&lt;p&gt;So what value of &lt;strong&gt;ret_code&lt;/strong&gt; are you getting?&lt;/p&gt;
&lt;p&gt;The whole point of having &lt;strong&gt;ret_code&lt;/strong&gt; is that it tells you what the error was!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="24816" url="~/f/nordic-q-a/41311/crash-enabling-softdevice-on-fanstel-usb840f-based-on-nrf52840"]Running the same&amp;nbsp;examples&amp;nbsp;on nrf52840 Dongle and nrf52840DK works well[/quote]
&lt;p&gt;Is that loading the exact same binary, or are you building different configurations?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>