<?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>hrs example -&amp;gt; buttonless dfu infinite loop</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12981/hrs-example---buttonless-dfu-infinite-loop</link><description>Rudimentary question about DFU; thanks for your patience. 
 I&amp;#39;m developing an app for a &amp;quot;headless&amp;quot; (no buttons, no led&amp;#39;s) ble application which will have a companion mobile app with which, among other things, the user will be allowed to do app DFU&amp;#39;s</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 05 Apr 2016 11:03:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12981/hrs-example---buttonless-dfu-infinite-loop" /><item><title>RE: hrs example -&gt; buttonless dfu infinite loop</title><link>https://devzone.nordicsemi.com/thread/49468?ContentTypeID=1</link><pubDate>Tue, 05 Apr 2016 11:03:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3a1816f-6558-43d9-8a48-9ddf4f280131</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;blockquote&gt;
&lt;p&gt;Could this be true? Meaning, could it
be true that buttonless DFU apps
cannot be built natively on a Mac
using GCC? Does development of
buttonless DFU apps require
KEIL+Windows?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;It was true up to the 8.1.0 release where GCC support added. In other words, SDK 8.1.0 and later should work out-of-the-box with GCC.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;I tried the iPhone nRF toolbox, which
exhibited the behavior below whenever
I tried to update the device by
selecting one of the application files
hard-wired into the toolbox - i.e.
hrs_s110_5.hex - selecting of course
to update the Application only.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The bootloader from SDK 7 and later requires an &amp;quot;init&amp;quot; file as an extra safety measurement. More on that &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/bledfu_example_init.html?cp=4_0_0_4_3_1_1_3"&gt;here&lt;/a&gt; and instructions on how to create it &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/bledfu_example_image.html?cp=4_0_0_4_3_1_1_2"&gt;here&lt;/a&gt;. You can also test with the pre-made .zip files found in the SDK to verify that the bootloader is working: &amp;quot;\nRF51_SDK_10.0.0\examples\dfu\ble_dfu_send_hex\test_images_update_nrf51\dfu_test_app_hrm_s110.zip&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: hrs example -&gt; buttonless dfu infinite loop</title><link>https://devzone.nordicsemi.com/thread/49469?ContentTypeID=1</link><pubDate>Mon, 04 Apr 2016 23:28:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0522132-7314-4238-9cde-71ff55e3af1b</guid><dc:creator>Ray</dc:creator><description>&lt;p&gt;In case it is relevant I should perhaps add that I built the HRS sample application using GCC, with SDK 10.&lt;/p&gt;
&lt;p&gt;I found an odd comment in this post:
&lt;a href="https://devzone.nordicsemi.com/blogs/685/common-faq-on-dfu/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;quot;Side note: If you use SDK v7.x and want to test buttonless example with gcc compiler, it may not work. The assembly code to branch from application to bootloader was made for KEIL only.&amp;quot;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Could this be true?  Meaning, could it be true that buttonless DFU apps cannot be built natively on a Mac using GCC?  Does development of buttonless DFU apps require KEIL+Windows?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>