<?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>Update application from SD 2.0.1 to SD 4.0.2</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/27250/update-application-from-sd-2-0-1-to-sd-4-0-2</link><description>Hello, 
 I have an application that has to be ported to the newer Softdevice version. I&amp;#39;ve already ported my application to the SDK 13 and tested it with the new Softdevice v4.0.2. 
 I found that topic where described the fix for legacy bootloader to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 20 Nov 2017 14:48:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/27250/update-application-from-sd-2-0-1-to-sd-4-0-2" /><item><title>RE: Update application from SD 2.0.1 to SD 4.0.2</title><link>https://devzone.nordicsemi.com/thread/107570?ContentTypeID=1</link><pubDate>Mon, 20 Nov 2017 14:48:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f2c4862-eb9d-4f72-9384-3ad3270f3559</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Hi Vladimir, talked to a dfu expert here at nordic. His suggestions are the following: firstly, could you provide more information on your procedure in step 5? Then, it would be useful if you did a hex dump. Finally, check if the new application and bootloader are copied to your device (i.e. does the bootloader start or not).&lt;/p&gt;
&lt;p&gt;Note that with the current smartphone app, when you try to update the softdevice, application and bootloader, there is no flexible option to only re-upload the application of the softdevice &amp;amp; bootloader update was successful. If you then try to update again via the smartphone, the dfu will fail because the bootloader rejects it because of the version check.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update application from SD 2.0.1 to SD 4.0.2</title><link>https://devzone.nordicsemi.com/thread/107569?ContentTypeID=1</link><pubDate>Wed, 15 Nov 2017 15:02:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:120f8e34-6a36-4962-b87e-71ce9c3c0c74</guid><dc:creator>Vladimir Petrigo</dc:creator><description>&lt;p&gt;Hello Bjørn,&lt;/p&gt;
&lt;p&gt;I tried to do so, but met several issues with missed struct definitions and softdevice function declarations during &lt;code&gt;dfu_transport_ble.c&lt;/code&gt; and &lt;code&gt;softdevice_handler.c&lt;/code&gt; compilation. This files were taken from SDK 11.&lt;/p&gt;
&lt;p&gt;Here are some of them that I&amp;#39;ve noticed:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;ble_gap_whitelist_t&lt;/code&gt; type is not defined in the &lt;code&gt;ble_gap.h&lt;/code&gt; header anymore&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;ble_gap.h&lt;/code&gt; does not contain &lt;code&gt;sd_ble_gap_address_get&lt;/code&gt; anymore&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;ble.h&lt;/code&gt; does not contain &lt;code&gt;ble_enable_params_t&lt;/code&gt; for softdevice_handler.c&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;NRF_LOG_INFO&lt;/code&gt; implicit definition - SDK 11 does not have such macro&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I&amp;#39;ve also updated &lt;code&gt;ble_stack_init&lt;/code&gt; function in the &lt;code&gt;main.c&lt;/code&gt; for legacy bootloader to a newer version provided in &lt;code&gt;nrf_ble_dfu.c&lt;/code&gt; in SDK 13.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update application from SD 2.0.1 to SD 4.0.2</title><link>https://devzone.nordicsemi.com/thread/107568?ContentTypeID=1</link><pubDate>Wed, 15 Nov 2017 14:40:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd2d6f26-a8d6-4697-b052-6ca5b2d673d2</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Is the custom bootloader in step 4 compiled against the v4.0.2 headers?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>