<?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>DFU clock and custom made board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/10029/dfu-clock-and-custom-made-board</link><description>I am using nrf51422 sdk v8.0 on pca10028 kit and softdevice s110. My DFU and custom made application works fine when i use clock SOFTDEVICE_HANDLER_APPSH_INIT(NRF_CLOCK_LFCLKSRC_XTAL_20_PPM, true).
Then i transferred my codes to my custom made board</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 09 Nov 2015 09:33:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/10029/dfu-clock-and-custom-made-board" /><item><title>RE: DFU clock and custom made board</title><link>https://devzone.nordicsemi.com/thread/37171?ContentTypeID=1</link><pubDate>Mon, 09 Nov 2015 09:33:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:385289f7-1ab2-4267-bf21-9edc14ef52bf</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Nomi,&lt;/p&gt;
&lt;p&gt;Where did you find the hrs_s110_8_0_sdk_8_0.zip file  ?&lt;/p&gt;
&lt;p&gt;I tested here and it worked just fine. Please try the bootloader and the DFU file I attached here.
Which central device did you use to test ?&lt;/p&gt;
&lt;p&gt;If the issue remains, please run the bootloader in debug mode (as described at question F &lt;a href="https://devzone.nordicsemi.com/blogs/685/common-faq-on-dfu/"&gt;here&lt;/a&gt; ). You can check if something went wrong and it can&amp;#39;t jump to application. But my test here showed it worked fine.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/bootloader-_2D00_-RC4000Temp.zip"&gt;bootloader - RC4000Temp.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/attachment/5b0c758e4db329934e4bb45b63a5a920"&gt;ble_app_hrs_dfu_s110_v8_0_0_sdk_v8_0[1].zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU clock and custom made board</title><link>https://devzone.nordicsemi.com/thread/37168?ContentTypeID=1</link><pubDate>Fri, 06 Nov 2015 10:12:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa101af6-df28-4620-91b9-8284825b4cf8</guid><dc:creator>Nomi</dc:creator><description>&lt;p&gt;changing to the clock you gave pca10028 will not get out of dfu mode.
i changed the clock as you told me in dfu_dual_bank_ble_s110_pca10028 example. Then starting pca10028 in dfu mode i uploaded  hrs_s110_8_0_sdk_8_0.zip. But the hrs did not start the board is stuck in dfu mode it is not getting out of dfu. I tried uploading my custom application too but the board still remain stuck in dfu mode. How do i get it out of dfu and start advertising my custom application.?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU clock and custom made board</title><link>https://devzone.nordicsemi.com/thread/37163?ContentTypeID=1</link><pubDate>Wed, 04 Nov 2015 10:28:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8139dc9d-a1e8-4a5b-b684-523045153f4b</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Nomi,&lt;/p&gt;
&lt;p&gt;You should setting up the softdevice with the scheduler, that&amp;#39;s how the bootloader configured. This mean you should use SOFTDEVICE_HANDLER_APPSH_INIT.
This setting should work:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;SOFTDEVICE_HANDLER_APPSH_INIT(NRF_CLOCK_LFCLKSRC_RC_250_PPM_TEMP_4000MS_CALIBRATION, true);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I verified here on the PCA10028.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU clock and custom made board</title><link>https://devzone.nordicsemi.com/thread/37167?ContentTypeID=1</link><pubDate>Tue, 03 Nov 2015 16:49:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77f20044-0da0-42a3-bbb7-3a4eb0051793</guid><dc:creator>Nomi</dc:creator><description>&lt;p&gt;On pca kit 10028 dfu dual bank ble s110 does not work with clock RC_250_PPM_TEMP_4000MS_CALIBRATION. It advertises but when i try to upload mu custom application error comes.
With clock xtal 20 ppm it works and i can upload my custom applications.
I am changing this clock because i dont have crystal on my custom board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU clock and custom made board</title><link>https://devzone.nordicsemi.com/thread/37170?ContentTypeID=1</link><pubDate>Tue, 03 Nov 2015 16:42:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40fc3230-0b93-4c65-ae18-83d110051bdc</guid><dc:creator>Nomi</dc:creator><description>&lt;p&gt;1-On pca kit all codes work with both clocks execpt dfu_dual_bank_ble_s110 with RC_250_PPM_TEMP_4000MS_CALIBRATION.  Which advertise nicely but when i connect to dfu to upload my custom application or hrs_s110_8_0_sdk_8_0.zip an already present file in nrf toolbox dfu section from ios app the error comes dfu connection has been last.
2-on custom made as i dont have any crystal so RC_250_PPM_TEMP_4000MS_CALIBRATION works.
So first i test my codes on my pca kit then i chage its clock and then transfer it on my custom board. Every thing was working fine until i got stuck on dfu dual bank ble example which works perfectly on pca with XTAL_20_PPM advertises nicely and i can upload my custom applications. But when i changes its clock to RC_250_PPM_TEMP_4000MS_CALIBRATION so that i can burn it to my custom board when i try to upload my custom application dfu connection has been last error comes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU clock and custom made board</title><link>https://devzone.nordicsemi.com/thread/37166?ContentTypeID=1</link><pubDate>Tue, 03 Nov 2015 15:22:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e820702-943b-4b6e-9052-462f5a6d27d9</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Nomi,&lt;/p&gt;
&lt;p&gt;Please be more specific on what doesn&amp;#39;t work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU clock and custom made board</title><link>https://devzone.nordicsemi.com/thread/37169?ContentTypeID=1</link><pubDate>Tue, 03 Nov 2015 08:34:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4efaf7bc-c944-4c0d-95a3-170c6bf0cde0</guid><dc:creator>Makarand K</dc:creator><description>&lt;p&gt;Let me see if I get what you mean:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;with pca10028, both XTAL_20_PPM and RC_250_PPM_TEMP_4000MS_CALIBRATION source works&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;with custom board, RC_250_PPM_TEMP_4000MS_CALIBRATION works but XTAL_20_PPM doesn&amp;#39;t work&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Is this correct? If yes, do you have a 32KHz crystal on your custom board ? If not you can not use the XTAL_20_PPM clock source&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU clock and custom made board</title><link>https://devzone.nordicsemi.com/thread/37165?ContentTypeID=1</link><pubDate>Tue, 03 Nov 2015 05:43:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:846f1539-1602-4238-afc9-73ced4b40279</guid><dc:creator>Nomi</dc:creator><description>&lt;p&gt;sorry it isnt  SOFTDEVICE_HANDLER_APPSH_INIT. I used SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_XTAL_20_PPM, NULL); . The clock already used in dfu_dual_bank_ble_s110_pca10028 example. But on my custom board my codes work when i change clock to SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_RC_250_PPM_TEMP_4000MS_CALIBRATION , NULL).
Now when i change clock in pca10028 dfu does not work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU clock and custom made board</title><link>https://devzone.nordicsemi.com/thread/37164?ContentTypeID=1</link><pubDate>Mon, 02 Nov 2015 09:20:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b97e938a-491c-4c6b-9a74-59199723a494</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Nomi,
Could you explain why you switch from SOFTDEVICE_HANDLER_APPSH_INIT to SOFTDEVICE_HANDLER_INIT ? Have you also removed the scheduler in the code ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>