<?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>SDK6 DFU and 32KHz Crystal relationship</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/3347/sdk6-dfu-and-32khz-crystal-relationship</link><description>Hi, I got the DFU modify to use Synthesize clock (NRF_CLOCK_LFCLKSRC_SYNTH_250_PPM) working with SD7 and SDK6. Tested on a board with the 32 KHz crystal, everything works fine. Tested on board without the crystal it got stuck at DFU discovery phase on</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 05 Sep 2014 12:14:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/3347/sdk6-dfu-and-32khz-crystal-relationship" /><item><title>RE: SDK6 DFU and 32KHz Crystal relationship</title><link>https://devzone.nordicsemi.com/thread/12204?ContentTypeID=1</link><pubDate>Fri, 05 Sep 2014 12:14:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1430975-f611-4d96-bd7d-9481f49ffa8b</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Finally I found out the problem was this&lt;/p&gt;
&lt;p&gt;I got it to work by changing this&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define DFUCONTROLLER_DESIRED_NOTIFICATION_STEPS 30  
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;in the DFUController.m&lt;/p&gt;
&lt;p&gt;The reason to this is the DFU code use 600 bytes buffer.  So we can only send 600 bytes per interval.  Only 20 bytes can be send at a time so .&lt;/p&gt;
&lt;p&gt;DFUCONTROLLER_DESIRED_NOTIFICATION_STEPS * DFUCONTROLLER_MAX_PACKET_SIZE must be equal to 600 bytes&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK6 DFU and 32KHz Crystal relationship</title><link>https://devzone.nordicsemi.com/thread/12203?ContentTypeID=1</link><pubDate>Tue, 05 Aug 2014 13:23:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bedebf6-bd81-45d8-9ffe-ad7f87667f22</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Unfortunately, softdevice 7 is not supported by the current version of the iOS application. We&amp;#39;re working on updating this.&lt;/p&gt;
&lt;p&gt;Best regards
Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK6 DFU and 32KHz Crystal relationship</title><link>https://devzone.nordicsemi.com/thread/12202?ContentTypeID=1</link><pubDate>Mon, 04 Aug 2014 13:36:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ced2bbd8-b703-4c38-b0f2-cb8c26c8c558</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Yes, it does advertise.  The iOS app can see I. After I select it, the App goes into the upload screen and you can see there the name DfuTarg and it got stuck in Discovering.  The Upload button stayed grey.  See the picture I attached.  Same problem with both SYNTH Clock and RC Clock&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/IMG_5F00_0017.PNG" alt="image description" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK6 DFU and 32KHz Crystal relationship</title><link>https://devzone.nordicsemi.com/thread/12201?ContentTypeID=1</link><pubDate>Mon, 04 Aug 2014 12:53:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:963c98f8-8167-4ec8-a48c-69d9b70769a0</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;The softdevice will use the LF clock source inputted in macro SOFTDEVICE_HANDLER_INIT for sourcing both RTC0 (used by softdevice) and RTC1 (used by application).&lt;/p&gt;
&lt;p&gt;If you&amp;#39;ve set it to be from a synthesized source, then the external 32 kHz will not be used.
The project should then run on a board without the 32 kHz external crystal.&lt;/p&gt;
&lt;p&gt;Have you checked that the DFU is advertising?
If you have already loaded a new application, you will have to trigger the DFU state again in order for it to stay in DFU bootloader mode.&lt;/p&gt;
&lt;p&gt;Cheers,
Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>